How to Get the Xpub (Extended Public Key) in Tangem Wallet

Private keys, public keys, extended public keys, Tangem Wallet

What is an Xpub key?

An XPUB (Extended Public Key) is a type of key derived from a master public key (MPK). It allows for the generation of multiple public keys, which are used to receive cryptocurrencies, without compromising the security of the master key.

It's a way to generate a sequence of public keys from a single master key, making it easier to manage and track transactions and balances across different addresses within the same wallet.

Let's assume a tree is your cryptocurrency wallet. Each main branch represents a different account in your wallet. The smaller twigs growing from each branch are like individual addresses where you receive money. The fruit that appears on the twigs are your tokens. 

The Tree's DNA is your private key. Suppose you want to prove to someone else that you have held certain beliefs for some time. Screenshots are not accepted as proof because they could be edited. You can't send your private key either because that's just ridiculous.

This is where the XPUB key comes in. It's a blueprint of your tree that shows where all the branches and twigs are, but it doesn't allow anyone to pick the fruit.

The XPUB key is like sharing a copy of your tree's blueprint with someone:

  • They can see all the accounts and addresses

  • They can watch new addresses being created.

  • They can see incoming transactions

  • They can't spend your money.

Why XPUB keys are useful

It allows others to monitor your wallet without allowing them to spend your funds. xPub keys also enable the creation of new receiving addresses without needing access to your private key.
Businesses can use it to track incoming payments without exposing their main wallet to risk. 

How to find your XPUB key in Tangem Wallet

Here's how to get your XPUB key in Tangem Wallet

  1. Open the Tangem Wallet app and tap on the token you need for the xpub key.
     

    How to receive cryptocurrency with Tangem Wallet_5.PNG
  2. On the Token page, tap the three dots in the upper-right corner and Generate XPUB.

    How to Get the Xpub (Extended Public Key) in Tangem Wallet 2.jpg
  3. You might have to enter your access code/biometric ID and scan your Tangem Wallet.
     

    How to Get the Xpub (Extended Public Key) in Tangem Wallet 1.jpg
  4. An Xpub key will be generated as a series of alphanumeric characters. You can save it on your smartphone as a .txt file or share it via message/email.
     

FAQ

What is the purpose of an XPUB key?
The primary purpose of an XPUB key is to enhance privacy and security in cryptocurrency wallets. It allows users to generate public addresses to receive payments without exposing the master private key, enabling safer transactions.


Can an XPUB key generate private keys?
No. An XPUB key can only generate public keys and their associated addresses. It cannot generate private keys.

Is it safe to share my XPUB key?
Yes, it is safe to share your XPUB key with others. Since it can only generate public keys and addresses, sharing it does not compromise the security of your wallet. However, avoid sharing your recovery seed or seed phrase, as that would allow access to your funds.


Can I use my XPUB key to track transactions?
Yes, one advantage of an XPUB key is that it allows you to monitor transactions associated with all addresses generated from it. This makes it easier to track incoming payments and maintain an overview of your wallet's activity.


How can I revoke or change my XPUB key?

Since an XPUB key is derived from the master public key of your wallet, it cannot be changed or revoked independently. You must create a new wallet to change your XPUB key.


Can I use my XPUB key to generate addresses for different cryptocurrencies?
In most cases, XPUB keys are specific to a particular cryptocurrency. To generate addresses for different cryptocurrencies, you would typically need to use the corresponding wallet software and export the XPUB key for each cryptocurrency separately.