How to Set a Custom Derivation Path

This tutorial explains how to set a custom account derivation path.
Written by Keplr Agent
Updated 1 year ago

The HD wallet derivation path, or hierarchical deterministic wallet derivation path, is a way to derive multiple accounts from the same mnemonic seed. It is based on the BIP44 standard, and allows you to theoretically create unlimited addresses from the same mnemonic.

It is structured in the following way:
‘m / purpose' / coin_type' / account' / change / address_index’

The coin_type' identifies the network (i.e. 118 for Cosmos Hub, 529 for Secret Network, etc), and you can find a comprehensive list of blockchain networks’ coin types on the SLIP44 standard.

ℹī¸ Some networks/wallets may use the Cosmos Hub default coin type of 118, although they have their own coin type to allow easier use of Ledger hardware wallets. If your account address is different from the one you have previously used, please try out the different coin types to ensure that the address is derived correctly.

Creating a Custom Derivation Path

  1. When creating or adding an account, you can select [Advanced] to set a custom HD Derivation Path.

  2. The default 'account' is 0, but you can increase the numbers to 1, 2 or another number to create a new address with the same mnemonic seed. Just make sure to record your paths so that you don't forget them. 
  3. Click [Next] and you're all set.
Did this answer your question?