SkillAgentSearch skills...

Tomcoin

A toy cryptocurrency that implements the core Bitcoin algorithm, the Nakamoto Consensus. For education/entertainment purposes. Very incomplete.

Install / Use

/learn @tlrobinson/Tomcoin
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TomCoin

A toy cryptocurrency that captures the essence of Bitcoin. For education/entertainment purposes. Very incomplete.

Implemented

  • simple P2P network with block and transaction messages
  • basic validation rules
  • sync
  • reorgs
  • dynamic difficulty and block reward size
  • CPU mining
  • only pay-to-public-key transactions (P2PK)
  • simple wallet with single key

Not Implemented

  • more validation
  • persistence
  • automatic peer discovery and connection
  • wallet with more than one key
  • script (only P2PK)
  • optimizations, robustness, DoS protections

Related Skills

View on GitHub
GitHub Stars29
CategoryEducation
Updated2y ago
Forks2

Languages

JavaScript

Security Score

65/100

Audited on Nov 13, 2023

No findings