Wallets and Key Management¶
A wallet does not literally store coins. It stores or manages the keys used to authorize spending. A distinction this section returns to repeatedly, because the "your Bitcoin is stored in your wallet" mental model, while a convenient simplification, obscures how backup, recovery, custody, and theft actually work. This section covers keys, seed phrases, hierarchical derivation, and the practical spectrum from hot wallets to cold, air-gapped storage.
What you need to know first¶
Private and Public Keys and Digital Signatures from the Cryptography section, and The UTXO Model from Bitcoin. This section is entirely about managing the keys those chapters already explained the mechanics of.
Every private key, seed phrase, and derivation example in this section uses either a trivial, clearly-fake test value (like the number 42) or the official, publicly documented BIP-39 all-zero test vector, never real, unpredictable entropy. Never reuse any value shown in this section for real funds.
Chapters¶
- Addresses: Base58Check, Bech32, and Bech32m, and why an address isn't a public key
- Private Keys: precisely what a wallet does and doesn't do with one
- Public Keys: when they become visible on-chain, and why that timing matters
- Seed Phrases: entropy to mnemonic to seed, verified against the official BIP-39 test vector
- BIP-39: the standard itself, the optional passphrase, and its real, documented risk
- HD Wallets: one seed, an unlimited deterministic tree of keys
- BIP-32: chain codes, hardened derivation, and a genuine xpub-related vulnerability
- BIP-44: the standardized path structure, and its purpose-field variants
- Derivation Paths: a practical reference for reading and troubleshooting them
- Hot Wallets: connectivity as the defining, not incidental, property
- Cold Storage: air-gapping and offline signing, concretely
- Hardware Wallets: secure elements and on-device transaction verification
- Multisig: script-based and Taproot-aggregated, and what each actually solves
- Custodial vs Non-Custodial Wallets: "not your keys, not your coins," unpacked precisely
- Key Backup and Recovery: the redundancy-versus-exposure tradeoff, and Shamir's Secret Sharing
Next¶
Continue to Bitcoin Scaling, which picks up the throughput questions this section's multisig and hot wallet chapters touched on, and builds toward the Lightning Network. A system that depends directly on the key and signature mechanics this section covered.