bitcoinjs-lib workshop
- private key to address
- generate a private key
- find unspent transaction outputs associated with an address (needs blockchain API)
- understand transaction inputs & outputs
- create & sign a Pay-to-PubkeyHash(address) transaction
- transaction propagation (needs blockchain API)
npm install -g bitcoinjs-adventure
mkdir nodeschool-bitcoin
cd nodeschool-bitcoin
bitcoinjs-adventure
bitcoinjs-adventure verify address/index.js