How to Export xPub Keys
How to Export xPub Keys from Popular Wallets for Non-Custodial Payment Integration
Last updated
How to Export xPub Keys from Popular Wallets for Non-Custodial Payment Integration
Last updated
An Extended Public Key (xPub) is a crucial component of hierarchical deterministic (HD) wallets, allowing users to generate multiple receiving addresses without exposing private keys. This capability is especially valuable for merchants using non-custodial crypto payment gateways like Paymento, where privacy and control over funds are paramount.
Note:
For UTXO-based blockchains like Bitcoin, Dogecoin, Litecoin, and others, you must provide your xPub to integrate with Paymento.
For account-based blockchains such as Ethereum, Tron, and other EVM-compatible networks, you only need to provide your wallet address.
Below are step-by-step guides to help you export your xPub key from various popular wallets.
Exodus Wallet
Open Exodus on your desktop.
Navigate to the wallet for the cryptocurrency (e.g., Bitcoin).
Click the three-dot menu in the top-right corner.
Select "Export xPub."
Locate your xPub key in the exported file stored in the exodus-exports
folder on your desktop.
Electrum Wallet
Open the Electrum wallet.
Go to the wallet section for the desired cryptocurrency.
Click on "Wallet" in the top menu, then select "Information."
Copy the xPub displayed in the wallet details window.
Ledger Live
Open Ledger Live and navigate to the desired account.
Click the wrench icon (Edit Account).
Go to the "Advanced log" tab.
Locate and copy your xPub key.
Trezor Suite
Open Trezor Suite and connect your Trezor device.
Navigate to the account.
Click the account name to access details.
Locate and copy the xPub key displayed in the details section.
Blockchain.com Wallet
Log in to your Blockchain.com wallet.
Navigate to Settings > Wallets & Addresses.
Select the wallet and click "Manage."
Click "Show xPub" to view your extended public key.
MetaMask MetaMask does not support xPub key export because it focuses on Ethereum and other EVM-compatible networks. For these networks, you only need your account address to integrate with Paymento.
Mycelium
Open Mycelium.
Select the account you want to retrieve the xPub for.
Tap the three-dot menu and choose "Account Details."
Locate and copy your xPub key.
Green Wallet (Blockstream)
Open Green Wallet.
Access the wallet settings for the relevant account.
Click "Export xPub" to display and copy the key.
Wasabi Wallet
Launch Wasabi Wallet.
Right-click the desired wallet and select "View xPub."
The xPub key will appear in a new window.
Prokey Wallet
Launch Prokey Wallet
Select a cryptocurrency like Bitcoin
Navigate to Settings >> Advance Settings and click on Show XPUB.
Coinomi
Launch the Coinomi app on your device.
Navigate to the cryptocurrency account (e.g., Bitcoin) for which you need the xPub.
Tap on the three-dot menu or settings option for the selected cryptocurrency.
Look for an option like "Export xPub" or "Show xPub".
If your wallet does not support direct xPub export:
Use your recovery phrase on iancoleman.io/bip39 (offline mode recommended).
Select the coin type and derivation path:
BIP44 for Legacy (xPub)
BIP49 for SegWit (yPub)
BIP84 for Native SegWit (zPub)
Copy the derived xPub key from the output.
Ensure you only use this method with proper security protocols.
Exporting your xPub is essential for UTXO-based blockchain payment integrations. Meanwhile, for account-based blockchains, providing your wallet address suffices. Understanding your wallet's specific process for accessing xPub keys ensures seamless and secure integration for accepting crypto payments.