<p>Andrew Chow answered in the comments. It was at the root! So path <code>m</code>.</p>

CC BY-SA 4.0
2021-08-23T16:17:59.527Z
2021-08-23T16:17:59.527Z
gkrizek
<p>I created a seed phrase and public key via the following Node.js code:</p>
<pre><code>const mnemonic =  bip39.generateMnemonic()
const seed = await bip39.mnemonicToSeed(mnemonic)
const node = bip32.fromSeed(seed)
const xPubString = node.neutered().toBase58()
</code></pre>
<p>Then I used BTCPay Server to generate an address for this public key and sent funds to that address. The transaction is confirmed on the chain and shows up in BTCPay Server. However, I'm trying to load this wallet via seed phrase into either Electrum or Wasabi wallets to be able to spend the funds. I can't get the funds to show up in either application. I believe this has to be a problem with using the correct Derivation Path because I'm not sure what the above code defaults to. I can confirm that the address starts with <code>bc1</code>, so I think that tells me that the Derivation Path should be <code>m/84'/0'/0'</code>, but it doesn't work.</p>
<p>I've tried just about every combination of Derivation Path I can think of to try to get the funds but nothing seems to show up. Any recommendations?</p>

CC BY-SA 4.0
2021-08-22T05:22:43.847Z
It was a mix of reading the library code and some online tutorials. I used the BIP32 and BIP39 Node.js libraries to create this. Yes, whenever I'm importing into Electrum I select the BIP39 box.
gkrizek
CC BY-SA 4.0
2021-08-23T00:48:58.767Z
What library are you using? I would hazard a guess that this code doesn't do any derivation (I would be surprised if a library implemented automatic derivation for setting a BIP 32 seed), so this is probably the root (at path `m`).
Ava Chow
CC BY-SA 4.0
2021-08-23T16:16:48.327Z
You are a wizard ;). That was it! Thank you, For some reason I was expecting it to be derived by default and not at t he most obvious spot, the root!
gkrizek
<electrum><wallet-recovery><mnemonic-seed><wasabi-wallet><hardened-derivation>
Can't Access funds due to derivation path
gkrizek
# Can't Access funds due to derivation path

(Asked by: username_0 on 2021-08-22)

I created a seed phrase and public key via the following Node.js code:

```
const mnemonic =  bip39.generateMnemonic()
const seed = await bip39.mnemonicToSeed(mnemonic)
const node = bip32.fromSeed(seed)
const xPubString = node.neutered().toBase58()

```

Then I used BTCPay Server to generate an address for this public key and sent funds to that address. The transaction is confirmed on the chain and shows up in BTCPay Server. However, I'm trying to load this wallet via seed phrase into either Electrum or Wasabi wallets to be able to spend the funds. I can't get the funds to show up in either application. I believe this has to be a problem with using the correct Derivation Path because I'm not sure what the above code defaults to. I can confirm that the address starts with `bc1`, so I think that tells me that the Derivation Path should be `m/84'/0'/0'`, but it doesn't work.

I've tried just about every combination of Derivation Path I can think of to try to get the funds but nothing seems to show up. Any recommendations?

**Tags:** electrum, wallet-recovery, mnemonic-seed, wasabi-wallet, hardened-derivation

> **Comments:**
> **username_0**: It was a mix of reading the library code and some online tutorials. I used the BIP32 and BIP39 Node.js libraries to create this. Yes, whenever I'm importing into Electrum I select the BIP39 box.  
> **username_1**: What library are you using? I would hazard a guess that this code doesn't do any derivation (I would be surprised if a library implemented automatic derivation for setting a BIP 32 seed), so this is probably the root (at path `m`).  
> **username_0**: You are a wizard ;). That was it! Thank you, For some reason I was expecting it to be derived by default and not at t he most obvious spot, the root!  

---

## 1 answers

### Answer by username_0 on 2021-08-23. Score: 1

Andrew username_1 answered in the comments. It was at the root! So path `m`.


---

