Home › Topics › Wallets › BIP 43

BIP 43: Purpose Field for Deterministic Wallets

Also known as: purpose field, purpose level, BIP43, BIP-0043.

In plain English: Reserves the first level of an HD wallet's key tree for a "purpose" number that says which layout the rest of the tree follows. This lets different wallet standards coexist and helps software recognize how a wallet is organized.

Status
Deployed
Type
Specification
Layer
Applications
Authors
Marek Palatinus, Pavol Rusnak
Assigned
Last changed
Topics
Wallets, HD Wallets, Key Derivation
Source
bip-0043.mediawiki on GitHub · Markdown

Full specification

Abstract

This BIP introduces a "Purpose Field" for use in deterministic wallets based on algorithm described in BIP-0032 (BIP32 from now on).

Motivation

Although Hierarchical Deterministic Wallet structure as described by BIP32 is an important step in user experience and security of the cryptocoin wallets, the BIP32 specification offers implementers too many degrees of freedom. Multiple implementations may claim they are BIP32 compatible, but in fact they can produce wallets with different logical structures making them non-interoperable. This situation unfortunately renders "BIP32 compatible" statement rather useless.

Purpose

We propose the first level of BIP32 tree structure to be used as "purpose". This purpose determines the further structure beneath this node.

m / purpose' / *

Apostrophe indicates that BIP32 hardened derivation is used.

We encourage different schemes to apply for assigning a separate BIP number and use the same number for purpose field, so addresses won't be generated from overlapping BIP32 spaces.

Purpose codes from 10001 to 19999 are reserved for SLIPs.

Example: Scheme described in BIP44 should use 44' (or 0x8000002C) as purpose.

Note that m / 0' / * is already taken by BIP32 (default account), which preceded this BIP.

Not all wallets may want to support the full range of features and possibilities described in these BIPs. Instead of choosing arbitrary subset of defined features and calling themselves BIPxx compatible, we suggest that software which needs only a limited structure should describe such structure in another BIP and use different "purpose" value.

Node serialization

Because this scheme can be used to generate nodes for more cryptocurrencies at once, or even something totally unrelated to cryptocurrencies, there's no point in using a special version magic described in section "Serialization format" of BIP32. We suggest to use always 0x0488B21E for public and 0x0488ADE4 for private nodes (leading to prefixes "xpub" and "xprv" respectively).

Reference

Questions about BIP 43

What is BIP 43?

BIP 43, “Purpose Field for Deterministic Wallets”, is a specification Bitcoin Improvement Proposal written by Marek Palatinus and Pavol Rusnak and assigned in April 2014. Reserves the first level of an HD wallet's key tree for a "purpose" number that says which layout the rest of the tree follows. This lets different wallet standards coexist and helps software recognize how a wallet is organized.

Is BIP 43 active?

Yes. BIP 43 has the status Deployed, which means it is live: adopted by the Bitcoin network or by widely used software.

Who wrote BIP 43?

BIP 43 was written by Marek Palatinus and Pavol Rusnak. Its number was assigned on April 24, 2014.

Which BIPs build on BIP 43?

12 other BIPs reference BIP 43, including BIP 44 (Multi-Account Hierarchy for Deterministic Wallets), BIP 49 (Derivation scheme for P2WPKH-nested-in-P2SH based accounts), BIP 47 (Reusable Payment Codes for Hierarchical Deterministic Wallets) and BIP 84 (Derivation scheme for P2WPKH based accounts).

Where can I read the full BIP 43 specification?

The complete text of BIP 43 is on this page, taken unchanged from the official bitcoin/bips repository on GitHub. It is also available as Markdown and JSON.

BIPs that build on BIP 43

Learn more

Guides

Free tools

Glossary

Related proposals