Derivation Paths And Their Essential Role In Wallet Recovery

Mostly anyone with a cryptocurrency wallet knows it is vital to take note of the wallet seed phrase and safely store it.

Because the seed phrases are essential to recovering crypto wallets.

But while it is true that writing the wallet seed phrase is essential, it may be just not sufficient to recover your wallet:

– In a few years, your wallet app may not exist anymore. And recovering your wallet to a new app that uses doesn’t implement BIP standards, may lead to your crypto assets not being displayed or displayed showing the incorrect balance.

– If you pass away without leaving enough details or instructions, without the derivation path, your heirs may not be able to recover the wallet with just the seed phrase or miss to recover part of the crypto assets.

To be 100% sure to recover a wallet from a seed phrase, you should also write down other details, like the derivation path.

Diagram showing Bitcoin derivation path from seed phrase to master key, accounts, and wallet addresses.
Illustration of how a seed phrase generates keys and addresses through a hierarchical derivation path.

After all, if needed, you want to ensure that you and your loved ones can restore your crypto wallets from your seed phrases in a distant future. And for that, taking note of the derivation path may prove essential.

Diagram showing seed phrase inheritance planning risks, comparing expectations vs reality in crypto asset recovery.
Illustration highlighting the gap between expected and real outcomes in seed phrase inheritance.

Table of Contents

Important: This content is for educational purposes only. Always verify information and do your own research before making decisions.

What is a Derivation Path and Why is so Important

A Derivation Path is a string of numbers and letters that specifies the algorithm used by Hierarchical Deterministic (HD) wallets to generate the private keys for an account. 

It determines the sequence of keys that will be generated and the addresses associated with those keys.

And learning about derivation paths is crucial for you because without the correct derivation path, you may have difficulties restoring a wallet account:

– If a wallet app does not implement BIP standards, restoring the seed phrase created by that wallet app to a different wallet app that implements BIP standards may not derive the same keys.

– If your current wallet app does implement the BIP standards, but a new wallet app does use different standards, e.g., different purpose, restoring the seed phrase created by your current wallet app to the new wallet app will not derive the same keys.

Diagram showing that a seed phrase alone may not be enough for wallet recovery due to derivation paths.
Illustration explaining how derivation paths affect wallet recovery beyond the seed phrase.

Understanding the Hierarchy of a Derivation Path

The most common way to specify a derivation path is using the BIP-44 standard, which defines a hierarchy for deterministic wallets. 

Hierarchical Deterministic (HD) Wallets

Find out what is an HD wallet and how the key generation system works.
KNOWLEDGE

The sequence “m / purpose’ / coin_type’ / account’ / change / address_index” represents a hierarchical deterministic (HD) path used in the context of BIP32 (Bitcoin Improvement Proposal 32), which is a standard for creating hierarchical deterministic (HD) wallets.

This path is commonly used in the BIP44 (Bitcoin Improvement Proposal 44) standard, which defines a multi-account hierarchy for different cryptocurrencies within a single wallet.

Let’s use the Bitcoin derivation path as an example: m/44’/0’/0’/0/0.

Diagram explaining why derivation paths are important in crypto wallets and how they affect private keys and addresses.
Illustration showing how different derivation paths create different wallet keys and addresses.

m (Master Key) – m/44’/0’/0’/0/0.

The ‘m’ stands for the master key, which is the starting point of the HD wallet. It is a root key from which all other keys in the hierarchy are derived. This key is usually generated from a random seed or a mnemonic phrase.

purpose’ (Purpose) – m/44‘/0’/0’/0/0.

The ‘purpose’ is a constant hardened derivation index. The apostrophe (‘) indicates a hardened key, meaning it cannot be derived directly from the master key but only from a hardened parent key. The purpose field specifies the purpose of the key derivation. For example, purpose’ 44 is commonly used for BIP44, a standard for multi-account hierarchical deterministic wallets.

coin_type’ (Coin Type) – m/44’/0‘/0’/0/0.

The ‘coin_type’ is another hardened derivation index specifying the cryptocurrency type. Each cryptocurrency has a unique coin type. For example, Bitcoin is typically associated with coin_type’ 0, while Ethereum is associated with coin_type’ 60.

account’ (Account Index) – m/44’/0’/0‘/0/0.

The ‘account’ field represents the account index and is a non-hardened derivation index. It indicates which account within the specified coin type is being accessed. Users may have multiple accounts within the same coin type, allowing for better organization of funds.

change (Change)- m/44’/0’/0’/0/0.

