user101418: say I have master private key from dumpwallet command:
extended private masterkey: tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX
from there, I derived child key using bx hd-private command
$ xprv=tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX
$ bx hd-private -d $xprv | bx hd-private -d

which returned tprv8eWEgAtBJiEjAn8o4G6JL1mqoccXXXXXX
I want to derive hardenned addresses within BIP141 m/0'/0'/* (ex. m/0'/0'/0')
using bitcoin-cli deriveaddresses, which I need a correct descriptor. 
$ acctKey=tprv8eWEgAtBJiEjAn8o4G6JL1mqoccXXXXXX
$ bitcoin-cli getdescriptorinfo "wpkh([fingerprint/0h]$acctKey/0h/*)"
$ descrip="wpkh(xxxxxxxxxx)" 
$ bitcoin-cli deriveaddresses "$descrip"

questions:

How do I get master fingerprint from Master Key?
What is the correct descriptor to use?


user24925: Bitcoin Core doesn’t use unhardened keys, so attempting to get a master public key will never work no matter what. 

101418: <p>say I have master private key from <code>dumpwallet</code> command:</p>

<p><code>extended private masterkey: tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX</code></p>

<p>from there, I derived child key using <code>bx hd-private</code> command</p>



<pre><code>$ xprv=tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX
$ bx hd-private -d $xprv | bx hd-private -d
</code></pre>

<p>which returned <code>tprv8eWEgAtBJiEjAn8o4G6JL1mqoccXXXXXX</code></p>

<p>I want to derive hardenned addresses within BIP141 <code>m/0'/0'/*</code> (ex. <code>m/0'/0'/0'</code>)</p>

<p>using <code>bitcoin-cli deriveaddresses</code>, which I need a correct descriptor. </p>



<pre><code>$ acctKey=tprv8eWEgAtBJiEjAn8o4G6JL1mqoccXXXXXX
$ bitcoin-cli getdescriptorinfo "wpkh([fingerprint/0h]$acctKey/0h/*)"
$ descrip="wpkh(xxxxxxxxxx)" 
$ bitcoin-cli deriveaddresses "$descrip"
</code></pre>

<p>questions:</p>

<ol>
<li><p>How do I get master fingerprint from Master Key?</p></li>
<li><p>What is the correct descriptor to use?</p></li>
</ol>
 24925: <p>Bitcoin Core doesn’t use unhardened keys, so attempting to get a master public key will never work no matter what. </p>
