← Back to Glossary

BIP 32 (Hierarchical Deterministic Wallets)

BIP 32 defines hierarchical deterministic wallets, the 2012 standard by which a single master seed generates an entire tree of bitcoin private keys and addresses. Virtually every modern wallet is built on it: one backup, made once, covers every address the wallet will ever create.

Why it matters

Early bitcoin wallets generated random, unrelated keys, so a backup went stale as soon as new addresses were created, and users lost coins to outdated backup files. BIP 32 made the backup problem solvable by a human: protect one secret and you have protected everything, forever. Combined with BIP 39, which encodes the seed as a phrase of 12 or 24 words, it produced the defining ritual of bitcoin self-custody, writing a few words on paper or steel. The hierarchy also enables watch-only wallets, since an extended public key can derive all addresses without exposing any private key.

How it works

The master seed feeds a one-way function, HMAC-SHA512, producing a master key and a chain code. Each child key is derived from its parent deterministically, and children can have children, forming a tree navigated by derivation paths such as those standardized in BIP 44. Hardened derivation breaks the mathematical link between a parent public key and child private keys, protecting the tree if one branch leaks. The practical consequence reshapes the gold comparison: a bitcoin fortune of any size reduces to information that fits in memory or on a coin-sized steel plate, while gold's security always scales with its weight.

Ready to convert your gold to Bitcoin?

Get Your Free Kit →