[ad_1]
Aim: after making a descriptor pockets in Bitcoin Core for automated e-commerce order processing, setup a backup Electrum pockets for the market proprietor with the flexibility to signal.
Steps:
-
Create a brand new descriptor pockets in Bitcoin Core.
-
listdescriptors true
to extractxprv
-
?? Convert
xprv
tozprv
<== caught right here. -
Import
zprv
into Electrum.
Downside: Caught at creating zprv
from xprv
.
If I import xprv
into Electrum as is, it should generate previous addresses 1...
. As a substitute, my aim is to import a zprv
in order that it is aware of to generate bech32 addresses: bc1...
.
From what I’ve learn right here, it’s unattainable with out having the HD seed.
Nonetheless, in my case, the derivation path is similar in each Bitcoin Core and Electrum. therefore the query: can I remodel xprv
into zprv
with out shedding any data alongside, and for the only aim being to let Electrum perceive that bech32 addresses are to be generated?
Is that this attainable theoretically, and in that case, any code snippets you possibly can level to?
Alternatively, is there every other option to restore the pockets in Electrum in such a method that it generates the identical bech32 addresses?
[ad_2]