MASTERING-BITCOIN · Unit 5 · Video 1

Your Bitcoin Wallet Is Empty: Interactive Practice

IKey Concepts Reference

Concept Description
Wallet A key database holding public and private keys — not coins
Blockchain The public ledger where the actual bitcoin entries live
Independent keys Each new address = new random key; backup size grows with every transaction
Deterministic seed A single ~256-bit number that regenerates all keys via a hash function
Seed phrase 12 or 24 words encoding the 256-bit seed in human-friendly form

Backup size formulas:

IIVisualization 1: Backup Size Growth

Conceptual question: How does the backup burden scale with the number of addresses you use?

Independent key generation forces you to back up after every new address. Deterministic generation requires a single backup — forever. Use the slider to see how the gap widens.

⚙ interactive visualization — coming to this page format soon

Reflect: At 1,000,000 addresses, Alice's independent-key backup is about 32 MB — impossible to write on paper. The deterministic seed stays at 32 bytes, small enough to fit on an index card. Same wallet, same coins, same security.

IIIVisualization 2: Deterministic Key Derivation

Conceptual question: How does a single seed produce an unlimited stream of unrelated-looking keys?

A deterministic wallet feeds the seed + an index into a cryptographic hash function. Change the index, and the derived key looks completely different — yet the same seed always produces the same keys. Try different seeds and watch the entire tree regenerate.

⚙ interactive visualization — coming to this page format soon

Notice: Switch seeds and all the derived keys change completely — this is the avalanche property of cryptographic hashes. But pick the same seed again and the exact same keys reappear. That reproducibility is what makes a single backup sufficient forever.

IVVisualization 3: Where Do Bitcoins Actually Get Lost?

Conceptual question: What's the biggest threat to your bitcoin — hackers or yourself?

News coverage emphasizes theft, but estimates suggest data loss accounts for the largest share of permanently unreachable bitcoin. Adjust the slider to see how many bitcoins are at stake across different failure modes.

⚙ interactive visualization — coming to this page format soon

Reflect: The biggest risk may not be an attacker — it may be a laptop in a dumpster or a seed phrase that got rained on. Deterministic wallets make backup simple; the remaining failure is human.

VQuiz: Test Your Understanding

Question 1

If someone destroys your Bitcoin wallet file but you still have your seed phrase, what happens to your bitcoins?

Correct! The wallet holds keys, not coins. The seed regenerates every key.

Not quite. Remember — bitcoins never leave the blockchain. The wallet only holds the keys that prove control over specific blockchain entries.

Show solution

Solution:

A Bitcoin wallet is a key database — it holds public keys (addresses) and private keys (spending authorizations). The actual bitcoins live as entries on the blockchain, a public ledger.

If the wallet file is destroyed but the seed phrase survives, a new wallet can be created from that seed. The cryptographic hash function re-derives every key — key_0, key_1, key_2, ... — in the exact same order. Those keys unlock the same blockchain entries, and the bitcoins are accessible again.

Key principle: The wallet proves control. The blockchain holds the coins.

Question 2

Alice uses independent key generation and has received payments at 10,000 different addresses. Roughly how large is the raw key material she needs to back up? (Each key is ~32 bytes.)

Correct! 10,000 × 32 bytes = 320,000 bytes ≈ 320 KB.

Not quite. Multiply the number of keys by 32 bytes each.

Show solution

Solution:

With independent key generation, each address requires its own random ~32-byte private key:

backup size=10,000×32 bytes=320,000 bytes320 KB\text{backup size} = 10{,}000 \times 32 \text{ bytes} = 320{,}000 \text{ bytes} \approx 320 \text{ KB}

Under deterministic generation, the entire backup would instead be 32 bytes — one seed that regenerates all 10,000 keys. That's the 10,000× difference that makes deterministic wallets practical for ordinary users.

Note that 32 MB would be the figure for Alice's million-address wallet from the video.

Question 3

True or False: A watch-only wallet contains private keys but is configured to refuse spending transactions.

Correct! A watch-only wallet contains only public keys — the private keys are absent entirely, not merely disabled.

Not quite. The security of a watch-only wallet comes from what it lacks, not from a configuration toggle.

Show solution

Solution:

A watch-only wallet holds only public keys — no private keys exist in it at all. This is what makes it structurally impossible (not just policy-restricted) to spend from.

Watch-only wallets are useful for:

  • Monitoring balances on a network-connected machine
  • Accounting and auditing
  • Pairing with an offline hardware signer that holds the private keys separately

Modern deterministic wallets explicitly split public-key derivation from private-key derivation precisely to enable this security boundary: a machine that can see need not be a machine that can spend.

Question 4

Which statement best describes the relationship between a 24-word seed phrase and a Bitcoin wallet?

Correct! The seed phrase is the wallet — it re-derives every key from scratch.

Not quite. The seed phrase isn't a password or a login — it's the mathematical input from which every key in the wallet is derived.

Show solution

Solution:

The 12- or 24-word phrase is a human-friendly encoding of the same 256-bit seed the wallet was built from. The words are drawn from a standardized vocabulary so people can write them on paper, memorize them, or stamp them into metal.

From the video:

The seed phrase is not a password. It is the wallet. Regenerate it, and every key returns.

Key implications:

  • Not a password. No server validates it. There's no "account" to log into. Bitcoin has no registration.
  • Not a backup of one key. It regenerates all keys, past and future, via the deterministic hash derivation.
  • It IS the wallet. Anyone with the phrase has full spending authority over every address the wallet ever generates. Guard it accordingly.

The practical follow-through the video emphasizes: write it down, store it safely, and test recovery on a fresh device before trusting it with real funds.

Solved: 0 / 4