Outline6 min

Derivation paths

A derivation path is the list of choices that pick one key out of the tree. The coins are on the path the wallet used, not on the phrase in the abstract.

This lesson is an outline. The notes below are accurate, and the full article is still being written.

A path is a sequence of indexes from the master key down to one child. For the Bitcoin standards in the previous lesson it has five steps: purpose, coin, account, change, and address index. Hardened steps are marked with a prime.

m/84'/0'/0'/0/0 is native SegWit, Bitcoin, first account, receive chain, first address. m/84'/0'/0'/1/0 is the first change address of that same account. m/84'/0'/1'/0/0 is the first receive address of the second account. Small edits, different keys.

Account numbers and address indexes usually start at zero. A wallet that says “Account 1” on screen is sometimes the account at index 0 and sometimes the account at index 1. The path, not the label, is the fact to write down if you have more than one account.

What the full lesson will add

  • How to read an xpub’s depth so a watch-only wallet is watching the account and not a single address.
  • Why sharing an xpub is private information even though it cannot spend.
  • The Ethereum and Solana paths again, next to Bitcoin, as a comparison rather than a conversion guide.
  • What a descriptor is, in one paragraph: a newer way to write down the script and the path together, which matters more for multisig than for a single BIP84 wallet.

If a restored wallet looks empty, write down the path the old wallet used before you generate a new phrase. Creating a new wallet does not bring the old coins across.