Disclaimer:
Examples to be used as reference. Many examples employ deterministic seeds, hashes and other entities that would otherwise be random or different in real usage. Use discretion whereever necessary.
Index
Address operations:
- Generate Address
- Generate Address from a SHA256 Hash
- Import Keypair (Private Key) using WIF
- 2-3 Multisignature P2SH (Pay-to-Script Hash)
- Generate Litecoin address
- Generate Testnet address
BIP 32 (Bitcoin Improvement Proposal 32)
- Export xpriv key as wallet interchange format
- Export xpriv key as mnemonic
- Export xpubkey of xpriv key derived using mnemonic
- Derive BIP 32 Hardened keys from path
- Derive BIP 44 hardened keys from path
- Generate BIP 32 addresses (HD wallets) using BIP 39 (Mnemonic)
Blocks
Transactions
- Create and sign P2PKH
- Create and sign a 2 - 2 Multisig P2SH transaction\
- Verify Transaction Signature