the bitcoincore privkey like phk(hhdjxjxnsnsnxnsndndndndndnd…../0h/hh/h/0/*)#27473858
You can import it to Electrum, but not the "
master private key" from Bitcoin Core's parent descriptor.
Electrum is using
m/0/* and
m/1/* when deriving keys/addresses from a given master key.
So you should get the extended private key from this underlined path level (
your example):
pkh(hhdjxjxnsnsnxnsndndndndndnd…../0h/0h/0h/0/*For that you'll going to need to derive it manually using other tools like IanColeman's BIP39 tool.
If you want to test, use this for example;
Bitcoin Core P2PKH descriptor:
pkh(xprv9s21ZrQH143K3a7fc3i386YsviFDSXMj9s27AAcvBA8b1JUvAPcaEvSdBw7bXyqY2bQEr8fpcDL2Mhamv7J6UEAeH8od67v5miN6ztEctq7/44h/0h/0h/0/*)
First P2PKH Address:
1LUnEq76kJPARpvVPE31WKMGwMY7vWF8LfSteps:
- Open BIP39 tool, paste the xprv key to "BIP32 Root Key" text field.
- Scoll-down and select "BIP44" tab, select the correct derivation path with "Account", which is the underlined part above.
- Now, copy the xprv key in "Account Extended Private Key"
- Import that to Electrum via "Standard->Use a Master Key" and the wallet should contain the same addresses including the change address of your PKH descriptor.
Supporting Screenshots:
Important Note:
For actual usage, use the tool offline, scroll below the page and read "
Offline Usage".
For your wpkh() and sh(wpkh()) descriptors, you'll need to select the correct tab in BIP39 tool, BIP84 (
wpkh) and BIP49 (
sh-wpkh),
For tr(), Electrum's current version doesn't support it.