← Back to Glossary

BIP 84 (Derivation Paths for Native Segwit)

Bitcoin Improvement Proposal (BIP) 84 defines the standard derivation path for wallets which generate native SegWit (P2WPKH) addresses.

Bitcoin Improvement Proposal (BIP) 84 defines the standard derivation path for wallets which generate native SegWit (P2WPKH) addresses. BIP 84 also defines the prefixes to be used with associated extended keys. According to BIP 84, wallets which generate native SegWit addresses should use a derivation path beginning with “m/84’/”.

This means the first address generated by a mainnet Bitcoin wallet will have a derivation path of “m/84’/0’/0’/0/0”. In addition, BIP 84 states that all wallets which use native SegWit on mainnet should use “zpub” or “zprv” prefixes for extended public and private keys respectively. Extended keys following the BIP 84 standard are thus called zpubs and zprvs respectively.

If the wallet is a \[testnet\](/learn/terms/t/testnet/ wallet, “vpub” and “vprv” prefixes are used instead. This standard was implemented to ensure that Hierarchical Deterministic (HD) wallets, as defined in BIP 32, can import extended keys and find the bitcoin stored on that wallet. The HD wallet scheme defines a method for deriving a practically unlimited number of public and private keys from a single extended key.

However, if an extended key is imported to a wallet with no guidance, it may be hard for the wallet to find the keys with bitcoin, a requirement for displaying the correct balance to the user. The standards set by BIP 84, along with BIP 44 and BIP 49, fix this problem. When a wallet imports an extended key, the prefix indicates exactly which derivation path to use to find bitcoin and derive new addresses.

BIP 84 (Derivation Paths for Native Segwit) is a Bitcoin protocol specification that defines technical standards for how Bitcoin software operates. Onramp's Bitcoin glossary provides detailed educational resources on BIP 84 (Derivation Paths for Native Segwit) and other protocol-level concepts to help investors understand the technology underpinning their Bitcoin holdings.

Frequently Asked Questions

What is BIP 84 (Derivation Paths for Native Segwit)?

BIP 84 (Derivation Paths for Native Segwit) is a technical standard in the Bitcoin protocol that specifies how certain operations or data structures should be implemented. It helps ensure interoperability between different Bitcoin software implementations.

Why is BIP 84 (Derivation Paths for Native Segwit) important for Bitcoin?

BIP 84 (Derivation Paths for Native Segwit) improves Bitcoin's functionality, security, or efficiency. Technical standards like this ensure that all participants in the Bitcoin network follow consistent rules, maintaining network consensus.

How does BIP 84 (Derivation Paths for Native Segwit) affect Bitcoin investors?

While BIP 84 (Derivation Paths for Native Segwit) operates at the protocol level, Onramp ensures that clients benefit from these technical improvements through secure, up-to-date infrastructure for Bitcoin custody and transactions.

Multi-Institution Custody

Are you ready?

The best security available for your Bitcoin without the technical burden. It’s time to upgrade.

Sign up