<p>You cannot. Bitcoin Core does not allow you to import master keys nor can you export extended public keys. BItcoin Core does not use extended public keys since it uses hardened derivation which does not use extended public keys.</p>

CC BY-SA 4.0
2018-07-02T18:28:36.650Z
2018-07-02T18:28:36.650Z
Ava Chow
<p>I'd like to add a master public key (any of xpub/zpub/ypub <a href="https://support.samourai.io/article/49-xpub-s-ypub-s-zpub-s" rel="nofollow noreferrer">https://support.samourai.io/article/49-xpub-s-ypub-s-zpub-s</a>) for tracking purposes to Sentinel watch-only wallet <a href="https://samouraiwallet.com/sentinel.html" rel="nofollow noreferrer">https://samouraiwallet.com/sentinel.html</a> but I cannot find an option to do this in Bitcoin core (v0.16.1).</p>

<p>Can anyone suggest how this can be achieved?</p>

<bitcoin-core><public-key><xpub>
Can I export a xpub/zpub/ypub key in bitcoin core?
Patryk
# Can I export a xpub/zpub/ypub key in bitcoin core?

(Asked by: username_0 on 2018-07-02)

I'd like to add a master public key (any of xpub/zpub/ypub <https://support.samourai.io/article/49-xpub-s-ypub-s-zpub-s>) for tracking purposes to Sentinel watch-only wallet <https://samouraiwallet.com/sentinel.html> but I cannot find an option to do this in Bitcoin core (v0.16.1).

Can anyone suggest how this can be achieved?

**Tags:** bitcoin-core, public-key, xpub


---

## 1 answers

### Answer by username_1 on 2018-07-02. Score: 3

You cannot. Bitcoin Core does not allow you to import master keys nor can you export extended public keys. BItcoin Core does not use extended public keys since it uses hardened derivation which does not use extended public keys.


---

