How to get xpub or mpk(bip32) for my bitcoin core wallet?

1

I m not getting any such option in bitcoin-core Ui and documentation http://bitcoindaily.org/bitcoin-guides/bitcoin-core-tutorial/

Priyanka Agrawal

Posted 2016-12-17T06:24:06.693

Reputation: 11

Answers

6

Bitcoin Core (since 0.13) uses HD after BIP32 with only hardened private key derivation. Exporting the xpub would be useless, because other apps could not derive public keys (hardened derivation requires the xpriv).

Though, you can export the xpriv with dumpwallet <filename> (RPC or Debug Console). But be careful with that.

Jonas Schnelli

Posted 2016-12-17T06:24:06.693

Reputation: 5 465