Skip to content

weilu/bitcoinjs-adventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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