The ‘change’ field is a non-hardened derivation index distinguishing between receiving and change addresses. A value of 0 typically indicates a receiving address, while 1 indicates a changed address. This is useful for managing transactions and improving privacy.

address_index (Address Index) – m/44’/0’/0’/0/0.

The ‘address_index’ is a non-hardened derivation index specifying the index of a specific address within the account. It is used to generate unique addresses for receiving or change purposes.

Note: Even with the correct seed phrase and derivation path, poor wallet structure can expose everything. The Three-Wallet Model™ reduces that risk.

Three-Wallet Model showing Vault, Frequent-Use, and Disposable Wallets for safer crypto self-custody and asset segmentation.
Three-Wallet Model™: Safer crypto with purpose-based wallets.

Bitcoin Improvement Proposal (BIP)

BIP standards have been mentioned several times in this post. And while knowing in detail what BIPs are is not that important, you should have a high-level knowledge.

Bitcoin Improvement Proposals (BIPs) are technical documents describing proposed Bitcoin protocol changes. They are used to communicate ideas for improving the Bitcoin network and gather community feedback.

BIPs are written by Bitcoin community members and reviewed and discussed by other members. If a BIP is deemed a good idea and has received sufficient support, it may be implemented in a future version of the Bitcoin software.

There are several types of BIPs, including:

Standard BIPs: These proposed changes to the Bitcoin protocol are intended to be adopted by all implementations of the Bitcoin software.

Informational BIPs: These provide information about Bitcoin or related technologies but do not propose specific changes to the Bitcoin protocol.

Process BIPs: These describe changes to creating and reviewing BIPs.

The BIP process is an open and transparent way for Bitcoin community members to propose and discuss improvements to the Bitcoin network. BIPs are an essential part of the development of the Bitcoin protocol and have been used to propose and implement many significant changes to the network over the years.

Practical Example of Private Key Generation Using a Seed Phrase and Derivation Path

Now that you understand how a wallet uses the seed phrase and the derivation path to create private keys, you may want to cement that knowledge by putting it into practice.

As a visual example, the learnmeabitcoin.com website has a tool that takes as input the seed phrase and the derivation path and calculates the private key.

Crypto tool interface showing derivation path input and generated wallet addresses from a seed phrase.
Example tool demonstrating how derivation paths generate different wallet addresses from a seed.

You will notice that the private key will change if a different derivation path is used.

And now imagine yourself in 10 years trying to recover a wallet from a seed phrase and trying to figure out what is the correct derivation path because your crypto assets are not displayed or displayed but with the incorrect balances.

Most probably, you will be able to manage by trial and error. But instead, you may consider taking note of the derivation paths along the seed phrases.

Derivation Path FAQ

The questions from others are windows to knowledge that we may need, but we never consider what we missed.

What is a seed phrase?

A seed phrase is a series of words used to generate a private key for a cryptocurrency wallet. This phrase typically consists of 12, 18, or 24 words and is used to derive multiple cryptocurrency addresses.

Seed phrase

Learn what is a seed phrase and why it is so important.
KNOWLEDGE

What is a private key?

A private key is a secret number that allows you to access and manage your cryptocurrency assets. It is generated using a seed phrase and can be used to derive multiple cryptocurrency addresses.

Wallet private keys

Learn why your wallet's private keys are important.
KNOWLEDGE

What is a public key?

A public key is a cryptographic key that is derived from a private key. It is used to receive cryptocurrency and is shared with others to receive payments.

Public key

What is a public key, and what is it used for?
KNOWLEDGE

What is a change address?

A change address is a type of cryptocurrency address that is used to receive change from a transaction. When a cryptocurrency transaction is made, any excess funds are sent to a change address instead of being returned to the original address.

What is a gap limit?

A gap limit is the maximum number of unused addresses that a cryptocurrency wallet will generate in a derivation path. It is used to prevent attackers from guessing or brute-forcing private keys by limiting the number of possible addresses.

Now let’s turn this knowledge into action.

Start Here: Protect Your Crypto the Right Way

Explore the core tools, real-world cases, and proven rules to reduce your risk.

Protect Your Crypto Wallets & Accounts
Set up wallets and tools that prevent most losses
START HERE
See How People Lose Crypto
The most Frequent Asked Questions
Learn the Golden Rules
Simple rules that prevent common mistakes

Master Crypto Security with Practical Guides

Actionable books designed to help you protect your assets and avoid costly mistakes.

Is there anything else that you would like to tell us:

– Is there any other topic of your interest that we should cover?

– Is there something we should be aware of?

Please fill out the form below or send us an email to feedback@cryptosafetyfirst.com