<p>Assuming the 84 parameter means that you want BIP84 addresses then:</p>
<pre><code>bip32RootKey: this would be the root EC private key
accountXprivKey: this would be the extended private key at derivation path m/84’/0’/0’
accountXpubKey: this would be the extended public key at derivation path m/84’/0’/0’
</code></pre>

CC BY-SA 4.0
2022-02-02T13:05:18.517Z
2022-02-02T13:05:18.517Z
Mike D
<p>I'm using <a href="https://www.npmjs.com/package/hdaddressgenerator" rel="nofollow noreferrer">HD Address Generator</a> to create an HD wallet:</p>
<pre><code>let mnemonic = &quot;voyage blind unit shoulder yellow attitude mule all hire above obvious swap&quot;
let bip84 = HdAddGen.withMnemonic(mnemonic, false, &quot;BTC&quot;, true, 84)
</code></pre>
<p>The object that I'm getting back contains the fields:</p>
<ul>
<li><code>bip32Seed</code></li>
<li><code>bip32RootKey</code></li>
<li><code>accountXprivKey</code></li>
<li><code>accountXpubKey</code></li>
<li><code>bip32XprivKey</code></li>
<li><code>bip32XpubKey</code></li>
</ul>
<p>I went over <a href="https://learnmeabitcoin.com/technical/hd-wallets" rel="nofollow noreferrer">HD Wallets</a> and <a href="https://learnmeabitcoin.com/technical/extended-keys" rel="nofollow noreferrer">Extended Keys</a>, as I understand:</p>
<ul>
<li><code>bip32XprivKey</code> is the extended private key</li>
<li><code>bip32XpubKey</code> is the extended public key</li>
<li><code>bip32Seed</code> is the seed that is derived from the mnemonic</li>
</ul>
<p>Does it make sense?
Also, what are <code>bip32RootKey</code>, <code>accountXprivKey</code> and <code>accountXpubKey</code>?</p>

<bip32-hd-wallets><mnemonic-seed><seed>
HD wallet parameters clarification
forhas
# HD wallet parameters clarification

(Asked by: username_0 on 2022-02-02)

I'm using [HD Address Generator](https://www.npmjs.com/package/hdaddressgenerator) to create an HD wallet:

```
let mnemonic = "voyage blind unit shoulder yellow attitude mule all hire above obvious swap"
let bip84 = HdAddGen.withMnemonic(mnemonic, false, "BTC", true, 84)

```

The object that I'm getting back contains the fields:

* `bip32Seed`
* `bip32RootKey`
* `accountXprivKey`
* `accountXpubKey`
* `bip32XprivKey`
* `bip32XpubKey`

I went over [HD Wallets](https://learnmeabitcoin.com/technical/hd-wallets) and [Extended Keys](https://learnmeabitcoin.com/technical/extended-keys), as I understand:

* `bip32XprivKey` is the extended private key
* `bip32XpubKey` is the extended public key
* `bip32Seed` is the seed that is derived from the mnemonic

Does it make sense?
Also, what are `bip32RootKey`, `accountXprivKey` and `accountXpubKey`?

**Tags:** bip32-hd-wallets, mnemonic-seed, seed


---

## 1 answers

### Answer by username_1 on 2022-02-02. Score: 0 | Accepted answer

Assuming the 84 parameter means that you want BIP84 addresses then:

```
bip32RootKey: this would be the root EC private key
accountXprivKey: this would be the extended private key at derivation path m/84’/0’/0’
accountXpubKey: this would be the extended public key at derivation path m/84’/0’/0’

```


---

