<p>I'm currently learning Bitcoin wallets using Bitcoin Core, and I need some guidance and help especially when it comes to mnemonics and hd seeds.</p>
<p>This is what I have read about mnemonics and seeds: <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" rel="nofollow noreferrer">bip-0039</a></p>
<p><strong>Creating wallet</strong></p>
<p>I can create new wallet using the <em><strong>createWallet</strong></em> command. This wallet has hd seed set automatically.</p>
<ol>
<li>As I understand there is no way to restore mnemonic for such a wallet and the only way to restore it later is to backup hd seed from the file generated by the <em><strong>dumpWallet</strong></em> command?</li>
<li>If I want to be able to use mnemonic I need to generate it myself, transform to hd seed, and then set it using the <em><strong>sethdseed</strong></em> command? Bitcoin Core does not provide any command line tools to do this, and I need to use external tools for this?</li>
</ol>
<p><strong>HD seed generation</strong></p>
<p>There are multiple tools to generate mnemonics and hd seeds: <a href="https://iancoleman.io/bip39/" rel="nofollow noreferrer">Online</a> or command line tools like <a href="https://github.com/libbitcoin/libbitcoin-explorer" rel="nofollow noreferrer">Bitcoin Explorer</a>.</p>
<p>Both these tools for mnemonic: <em>rival hurdle address inspire tenant almost turkey safe asset step lab boy</em><br />
generate seed: <em>020b67fd929e0eb9f963443138057ceec0d62601d69b4b2327c00d74f0fd1862d164c53d49227d9dadedbbec305236bc2149d9a5267aa7c5aa004235c3c66c29</em></p>
<p>The problem I have is that this generated seed is not accepted by <em><strong>sethdseed</strong></em> command. Apparently it is not hd seed.</p>
<ol start="3">
<li><p>How to transform this calculated seed to hd seed accepted by <em><strong>sethdseed</strong></em> command?</p>
</li>
<li><p>What are the best practices for generating mnemonics and hd seed completely offline?</p>
</li>
</ol>
<p>Thanks and hope this will help someone in the future.</p>

CC BY-SA 4.0
2020-08-13T16:32:16.700Z
@Raghav Sood that explains partially my 3rd question, but I still don't have any idea how to transform mnemonic to hd seed accepted by Bitcoin Core. And there are other questions. But this thread is useful. Thank you.
Jubert
CC BY-SA 4.0
2020-08-13T16:33:59.510Z
You can't. They're two incompatible seed types
Raghav Sood
CC BY-SA 4.0
2020-08-13T16:34:26.597Z
You should split up your other, unrelated questions into separate questions - this site isn't really designed for multiple independent questions in a single post
Raghav Sood
CC BY-SA 4.0
2021-05-20T04:22:31.887Z
hi @Jubert. have you figured out something for your 4th question? what are the best practices for generating mnemonics and hd seed offline?
satya-p91
<bitcoin-core><mnemonic-seed>
How to setup hd wallet using mnemonics with bitcoin-core?
Jubert
# How to setup hd wallet using mnemonics with bitcoin-core?

(Asked by: username_0 on 2020-08-13)

I'm currently learning Bitcoin wallets using Bitcoin Core, and I need some guidance and help especially when it comes to mnemonics and hd seeds.

This is what I have read about mnemonics and seeds: [bip-0039](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki)

**Creating wallet**

I can create new wallet using the ***createWallet*** command. This wallet has hd seed set automatically.

1. As I understand there is no way to restore mnemonic for such a wallet and the only way to restore it later is to backup hd seed from the file generated by the ***dumpWallet*** command?
2. If I want to be able to use mnemonic I need to generate it myself, transform to hd seed, and then set it using the ***sethdseed*** command? Bitcoin Core does not provide any command line tools to do this, and I need to use external tools for this?

**HD seed generation**

There are multiple tools to generate mnemonics and hd seeds: [Online](https://iancoleman.io/bip39/) or command line tools like [Bitcoin Explorer](https://github.com/libbitcoin/libbitcoin-explorer).

Both these tools for mnemonic: *rival hurdle address inspire tenant almost turkey safe asset step lab boy*  
generate seed: *020b67fd929e0eb9f963443138057ceec0d62601d69b4b2327c00d74f0fd1862d164c53d49227d9dadedbbec305236bc2149d9a5267aa7c5aa004235c3c66c29*

The problem I have is that this generated seed is not accepted by ***sethdseed*** command. Apparently it is not hd seed.

3. How to transform this calculated seed to hd seed accepted by ***sethdseed*** command?
4. What are the best practices for generating mnemonics and hd seed completely offline?

Thanks and hope this will help someone in the future.

**Tags:** bitcoin-core, mnemonic-seed

> **Comments:**
> **username_0**: @username_1 that explains partially my 3rd question, but I still don't have any idea how to transform mnemonic to hd seed accepted by Bitcoin Core. And there are other questions. But this thread is useful. Thank you.  
> **username_1**: You can't. They're two incompatible seed types  
> **username_1**: You should split up your other, unrelated questions into separate questions - this site isn't really designed for multiple independent questions in a single post  
> **username_2**: hi @username_0. have you figured out something for your 4th question? what are the best practices for generating mnemonics and hd seed offline?  

---

## 0 answers

