Global Feed Post Login
Replying to Avatar Sjors Provoost

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

Avatar
Lostdog 9mo ago

32 words? 🤔

Reply to this note

Please Login to reply.

Discussion

Avatar
Sjors Provoost 9mo ago

Grammar as well as sanity I guess.... 12 or 24

nostr:nevent1qvzqqqqqqypzpp59a0hkv5ecm45nrckvmu7pnk0sukssvly33u3wwzquy4v037hcqy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgewaehxw309ahx7um5wgh8xurjdamx7mmnwshxump0qqsge72vqrp9p3nn0e9ccqvadycj2ftva5zayks59egtn5l9vl7va3c0t0gku

Thread collapsed