If you've always wanted to import a bip39 mnemonic into Bitcoin Core, I wrote a little Rust script that can do it.

You give it the 32 words and it gives you the magical incantation to import it into a descriptor wallet. Then just do a rescan to find historical transactions (which is super fast if you use -blockfilterindex).

I'm not sure if the pull request will make it, but I can always publish it as a standalone utility.

Disclaimers:

1. Very poorly tested, try with testnet

2. My Rust skills are ... non-existent

3. NEVER ENTER A HARDWARE WALLET MNEMONIC ON YOUR INTERNET CONNECTED MALWARE INFESTED COMPUTER (unless you want to)

https://github.com/bitcoin/bitcoin/pull/32115

Reply to this note

Please Login to reply.

Discussion

🔢 interesting 😉😂

Pretty cool to learn something new while applying it to something you feel comfortable with isn't it?

And you get to apply the "written in Rust" trademark to it that every Rust developer likes to put on their software for some reason. 😂