Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 517 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 517 Bytes

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