> For the complete documentation index, see [llms.txt](https://docs.paymento.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paymento.io/accept-crypto-payments/api-key-generation/how-to-export-xpub-keys.md).

# How to Export xPub Keys

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.

<figure><img src="/files/mWJwyfS2XTatknsXHHi1" alt=""><figcaption><p><a href="https://www.exodus.com/support/en/articles/8598696-how-do-i-export-my-xpub-or-zpub">Read the full article on Exodus</a></p></figcaption></figure>

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

<figure><img src="/files/6FrCytnJWuBjm9N5sIMI" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/MhUBemBl1c5fQELw1Agx" alt=""><figcaption><p><a href="https://support.ledger.com/article/360011069619-zd">Read the Full Article on Ledger</a></p></figcaption></figure>

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

<figure><img src="/files/Moe4tkb5Y4ZhNbagmllP" alt=""><figcaption><p><a href="https://trezor.io/learn/a/what-is-a-public-key-xpub">Read the full article on Trezor</a></p></figcaption></figure>

**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.<br>

<figure><img src="/files/8qh0kF9MztHpO4rxDJ1I" alt=""><figcaption><p><a href="https://support.blockchain.com/hc/en-us/articles/9012572718108-What-is-xPub-and-how-do-I-get-it">Read the full article on Blockchain.com</a></p></figcaption></figure>

\
**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.<br>

**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.<br>

**Wasabi Wallet**

* Launch Wasabi Wallet.
* Right-click the desired wallet and select "View xPub."
* The xPub key will appear in a new window.<br>

**Prokey Wallet**

* Launch Prokey Wallet
* Select a cryptocurrency like Bitcoin&#x20;
* Navigate to Settings >> Advance Settings and click on Show XPUB.

**Coinomi**

* Launch the Coinomi app on your device.&#x20;
* 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.&#x20;
* Look for an option like "Export xPub" or "Show xPub".

### **Alternative Method for Deriving xPub**

If your wallet does not support direct xPub export:

1. Use your recovery phrase on iancoleman.io/bip39 **(offline mode recommended).**
2. Select the coin type and derivation path:
   * BIP44 for Legacy (xPub)
   * BIP49 for SegWit (yPub)
   * BIP84 for Native SegWit (zPub)
3. Copy the derived xPub key from the output.

*Ensure you only use this method with proper security protocols.*

### **Conclusion**

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.
