Skip to content

Latest commit

 

History

History
 
 

blockchain.kt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

blockchain.kt - Build your own blockchain from scratch in 20 lines of Kotlin

contributed by B. K. Oxley (binkley)

Starter (Version)

to run use:

$ kotlinc-jvm -script ./blockchain.kts

Proof of Work (Version)

to run use:

$ kotlinc-jvm -script ./blockchain-with-proof-of-work.kts

Bonus

B. K. Oxley (binkley) writes:

After a series of emails with a CS prof friend of mine, I've made a more sophisticated Kotlin version of blockchain. My last challenge is to produce a true Merkle tree (forthcoming), see