-

@ Sjors Provoost
2025-03-21 19:09:41
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