Address Derivation Display

Showing users which derivation path and address index a wallet will use, so a restore can be verified before funds arrive.

Basically

Address derivation display shows which addresses your wallet generates and the path used to create them. Verifying this path ensures funds are recoverable and belong to your wallet.

Key Takeaways

  • HD wallets use BIP 32/44/84/86 paths to derive addresses from a seed. The purpose number determines the address type, and using the wrong path can hide funds.
  • Hardware wallets display the full address and path on their own screen to prevent malware from showing a fake address.
  • Wallets that hide derivation paths make it harder to diagnose recovery issues or verify address types.

What Is Address Derivation Display?

Address derivation display shows the addresses your wallet generates and the path used to create each one. In an HD wallet, a single seed phrase produces billions of addresses through a tree defined by BIP 32.

Without clear derivation display, users cannot verify that an address belongs to their wallet, uses the expected type, or will be found during recovery.

How It Works

HD wallets follow BIP 44 path format. Each level has a role: purpose sets address type, coin_type identifies network (0 for Bitcoin mainnet), account separates funds, change distinguishes receiving (0) from internal change (1), and address_index increments per new address.

Apostrophe means hardened derivation, using parent private key directly. This stops an attacker from computing the parent key from a child public key. The first three levels are always hardened.

Purpose Numbers and Address Types

The purpose field in the path determines the address format. Each BIP defines a purpose number tied to a specific script type.

A wallet that displays the full path lets users confirm which address type is being generated. The same seed produces different addresses under each purpose number.

What a Wallet Displays

A well-designed display shows several pieces of information for each address.

Some wallets simplify this with labels like "Native SegWit Account 1." Power-user modes expose the full path.

Hardware Wallet Verification

Hardware wallets add a security layer. The host computer may be compromised, so the device displays the address on its own secure screen for user verification.

The verification flow works as follows:

Path Validation Warnings

Modern hardware wallets validate the derivation path. If the host requests an unusual path, the device warns the user.

In 2018, an attack used an obscure path (m/44'/0'/84927383'/0/0). The device derived the address without complaint, funds were sent there, and the user could not find them without the exact path.

The Gap Limit and Address Discovery

Address derivation display ties to the gap limit problem. When recovering a wallet, the wallet scans the blockchain by deriving addresses sequentially and checking each one.

The gap limit (typically 20 per BIP 44) defines how many consecutive unused addresses the wallet checks before stopping. If addresses 5 through 24 are empty, the wallet stops scanning.

Wallet Interoperability

Different wallets default to different paths, gap limits, or address types. This creates interoperability challenges when users move between software or recover from a seed.

Common problems include mismatched purpose numbers or gap limits.

Use Cases

Use cases include receiving payments and managing multiple accounts.

Receiving Large Payments

When accepting a significant payment, verifying the derivation path confirms the address belongs to your wallet and will be recoverable.

Best practice is to verify on a hardware wallet screen before sharing the address.

Wallet Migration

When moving from one wallet application to another, derivation display helps users confirm both wallets derive the same addresses from the same seed.

Users can compare the first few addresses at each path to verify compatibility before transferring their seed phrase.

Multi-Account Management

Businesses or privacy-conscious users separate funds across multiple accounts (m/84'/0'/0', m/84'/0'/1', m/84'/0'/2'). Clear derivation display helps manage which account receives which payments.

Without visible path information, tracking fund flows across accounts becomes error-prone.

Inheritance and Backup Planning

For inheritance planning, documenting derivation paths alongside the seed backup ensures heirs can recover all funds.

A seed phrase alone is not always sufficient: the heir must know which derivation standard, account indices, and gap limit settings to use.

Why It Matters

Address derivation display sits at the intersection of security and usability. For self-custodial wallet users, understanding derivation paths is essential for maintaining sovereignty over funds.

Modern architectures like Spark abstract some complexity while maintaining self-custody guarantees.

Risks and Considerations

Risks include path substitution attacks and information overload.

Path Substitution Attacks

If a host computer is compromised, malware can request addresses from unusual paths. The attacker notes the path, the user receives funds there, and the attacker later extorts the user for the path information needed to recover those funds.

Hardware wallet path warnings mitigate but do not eliminate this risk, since users may dismiss warnings without understanding them.

Information Overload

Showing full derivation paths to users unfamiliar with BIP standards can cause confusion.

A path like m/84'/0'/0'/0/7 is meaningless to someone who just wants to receive Bitcoin.

0

← All 1876 glossary terms