Author

Topic: Extended private masterkey import for bitcoin core (Read 231 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
First of all, BIPs are not roadmaps or plans for things to include in Bitcoin Core. They do not describe how Bitcoin Core works nor does having a BIP mean that it will go into Bitcoin Core. BIPs are just documents that document ideas and technical proposals to be used generally in Bitcoin.

Bitcoin Core does already support HD wallets. All newly created Bitcoin Core wallets are HD wallets. However, currently Bitcoin Core does not allow you to import HD seeds, BIP 39 mnemonics (note that seed and mnemonics are different things), or BIP 32 master private keys. This will be coming in the future but requires a significant wallet rework and overhaul that is currently ongoing.
member
Activity: 131
Merit: 29
Is there a plan to be able to create a new wallet file based on an imported HD extended private masterkey on bitcoin core?
I couldn't see any plan mentioned on https://github.com/bitcoin/bips.

Let's say a user loses their wallet file, they don't have a copy of all their private keys, but they do have their HD masterkey.
I guess they could go to https://iancoleman.io/bip39/, paste their masterkey into the 'BIP32 Root Key' field, and sweep the keys in order of Path (m/0/0/0 etc.) until all their funds are accessible again.

Also, regarding the Path (m/0/0/0 etc.), is there more info on this somewhere? -- I found some reading to do in Mastering Bitcoin on it.https://github.com/bitcoinbook/bitcoinbook in Chapter 5 - Wallets.
Jump to: