Skip to content
Developer Handbook

Cash Improvement Proposals

Derivation Types

On this page

CHIP-2026-paths · Adopted · Proposal · Applications

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 /0 derives receiving keys, starting at m/44'/145'/0'/0/0.
  • Branch /1 derives change keys, starting at m/44'/145'/0'/1/0.

Wallet seeds and HD key trees

Application branches

  • /2 CashAccounts v2. Derives hardened scan and spend key pairs. The first pair uses /2/0' and /2/1' under the BCH account. CashAccounts v2 guide
  • /3 CashCodes. Derives scan and spend key pairs for standalone reusable payment addresses. Reusable payment addresses
  • /7 DeFi addresses. Cauldron derives its DeFi addresses here. WizardConnect recommends this branch for the named defi path. 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