Search looks through the written questions first. The AI only answers when nothing matches.

How does an HD wallet derive keys?

Experienced · Updated

An HD wallet, in the BIP32 sense, starts from one seed and derives a tree of keys. A backup of the seed covers the future addresses that tree will produce, provided you know the path the wallet uses, or you have a descriptor that states it. Each account, each change chain and each index is a branch. The private key of a branch signs; the matching public key yields addresses. Losing the seed is losing the tree. The seed is not an address: it is the origin.

Hardened derivation stops an extended public key, on its own, from producing the private keys of the children. The risk that matters to you is the other direction: if an extended public key leaks together with the private key of one non-hardened child, further keys on that branch can be at risk. Wallets use hardened derivation at the account level to limit that reach. The derivation calculation is not given here. For you, the copy of the seed, and of the passphrase if there is one, is what recovers the addresses. An extended public key is for watching, not for spending, except in the failure just described.

Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.

In the glossary

Articles

In the Academy: Advanced · In the Academy · In the glossary

Related questions