Trying to recover BCH sent to BTC segwit. Being asked for Xpub for a specific address. I exported the Xpub per instructions, but the response is that the xpub is wrong.
I suspect i am exporting the Xpub for the wrong address since they change.
Is there a way to find the Xpub for a specific address on Ledger nano?
Specific addresses don't have an "xpub"... the "xpub" is the master public key, from which all the addresses are derived.
It seems there might be a "bug" within the Ledger Wallet Bitcoin (Chrome App) that gives you an "xpub" for your SegWit wallet... which possibly should be a "ypub" for BIP49?
I'm not 100% sure on this point and haven't been able to find a solid answer if it should be "xpub" or "ypub"
. The best reference I have found which explains the difference in simple terms is:
https://support.samourai.io/article/49-xpub-s-ypub-s-zpub-sBasically:
- xpub = Legacy wallet (legacy Bitcoin addresses)
- ypub = SegWit wallet (P2SH-P2WPKH addresses)
- zpub = SegWit wallet (P2WPKH addresses)
And from the Electrum release notes:
From what wallet did you send BCH to a segwit address? it is a nested or bech32 address? I find it weird that a BCH wallet would allow you to send coins to a segwit format address, unless I misunderstood your post.
It isn't weird... Ledger Nano (S and Blue) wallets generate P2SH-P2WPKH SegWit addresses... they start with "3" and are "backwards compatible" by design... as such, they look identical to any other P2SH "3" address and are therefore valid on both BTC and BCH networks.