bitcoinjs-adventure

bitcoinjs-lib workshop

Downloads
4
Stars
19
Committers
2

bitcoinjs-adventure

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)

Usage

npm install -g bitcoinjs-adventure
mkdir nodeschool-bitcoin
cd nodeschool-bitcoin
bitcoinjs-adventure
bitcoinjs-adventure verify address/index.js