Wallets & xPub Keys
How Zyrox generates unique payment addresses from your extended public key, and how to find your xPub in popular wallets.
What is an xPub?
An extended public key (xPub) is a master public key defined by the BIP-32 standard. It allows generating an unlimited number of child public keys (and therefore wallet addresses) without access to the private keys.
This is the foundation of Hierarchical Deterministic (HD) wallets, used by virtually all modern cryptocurrency wallets including MetaMask, Ledger, Trezor, Trust Wallet, and others. The standard is documented in:
- BIP-32 — Hierarchical Deterministic Wallets
- BIP-44 — Multi-Account Hierarchy for Deterministic Wallets
- BIP-39 — Mnemonic Seed Phrases (12/24 words)
These are open, widely-adopted standards used by the entire cryptocurrency industry. Your xPub is not something proprietary to Zyrox — it's a standard part of every HD wallet.
How Zyrox Uses Your xPub
When you provide your xPub, Zyrox can derive child addresses at different indices (0, 1, 2, 3, ...). Each payment invoice gets its own unique address, so you always know which payment corresponds to which invoice.
xPub → Address index 0: 0x1234...abcd
xPub → Address index 1: 0x5678...efgh
xPub → Address index 2: 0x9abc...ijkl
...and so on, infinitely
- Funds go directly to your wallet — Since the addresses are derived from your xPub, all payments land in your wallet. Zyrox never has custody of your funds.
- You can verify any address — Every address Zyrox generates from your xPub is visible in your own wallet software. You can independently verify that the addresses belong to you.
- An xPub cannot move funds — An xPub can only derive public keys and addresses. It cannot sign transactions. Only someone with the corresponding private keys (stored in your wallet) can spend the funds.
How to Configure Your xPub in Zyrox
Wallet configuration is done at the account level (not per merchant). All merchants under your account share the same wallets.
Option 1: Derive from Seed Phrase (Recommended)
The simplest way. On the HD Wallets page in your dashboard, you can derive xPub keys for all supported networks from your wallet's seed phrase:
- Go to Dashboard → HD Wallets
- Enter your 12 or 24-word seed phrase (BIP-39 mnemonic)
- The xPub keys for all supported networks are derived locally in your browser — the seed phrase is never sent to the server
- Click Save to store the xPub keys
⚠️ Important: Your seed phrase gives full access to your wallet. Never share it with anyone. Zyrox derives xPub keys entirely in your browser using JavaScript — the seed phrase never leaves your device.
Option 2: Enter xPub Directly
If you already have an xPub from your wallet software, you can enter it directly on the HD Wallets page for each network individually.
Where to Find Your xPub
MetaMask
MetaMask is an HD wallet, but it does not expose the xPub directly in the UI. You can derive it from your seed phrase:
- Open MetaMask → Settings → Security & Privacy → Reveal Secret Recovery Phrase
- Use the seed phrase on the Zyrox HD Wallets page to derive xPub keys for all networks
Verifying addresses in MetaMask: MetaMask shows Account 1 (index 0) by default. To see addresses at other indices, click your account avatar → Add account or hardware wallet → Add a new account. Each new account corresponds to the next index (Account 2 = index 1, Account 3 = index 2, etc.). These should match the addresses Zyrox generates.
Hardware Wallets (Ledger, Trezor)
Hardware wallets are the most secure option for production use:
- Ledger: Open Ledger Live → select your account → click the wrench icon → Advanced → Extended public key. Copy the xpub value.
- Trezor: Connect to Trezor Suite → select your account → click the three dots (...) → Show xPub.
For Bitcoin, the xPub format may vary (xpub, ypub, zpub) depending on the address type (Legacy, SegWit, Native SegWit). Zyrox supports all formats.
Other Wallets
- Trust Wallet — Export your seed phrase from Settings → Wallets → (i) icon → Show Recovery Phrase. Use it on the Zyrox HD Wallets page to derive xPub keys.
- Exodus — Go to the Bitcoin wallet → click the three dots → Export xPub.
- Electrum (Bitcoin) — Wallet → Information → Master Public Key. Copy the full key.
- Any BIP-39 compatible wallet — If your wallet uses a 12 or 24-word seed phrase, it's HD-compatible. You can derive the xPub from the seed phrase on the Zyrox HD Wallets page.
Frequently Asked Questions
Is it safe to share my xPub with Zyrox? An xPub can only generate addresses, not move funds. Providing it to Zyrox is required for address generation and is safe. However, anyone with your xPub can see all your addresses and balances, so treat it as private information — don't post it publicly.
Can I use the same xPub for multiple merchants? Yes. Wallets are configured at the account level and shared across all merchants. Each invoice gets a unique address index regardless of which merchant it belongs to.
What if I already have funds in my wallet? No problem. Zyrox generates addresses at higher indices that likely haven't been used before. Your existing funds at index 0 (main address) remain untouched.
Do I need different xPubs for different networks? Yes. Each blockchain network (Ethereum, Bitcoin, Tron) uses a different derivation path and key format. On the HD Wallets page you configure a separate xPub for each network.
Ready to accept payments? Once your wallets are configured, choose an integration method: Payment Links for quick setup, or API Integration for full programmatic control. For recurring billing, see Subscriptions.
© 2026 Zyrox. Simple and secure crypto payment processing.