Model 06 · Bitcoin Fundamentals
Anatomy of a Wallet
A wallet holds secrets, not coins.
Explanation level
How to use this model
How to use this modelWhat you see, what you can touch, what changes, what to take away
What am I looking at?
A precision device in exploded view with six transparent layers: key material, public-key derivation, spending conditions, address generation, UTXO tracking, signing.
What can I touch?
- Explode and reassemble
- Inspect each component
- Generate safe demonstration keys
- Explore public-key relationships
What happens when I change something?
Generate a different demonstration key and the public key, the script and the address all change with it, because each is derived from the one before.
What should I understand afterwards?
Explain that a wallet stores keys while coins live on the chain.
Understand what a wallet actually stores.
A keyring, not a purse.
After this you can
- Explain that a wallet stores keys while coins live on the chain.
Follow the path from key to address to signed transaction.
Pull the layers apart.
After this you can
- Trace how an address is derived from a public key.
Explore elliptic curves, scripts, address types and signing.
secp256k1, script templates, encodings.
After this you can
- Distinguish a public key, a script and an address.
Open the model in its own window · works offline once loaded
Tutor Ask a question, or let the tutor show you around
The tutor answers by explaining and, within the permissions below, by operating this model. Every change it makes is shown and listed, and you can undo it. It cannot run code, read your browser data or see anything secret. The page works the same without it.
What the tutor did
Common mix-ups
- Myth: Your bitcoin is stored in your wallet.
- In fact: Your wallet stores keys; the outputs are recorded on the blockchain.
- Myth: An address is a public key.
- In fact: An address encodes a script; the script may commit to a key hash, a script hash or a Taproot output key.
Concepts in this model
Helpful to know first
Next recommended
Part of these learning paths