# Hierarchical Deterministic Wallets

> bitcoin wallet standard

**Wikidata**: [Q123573638](https://www.wikidata.org/wiki/Q123573638)  
**Source**: https://4ort.xyz/entity/hierarchical-deterministic-wallets

## Summary
Hierarchical Deterministic Wallets (HD wallets) are a Bitcoin wallet standard that allows users to generate an entire tree of key pairs from a single master key. This enables the creation of multiple addresses from one seed, improving backup efficiency and privacy. The standard was developed by Pieter Wuille in 2012.

## Key Facts
- Developed by Pieter Wuille, a Bitcoin Core developer, in 2012
- Uses the secp256k1 elliptic curve, HMAC, SHA-512, and Base58 encoding
- Also known as HD wallets, BIP32, BIP-32, or BIP 0032
- Enables generation of multiple Bitcoin addresses from a single master key
- Described in BIP-0032 specification available on GitHub
- Classified as both a technical standard and a key derivation function
- Uses a key derivation function to derive multiple secret keys from a single value

## FAQs
### Q: What is a Hierarchical Deterministic Wallet?
A: A Hierarchical Deterministic Wallet is a Bitcoin wallet standard that generates a tree of key pairs from a single master key, allowing users to create multiple addresses from one seed.

### Q: Who created HD wallets and when?
A: HD wallets were created by Pieter Wuille, a Bitcoin Core developer, and published in February 2012.

### Q: What cryptographic standards do HD wallets use?
A: HD wallets use the secp256k1 elliptic curve, HMAC (Hash-based Message Authentication Code), SHA-512 hashing, and Base58 encoding.

## Why It Matters
Hierarchical Deterministic Wallets revolutionized Bitcoin wallet management by solving critical usability and security problems. Before HD wallets, users had to back up each private key individually, creating a cumbersome and error-prone process. HD wallets introduced the ability to back up a single master seed that could regenerate all derived keys, dramatically simplifying wallet backup and recovery. This standardization also improved privacy by enabling users to generate new addresses for each transaction without needing to store multiple backups. The technology became foundational for modern cryptocurrency wallets, enabling features like watch-only wallets, multi-signature setups, and deterministic address generation that are now standard across the industry.

## Notable For
- First standardized method for deterministic key generation in Bitcoin
- Enables single-seed backup for entire wallet hierarchies
- Created by Pieter Wuille, a core Bitcoin developer
- Became the foundation for most modern cryptocurrency wallet implementations
- Uses mathematical tree structure for organizing key relationships

## Body
### Technical Foundation
HD wallets implement a hierarchical key derivation system based on BIP-32 specifications. The system uses a master seed to generate a master private key, which can then derive child keys in a tree structure. Each child key can become a parent to its own children, creating unlimited generations of keys.

### Key Derivation Process
The derivation uses HMAC-SHA512 to create child keys from parent keys. The process involves combining the parent private or public key with a chain code (256-bit entropy) and an index number. This allows for both hardened and normal derivation paths, with hardened derivation requiring the parent private key.

### Address Generation
HD wallets use the secp256k1 elliptic curve for cryptographic operations. Public keys derived from the master key can generate Bitcoin addresses using Base58Check encoding. The hierarchical structure allows for organizing keys by purpose, account, or change addresses.

### Security Features
The standard includes security measures like hardened derivation paths that prevent certain types of attacks. Since only the master seed needs backup, users reduce the risk of losing funds due to incomplete backups. The deterministic nature also enables wallet recovery without accessing the original device.

### Industry Impact
HD wallets became the de facto standard for cryptocurrency wallet development. Most modern wallets, including hardware wallets and mobile applications, implement BIP-32 or its successors (BIP-44, BIP-84). The standard enabled advanced features like multi-signature wallets and watch-only addresses that are now commonplace in the cryptocurrency ecosystem.