Skip to main content

Understanding Bitcoin keys

Owning bitcoin means controlling the private keys that can spend it: the network does not know your name, only whether a transaction is signed by the right key. In a modern wallet every key comes from one source, the seed phrase, which is turned into a master key and then, along a derivation path, into as many keys and addresses as the wallet needs. That is why the 12 or 24 words restore everything, why one backup covers unlimited addresses, and why anyone who sees them can take everything.

The key hierarchy: entropy becomes a 24-word BIP39 seed phrase, which derives the master private key, which the derivation path expands into unlimited child keys and addresses; the seed at the root restores everything

What does this section cover?​

The pages build from the simplest idea to the most technical; read them in order, or go straight to the one you need.

PageWhat it explains
Private keysThe random number that controls bitcoin, and how public keys and addresses come from it
Seed phrasesHow that randomness becomes 12 or 24 words under the BIP39 standard, and why their order matters
Extended private keys (xprv)How one master key produces every key in the wallet
Extended public keys (xpub)Watch-only wallets: seeing every address and balance without being able to spend
Derivation pathsThe route from the master key to a particular address, and why it matters at recovery
PassphrasesAn optional extra secret that turns the same seed phrase into a different wallet
Seed generation with diceMaking the seed's randomness yourself, step by step
Number systemsBinary, decimal and hexadecimal, for the dice guide's arithmetic

Which principles matter most?​

  • Keys are everything. Your bitcoin is recorded on the blockchain; the private key is the only proof that you may move it. Without the key, there is no bitcoin.
  • The seed phrase is the key. It is not a backup of your key but the same secret in another form: anyone who has it controls the bitcoin.
  • One seed, many keys. A single seed phrase can produce billions of addresses, and the wallet uses a new one for each payment automatically.
  • Public is not harmless. An extended public key (xpub) cannot spend, but it reveals every address and the whole transaction history of the account.

How deep do you need to go?​

If you areYou need to know
Using a walletThat the seed phrase is the bitcoin, that it restores the wallet anywhere, and how to back it up
Doing serious self-custodyDerivation paths (they matter at recovery), xpub versus xprv, and whether a passphrase suits you
Verifying everything yourselfHow randomness affects security, how keys are derived, and how to generate and check a seed independently

Where next