30 / 691BIP32

HD Wallet

HD वॉलेट

HD wallet एक master extended key से key tree को फिर बनाता है। BIP32 बार-बार backup घटाता और watch-only branch देता है, पर mnemonic, script, account या पूरी recovery policy तय नहीं करता।

BIP32 हर key को 256-bit chain code से जोड़ता है। HMAC-SHA512 और numbered path child keys बनाते हैं; xpub normal public descendants निकालता है, जबकि hardened के लिए private material चाहिए। यही सीमा delegation और leak का असर तय करती है।

Pieter Wuille ने BIP32 लिखा, 11-02-2012 को assigned। Hierarchy account या receive branch सौंपती है। यह consensus नहीं; mnemonic, passphrase, script और discovery BIP39, path standards और descriptors की अलग layers हैं। [BIP 32 — Hierarchical deterministic wallets] [BIP 39 — Mnemonic code for deterministic keys] [Bitcoin Developer Guide — Wallets]

Extended private key secp256k1 scalar k और 32-byte chain code c है; public form K=point(k)। key ‘Bitcoin seed’ वाला HMAC-SHA512 IL master candidate और IR chain code देता है। IL=0 या IL≥n हो तो seed invalid है। [BIP 32 — Hierarchical deterministic wallets]

CKDpriv parse256(IL) को parent scalar में modulo n जोड़ता और IR को child code बनाता है। normal: serP(Kpar)||ser32(i); hardened: 0x00||ser256(kpar)||ser32(i), i≥2^31। CKDpub केवल normal public child निकालता है। [BIP 32 — Hierarchical deterministic wallets]

xpub normal public descendants बनाता है। लेकिन parent xpub और leak हुआ एक non-hardened child private key parent private key और siblings निकाल देते हैं। hardened इसी reverse calculation को रोकता है, seed theft या गलत approval को नहीं। [BIP 32 — Hierarchical deterministic wallets]

78-byte serialization में version, depth, 4-byte fingerprint, child number, chain code और key data के बाद Base58Check है। mainnet xprv/xpub प्रायः 111 characters हैं। fingerprint मजबूत authentication नहीं और SLIP132 ypub/zpub support असमान है। [BIP 32 — Hierarchical deterministic wallets] [SLIP 132 — Registered HD version bytes]

BIP43 purpose' रखता है। BIP44 m/44'/coin_type'/account'/change/index, 0/1 और gap limit 20; BIP48 multisig, BIP84 SegWit, BIP86 Taproot। ये wallet conventions हैं, seed data या node rules नहीं। ' का अर्थ +2^31 है। [BIP 43 — Purpose field for deterministic wallets] [BIP 44 — Multi-account hierarchy] [BIP 48 — Multi-script hierarchy for multisig wallets] [BIP 84 — Native SegWit derivation] [BIP 86 — Single-key Taproot derivation]

scoped xpub बिना signing watch-only देता है, पर leak पुराने/भविष्य addresses, balances और timing जोड़ता है। compromised host address बदल सकता है; महत्वपूर्ण receive address trusted signer screen पर जांचें। [BIP 32 — Hierarchical deterministic wallets] [Bitcoin Developer Guide — Wallets] [Trezor Learn — Hierarchical deterministic wallets]

xpub script नहीं बताता। descriptor origin [fingerprint/path], wpkh(), multisig threshold/cosigners, wildcard और checksum जोड़ता है। एक multisig seed अन्य xpub, order या threshold वापस नहीं देता; tested descriptor रखें। [BIP 380 — Output script descriptors] [BIP 389 — Multipath descriptor key expressions] [Bitcoin Core — Output descriptors] [Bitcoin Optech — Output script descriptors]

root seed हर key का backup बचाता है, पर recovery में passphrase, format, network, purpose/script, coin type, accounts, receive/change, gap policy और multisig descriptor चाहिए। zero balance wrong tree हो सकता है। UTXO और signing test करें। [BIP 44 — Multi-account hierarchy] [BIP 380 — Output script descriptors] [Bitcoin Core — Output descriptors] [BIP 39 — Mnemonic code for deterministic keys]

दुर्लभ IL≥n, zero scalar या infinity point अगले index पर जाते हैं। आम failures lost origin, अलग discovery, ypub/zpub, missing change, unsupported Taproot या wrong depth हैं। xprv spend authority, xpub financial metadata और descriptor policy map है। [BIP 32 — Hierarchical deterministic wallets] [BIP 380 — Output script descriptors] [SLIP 132 — Registered HD version bytes] [Bitcoin Core — Output descriptors]

पूरी तस्वीर के लिए इस प्रविष्टि के साथ यह भी पढ़ें वॉलेट, Seed Phrase, Extended Public Key (xpub), Derivation Path, Gap Limit, Bitcoin. इस प्रविष्टि का उल्लेख यहाँ भी है बिटकॉइन पता, BIP 39, Cold Storage, Watch-only Wallet.

DOC · 001BIP 32 — Hierarchical deterministic walletsविनिर्देश ↗DOC · 002BIP 43 — Purpose field for deterministic walletsविनिर्देश ↗DOC · 003BIP 44 — Multi-account hierarchyविनिर्देश ↗DOC · 004BIP 48 — Multi-script hierarchy for multisig walletsविनिर्देश ↗DOC · 005BIP 84 — Native SegWit derivationविनिर्देश ↗DOC · 006BIP 86 — Single-key Taproot derivationविनिर्देश ↗DOC · 007BIP 380 — Output script descriptorsविनिर्देश ↗DOC · 008BIP 389 — Multipath descriptor key expressionsविनिर्देश ↗DOC · 009SLIP 132 — Registered HD version bytesविनिर्देश ↗DOC · 010Bitcoin Core — Output descriptorsदस्तावेज़ ↗DOC · 011BIP 39 — Mnemonic code for deterministic keysविनिर्देश ↗DOC · 012Bitcoin Developer Guide — Walletsदस्तावेज़ ↗DOC · 013Bitcoin Optech — Output script descriptorsदस्तावेज़ ↗DOC · 014Trezor Learn — Hierarchical deterministic walletsदस्तावेज़ ↗
1 अगस्त 2026 को समीक्षा की गईस्रोत पहले · यह निवेश सलाह नहीं है