Understanding Bitcoin Keys
Everything in Bitcoin self-custody comes back to one thing: keys. Your keys are your Bitcoin. This section explains how they work, from the ground up.
The Big Pictureβ
Here's what you need to understand: Bitcoin doesn't know who you are. It doesn't care about your name, your identity, or your bank account. The only thing that matters is whether you can prove you control the keys to a specific address.
THE KEY HIERARCHY
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Random Number (Entropy)
β
βΌ
Seed Phrase βββββββββββΊ 24 words you write down
(BIP39) "abandon ability able..."
β
βΌ
Master Private Key ββββββΊ One key that rules them all
(xprv) Controls everything below
β
βΌ
Derivation Path βββββββββΊ Rules for generating child keys
(BIP32/44/84) m/84'/0'/0'/0/0
β
βΌ
Individual Keys βββββββββΊ Specific keys for specific addresses
β
βΌ
Addresses βββββββββββββΊ Where Bitcoin is sent
bc1q...
You don't need to understand every detail. But knowing the general flow helps you understand:
- Why your seed phrase is so important (it's the root of everything)
- Why you can generate unlimited addresses from one seed
- Why losing your seed means losing everything
- Why different wallets can restore the same Bitcoin
What You'll Learnβ
This section covers the key concepts in order, building from simple to complex:
1. Private Keysβ
The foundation. A private key is just a very large random number that gives you control over Bitcoin at a specific address. Understand this, and everything else makes sense.
2. Seed Phrasesβ
How that random number becomes 24 memorable words. The BIP39 standard that makes backups human-friendlyβand why word order matters.
3. Extended Private Keys (xprv)β
How one seed generates unlimited keys. The "master key" concept that lets you create as many addresses as you need from a single backup.
4. Extended Public Keys (xpub)β
The "watch-only" side of your wallet. How you can share the ability to see your Bitcoin without sharing the ability to spend it.
5. Derivation Pathsβ
The roadmap your wallet follows to generate specific keys. Why m/84'/0'/0'/0/0 mattersβand when it doesn't.
6. Passphrasesβ
An optional 25th word that creates hidden wallets. Extra security, but with serious trade-offs to understand.
7. Randomness (Technical)β
Why the quality of your random number matters enormously. The difference between "random enough" and actually random.
8. Number Systems (Technical)β
Binary, decimal, hexadecimalβthe number formats you'll encounter. Reference material for when you need it.
Key Concepts to Rememberβ
Before diving in, here are the essential principles:
Your Bitcoin exists on the blockchain. Your private key is the only proof that you're allowed to move it. No key = no Bitcoin.
Your seed phrase isn't a "backup" of your keyβit is your key in a different format. Anyone with your seed phrase controls your Bitcoin completely.
A single seed phrase can generate billions of addresses. You don't need a new seed for each transactionβyour wallet handles this automatically.
Extended public keys (xpubs) let others see your balances without being able to spend. Useful, but still sensitiveβthey reveal your entire transaction history.
How Deep Do You Need to Go?β
For most users:
- Understand that your seed phrase IS your Bitcoin
- Know that you can restore your wallet anywhere with the same seed
- Learn proper seed backup practices
For serious self-custody:
- Understand derivation paths (matters for recovery)
- Know the difference between xpub and xprv
- Consider passphrases for additional security
For maximum understanding:
- Learn how randomness affects security
- Understand the math behind key derivation
- Be able to verify seed generation independently
Ready to Begin?β
Start with the foundation:
β Private Keys Explained β What keys are and why they matter
Or if you want the practical summary:
β Seed Phrases β The 24 words that control your Bitcoin