Skip to content

K0che/snakeCoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snakeCoin

A minimal BlockChain implementation in JAVA

In an article on dev.to, Gerald Nash showed a simple blockchain implementation in less than 50 lines of Python 2 code, which he called SnakeCoin.

This is a port of the code from that article to JAVA.

Try it

The output will be similar to

Block 1 has been added to the blockchain!
Hash: kK0kab7JBVl1mWsVG1ZfHSO8bu7clXyQoQCjJSo7DU4=

Block 2 has been added to the blockchain!
Hash: Fk9qx5hRIfcDxt7iGJ6GRVIK3rnrRQFQ3bmoNib6vdo=

Block 3 has been added to the blockchain!
Hash: WgYQhY7Rk3Cc5StpZRv8+et6GgsiBNqtDd6GILlDL/Y=

Block 4 has been added to the blockchain!
Hash: NPGh1nqdI/HCweImBSO7cXOFYc30WJgwMiiZxS04qVs=

Block 5 has been added to the blockchain!
Hash: nV4pkOv2Upa5XsbYN+MOxhTH7xM8+spF6mPw83pXvxM=

Block 6 has been added to the blockchain!
Hash: DOI603jhABT0dW/Hs48WrRcIQPl7m9lXyaCGfzN0xbU=

Block 7 has been added to the blockchain!
Hash: JsSKMwmM1rUShuTUTN72X8W+h1EjEH5PC9nxdAT5WOs=

Block 8 has been added to the blockchain!
Hash: SiFw/CE7lrnO1lKmpYyLgdFiuWpGtnkVsWzpSl1s9Do=

Block 9 has been added to the blockchain!
Hash: 8zy9sESBrDHHjO+Jj8fRdQ7aBOQglFzHjoIyQhrXobs=

Block 10 has been added to the blockchain!
Hash: zTRPwo8dKo8FXtTaMcHKB35iWTmyHEMxufCFCxGpm68=

Block 11 has been added to the blockchain!
Hash: dWfbhLyGyFyMsLTqNJAzAqCgCaO+YorjPLYvaa0ml08=

Block 12 has been added to the blockchain!
Hash: CTpAAMLWXEQBS/urQrDXTndxun23YZHURtbSBqkrMtY=

Block 13 has been added to the blockchain!
Hash: uqxX2caNi6IWapEL4xXqqzSELtbJhhPxdhLLBFeX7WA=

Block 14 has been added to the blockchain!
Hash: 8CG2TdmD7K3Nr4TjYEFQfUBBgLJ+hh+qBF33PoHb5gM=

Block 15 has been added to the blockchain!
Hash: xbkXwiuPkBrN+PVIxVy1MJ1h1oDtPy3SlEQD2ntGV3o=

Block 16 has been added to the blockchain!
Hash: vSJKfXtnjDKaP4qfjmC+abwcfJ0pnBHTN5LRBCPMpkA=

Block 17 has been added to the blockchain!
Hash: RrECt37ltH7We3G7HKpmNsBfsgARrkYXEDjzpjLAV9E=

Block 18 has been added to the blockchain!
Hash: JFsKgupPGXeSfsHf0kqC8cCRtn8HjVKwBQPow+7igrQ=

Block 19 has been added to the blockchain!
Hash: AYAfjMGvm1j1/MHw2SxFWf8ac4uCxp512ZGeN4ZqaPU=

Block 20 has been added to the blockchain!
Hash: lTzQYHjOOvbgjtsPd84XvC5wkqaRwVDmGS4KfuNNxr0=

About

A minimal BlockChain implementation in JAVA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages