Skip to main content

Search...

Popular searches

XPUB

XPUB 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.

Blockchain
Updated: Mar 19, 2026
Also known as: extended public key master public key

What Is a XPUB?

A XPUB is an extended public key, also called an xpub or master public key, in hierarchical deterministic (HD) wallets. Developers created it under Bitcoin Improvement Proposal 32 (BIP32). It allows users to derive multiple child public keys and addresses from a single master public key. This process keeps private keys hidden.

HD wallets generate an XPUB from a master private key using elliptic curve cryptography. The XPUB encodes the public key plus a chain code. This pair enables derivation of child keys via a derivation path, like m/44'/0'/0'/0/0. Users follow standards such as BIP44 for paths: purpose (44'), coin type (0' for Bitcoin), account, change, and address index. Software wallets read the XPUB to compute addresses without private keys.

XPUB matters for security and usability. Users share it safely for watch-only wallets or address generation services. Viewers monitor balances and create receive addresses without spending funds. This setup reduces risks from private key exposure. Auditors or family members use XPUBs for oversight.

Key characteristics include Base58 encoding starting with 'xpub'. It supports multiple derivation levels but cannot reverse to private keys. Variants exist for testnets (tpub) and other coins. Always verify XPUB sources to avoid phishing.

BlockchainPublic Key

A 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 definition
BlockchainBIP32

BIP32 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 definition
BlockchainBitcoin

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 definition
BlockchainElliptic Curve

An elliptic curve is a mathematical curve used in elliptic curve cryptography (ECC) for generating secure public-private key pairs in blockchains, like secp256k1 in Bitcoin.

Read full definition
BlockchainDerivation Path

A derivation path is a string of indices (e.g., m/44'/0'/0'/0) that specifies how to derive specific keys and addresses from a hierarchical deterministic (HD) wallet's master seed.

Read full definition
BlockchainBIP44

BIP44 is a standard for deriving cryptocurrency wallet keys using a hierarchical structure, allowing for multiple accounts and addresses within a single wallet.

Read full definition
BlockchainUTXO

UTXO (Unspent Transaction Output) is a unit of cryptocurrency from a previous transaction that remains unspent and serves as input for new transactions in blockchains like Bitcoin.

Read full definition

Real-World Examples

Example 1: Alice uses a hardware wallet like Ledger. She exports the XPUB and imports it into Electrum software. This creates a watch-only wallet. She monitors balances and generates receive addresses without exposing private keys.

Example 2: A business owner shares the wallet's XPUB with an accountant. The accountant uses tools like Blockstream Explorer to verify transactions and balances. No spending access exists, enhancing security.

  • Accountant enters XPUB: xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwYB8dZ2Y
  • Derives addresses via path m/44'/0'/0'/0/0

Example 3: Bob sets up a receive address service. He provides the XPUB to the service. It generates new Bitcoin addresses on demand. Bob receives funds safely without manual address creation each time.

HardwareLedger

Ledger is a brand of hardware wallets that securely store cryptocurrency private keys offline, such as the Ledger Nano series.

Read full definition
WalletElectrum

Electrum 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 definition
WalletWatch-Only Wallet

A watch-only wallet displays cryptocurrency balances and transactions without private keys, allowing secure monitoring without spending capability.

Read full definition
BlockchainBitcoin

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 definition

Ready to Choose a Secure Wallet?

Use our tools to find the right hardware wallet for your needs.