why do i see zero balance? i had some funds in it.
why don't i see the addresses that i previously used?
That's because Electrum only derived legacy addresses at
xpub/0/* and
xpub/1/* from the provided xpub from your Bitcoin Core's descriptors.
To import the correct addresses, you'll need to convert your xpub to the the other formats with the command
convertxkey().
And read the notes at the bottom.
These for example:
pkh([fd.../44'/0'/0']xpub.../0/*)...
pkh([fd.../44'/0'/0']xpub.../1/*)...
sh(wpkh([fd.../49'/0'/0']xpub.../0/*))...
sh(wpkh([fd.../49'/0'/0']xpub.../1/*))...
-snip-
wpkh([fd.../84'/0'/0']xpub.../0/*)#...
wpkh([fd.../84'/0'/0']xpub.../1/*)#...
In the order given:
- For "pkh()" descriptors, the xpub should already restore the correct receiving and change addresses by restoring the xpub to Electrum.
- For "sh(wpkh)" descriptors, you should convert the 'xpub' into 'ypub' with the command;
("View->Show Console" then open the 'Console' tab): convert_xkey(xkey="xpub.....",xtype="p2wpkh-p2sh")
Then import the ypub to a new Electrum wallet. - For "wpkh()" descriptors, convert the 'xpub' into 'zpub': convert_xkey(xkey="xpub.....",xtype="p2wpkh")
Then import the zpub to a new Electrum wallet.
tr([fd.../86'/0'/0']xpub.../0/*)...
tr([fd.../86'/0'/0']xpub.../1/*)...
Your TapRoot, "
tr()" descriptors aren't supported by Electrum at the moment so your only choice is to create an imported watch-only wallet using the bech32m addresses instead via "
Import bitcoin addresses or private keys" new wallet option.
combo(xpub.../0'/0'/*')#6h...
combo(xpub.../0'/1'/*')#23...
This one is tricky, since Electrum is designed to take 'extended public key' at the account_index (
the "xpub/0/*" above).
And the derivation path indicates that the lower hierarchy should be derived with hardened derivation, you can't import that to Electrum that doesn't support hardened addresses
Instead, you should just import the addresses associated with your funds to Electrum.
Note: That's probably your keystore before migrating to a descriptor wallet and most probably where your bitcoins are if you've just migrated.
The other descriptors are the ones created after migrating and probably empty.