Blockchain & Cryptocurrency Glossary

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • search-icon Clear Definitions
  • search-icon Practical
  • search-icon Technical
  • search-icon Related Terms

Hierarchical Deterministic Wallet

Pronunciation
[hahy-uh-rahr-ki-kuhl di-tur-muh-nis-tik wol-it]
Analogy
Think of a Hierarchical Deterministic Wallet as a master key cutting machine that starts with one original master key (the seed). This machine can create a whole organized system of sub-master keys, and then individual keys for many different doors (cryptocurrency addresses), all derived from that single original. If you have the original master key, you can recreate any key in the system. This makes managing many keys much simpler and more secure.
Definition
A type of cryptocurrency wallet that can generate a tree-like structure of key pairs (private and public keys) from a single master seed. This allows users to manage multiple accounts and addresses without needing to back up each private key individually; only the initial seed (usually represented as a seed phrase) needs to be secured. Commonly abbreviated as HD Wallet.
Key Points Intro
HD wallets simplify key management and enhance privacy by deriving multiple addresses from a single seed phrase.
Key Points

Single Seed Backup: Only the initial seed phrase needs to be backed up to recover all derived keys and addresses.

Address Generation: Can generate a virtually unlimited number of new addresses for different transactions, enhancing user privacy.

Organizational Structure: Keys are organized in a tree-like hierarchy (e.g., per BIP-44, defining paths for different coins and accounts).

Enhanced Security: Reduces the risk associated with managing multiple individual private keys.

Example
A user sets up an HD wallet. From their single seed phrase, the wallet can generate separate accounts for Bitcoin, Ethereum, and other cryptocurrencies. For each Bitcoin transaction, the wallet can generate a new receiving address, making it harder to link all transactions to a single user, yet all these addresses are recoverable from the one seed phrase.
Technical Deep Dive
HD wallets are primarily defined by the BIP-32 standard. They start with a root seed (derived from a mnemonic via BIP-39). This seed is used to generate a master private key and a master chain code. Using a one-way hash function (HMAC-SHA512), child keys can be derived from parent keys, either normal (public parent key -> public child key, private parent key -> private child key) or hardened (private parent key -> private child key only). Hardened derivation prevents compromise of a parent public key from exposing child private keys. The derivation path, a sequence of indices, determines which specific key is generated (e.g., m/44'/0'/0'/0/0 as per BIP-44 for the first Bitcoin address of the first account).
Security Warning
While HD wallets simplify backup, the security of the entire hierarchy of keys depends on the secrecy of the initial seed phrase. If the seed phrase is compromised, all derived keys and funds are at risk. Be cautious about importing seeds into untrusted software.
Caveat
The complexity of derivation paths can be confusing for users if not abstracted well by the wallet software. While the master seed recovers all keys, if a specific derivation path used by a non-standard wallet is forgotten or not supported by other wallets, recovering specific funds might be difficult even with the seed.

Hierarchical Deterministic Wallet - Related Articles

No related articles for this term.