I'm looking for a bitcoin wallet, that can export an extended public key. I want to put that key on a server, generate a chain of addresses and receive bitcoins, and be sure, that my bitcoins are safe on the server.

Currently I know, that only Electrum can export extended public keys. Could someone suggest other wallets, that are capable of doing this?

3 Answers 3


Consider to use a hardware wallet: https://bitcoin.org/en/choose-your-wallet. IMO all of the available hardware wallet do allow to export an xpub.

But watch out (regardless of what wallet you are going to use)!

Even if you private keys are safe when you use public child key derivation, what happens if an attacker compromises your server and replaces the xpub with a extended key controlled by the attacker?

Be careful and read about "Server Hardening". Also, if you run a VPS or dedicated root server, your server-center operator may have full access to you file-storage.


Bitcoin Wallet can export the extended public key via Settings > Diagnostics > Show xpub.

The description of that option says:

View the extended public key of your wallet, so it can be imported into other apps and services. Be careful: doing so will disclose your monetary privacy to that app.


In copay, bitpay or bitcoin.com wallet you can go to settings > scroll down to bitcoin wallets and choose the wallet in question > scroll down to "more options" > wallet information and then at the bottom the xpub will be shown as copayer0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.