Simple code snippets to help you understand how Bitcoin works.
Simple code snippets to help you understand how Bitcoin works.
Small, educational snippets of code to help you to understand and work with Bitcoin.
miningsimulator.rb - Hashes a block header until it gets a hash below the target.
transactionbuilder.rb - Build a transaction from scratch, showing the transaction data as you go.
keygenerator.rb - Create a set of keys (Private Key, Public Key, Address) for sending and receiving bitcoin.
scriptdecoder.rb - Decode and run Script.
No open issues yet, or sync has not completed.