Bitcoin and similar blockchains like Bitcoin Cash, Litecoin, and Dogecoin use a feature known as hierarchical deterministic wallets that give you a new receiving address each time it is used. While this might sound cumbersome, it is done intentionally to enhance your privacy and security.
What is important to know is that all these addresses are still governed by a single key pair known as the Extended Key Pair. This key pair consists of the Extended Public Key (xpub) and the Extended Private Key (xpriv). The extended public key, or xpub in short, can be used to view the balance and transactions of all your addresses. Because of this, you must add the xpub address to Coinpanda to import all transactions if you use a hierarchical deterministic wallet (HD wallet).
Popular wallets like Ledger and Trezor will show you the xpub address, but not all wallets can do this. You can still find your xpub if the wallet doesn't show you this by using the recovery phrase, which we will explain towards the end of this article.
First, we will look at how to export your xpub address from the following wallets:
Ledger
Trezor
Exodus
Blockchain.com
Enjin
Electrum
KeepKey
Trust Wallet
Ledger
Trezor
Exodus
Click the three small dots in the top-right corner → Export XPub
Blockchain.com Wallet
Click the Settings icon → Wallets & Addresses. Then click Manage for your wallet, and then click Manage again on the next page to see the menu for Show xPub.
Enjin Wallet
More info: https://enjin.io/help/xpub-address
Electrum
Click Wallet in the top menu → Information.
KeepKey
Trust Wallet
Go to the Wallets list under Settings, tap on the icon at the right of the wallet, then tap on Export Account Public Keys.
The following wallets do not provide you with xpub keys:
BRD wallet
Jaxx wallet
Coinbase Wallet
Atomic Wallet
Coinomi
Generate xpub from recovery phrase
WARNING! You’ll need your seed phrase containing all the information necessary to generate your public and private keys. Please be EXTREMELY CAUTIOUS with this information; if it is compromised, all your funds will also be compromised.
Find your recovery phrase. This is usually the 12-word password you receive when setting up your wallet.
Enter the phrase in the BIP39 Mnemonic field
Select the Coin that you want to generate the xpub for.
Now select the BIP 44 tab under Derivation path if your wallet is BIP44 compliant (most wallets are) or BIP32 tab if it is not (ex. BRD wallet)
For BRD wallet: Enter m/0' in the BIP32 Derivation Path field
For BIP44 wallets: Copy the Account Extended Public Key. This is your xpub.
For BIP32 wallets: Copy the BIP32 Extended Public Key. This is your xpub.
Repeat the process for all other coins in your wallet. The process is the same for all coins except for changing the Coin field.
When you have the xpub address for all your coins, you must add these to your wallets on Coinpanda.
If no transactions are imported after doing these steps, it can be that your wallet uses a non-standard derivation path so that the xpub exported is incorrect. You can find a list of derivation paths for the most commonly used wallets here: walletsrecovery.org