ZPUB
ZPUB is the prefix for a Bitcoin extended public key that derives native SegWit addresses (bc1q...), used in HD wallets for secure key generation without private keys.
What Is a ZPUB?
A ZPUB is the prefix for a Bitcoin extended public key (xpub) that derives native SegWit addresses starting with bc1q. HD wallets use it to generate public keys securely without exposing private keys. Also known as SegWit extended public key or native SegWit xpub.
HD wallets follow BIP32 and BIP84 standards. They serialize the master public key with the zpub prefix in Bech32 format. Child keys derive from it using paths like m/84'/0'/0'/0/0. Watch-only wallets import ZPUBs to monitor balances and generate receive addresses.
For example, a ZPUB might look like: zpub6rosfduu1MsWJqR8K9eXi8wK9v9P8P9Q9R9S9T9U9V9W9X9Y9Z9A9B9C9D9E9F9G9H9I9J9K9L9M9N9O9P9Q9R9S9T. It produces addresses like bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4.
ZPUB matters for security and efficiency. It enables SegWit benefits: lower transaction fees and larger block space. Users share ZPUBs safely for backups or watch-only setups, reducing private key risks. Modern wallets prefer it over legacy xpub or nested ypub.
Key characteristics include:
- Prefix:
zpub(mainnet),vpub(testnet) - Address type: P2WPKH (native SegWit)
- Derivation scheme: BIP84
- Format: Bech32-encoded
Bitcoin (BTC) is the first decentralized cryptocurrency, launched in 2009. It uses blockchain technology for secure, peer-to-peer digital transactions without intermediaries.
Read full definitionXPUB is an extended public key (xpub) in hierarchical deterministic (HD) wallets. It derives child public keys and addresses from a master public key without exposing private keys.
Read full definitionSegWit (Segregated Witness) is a Bitcoin upgrade that moves transaction signatures to a separate data structure, increasing block capacity and enabling efficient scaling solutions like the Lightning Network.
Read full definitionA public key is a cryptographic key used to receive transactions in a blockchain. It is shared openly, while the corresponding private key remains confidential.
Read full definitionBIP32 is a Bitcoin Improvement Proposal defining a standard for hierarchical deterministic (HD) wallets, allowing the generation of a tree of keys from a single seed phrase.
Read full definitionMainnet is the primary blockchain network where actual transactions occur, as opposed to testnets. It represents the live, functioning version of a blockchain.
Read full definitionA testnet is a blockchain network used for testing and development, where developers can experiment without using real cryptocurrency. Examples include Goerli and Sepolia.
Read full definitionReal-World Examples
Example 1: Alice exports the ZPUB from her Ledger hardware wallet. She imports it into Electrum software wallet. Electrum now shows her balance and generates native SegWit receive addresses starting with bc1q. She monitors funds safely without private keys.
Example 2: A merchant shares their ZPUB with a payment processor. The processor creates unique bc1q addresses for invoices. It tracks incoming payments via the ZPUB-derived watch-only view. Fees stay low due to SegWit efficiency.
Example 3: Bob backs up his Trezor wallet. He records the seed phrase and ZPUB with BIP84 path m/84'/0'/0'. On a new device, he verifies addresses match the ZPUB. This confirms correct setup without risking funds.
Ledger is a brand of hardware wallets that securely store cryptocurrency private keys offline, such as the Ledger Nano series.
Read full definitionElectrum is a lightweight Bitcoin wallet that allows users to store, send, and receive Bitcoin securely. It is known for its speed and low resource usage.
Read full definitionA Hot Wallet is a cryptocurrency wallet connected to the internet, allowing for easy access and transactions but more vulnerable to hacks.
Read full definitionSegWit (Segregated Witness) is a Bitcoin upgrade that moves transaction signatures to a separate data structure, increasing block capacity and enabling efficient scaling solutions like the Lightning Network.
Read full definitionTrezor is a hardware wallet by SatoshiLabs. It stores private keys offline to secure cryptocurrencies.
Read full definitionReady to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.