How BCH wallets derive receiving, change and application keys from a seed.
Standard wallet derivation
A derivation path identifies a key in the tree generated from a wallet seed. For BIP44 wallets, the first BCH account is m/44'/145'/0'. The next number selects the branch and the last selects a key within it.
- Branch
/0derives receiving keys, starting atm/44'/145'/0'/0/0. - Branch
/1derives change keys, starting atm/44'/145'/0'/1/0.
Application branches
/2CashAccounts v2. Derives hardened scan and spend key pairs. The first pair uses/2/0'and/2/1'under the BCH account. CashAccounts v2 guide/3CashCodes. Derives scan and spend key pairs for standalone reusable payment addresses. Reusable payment addresses/7DeFi addresses. Cauldron derives its DeFi addresses here. WizardConnect recommends this branch for the nameddefipath. WizardConnect protocol
Nostr key derivation
CashAccounts v2 derives a separate Nostr seed per Identity NFT. Run HMAC-SHA512 with the wallet’s BIP39 seed as the key and ASCII("CashAccounts/Nostr") || category_id as the message, using the 32 category bytes in display order.
Use the result as the BIP32 seed for m/44'/1237'/<rotation>'/0/0. Rotation starts at 0 and advances when a key is replaced or added again. CashAccounts v2 specification · NIP-06