Bitcoin Forum

Other => Beginners & Help => Topic started by: zigkill on February 27, 2021, 09:47:34 PM



Title: Private keys and addresses
Post by: zigkill on February 27, 2021, 09:47:34 PM
I have a Mycelium wallet with a Bitcoin SA (Single Account). There are three addresses, and on the Legacy (P2PKH) and the SegWit native (Bech32) addresses there is unspent outputs.
I have imported the private key of this SA to different wallet (Electrum), but it only shows the unspent output on the Legacy address.

I don't understand why the SegWit native address unspent output is not available to me in the Electrum wallet.
Are the two different addresses not derived from the same key pair?
Can I somehow inform Electrum of the SegWit native address?

Edit: So... right after posting this, I found an explanation here: https://bitcointalk.org/index.php?topic=5096376.msg49195127#msg49195127 (https://bitcointalk.org/index.php?topic=5096376.msg49195127#msg49195127)


Title: Re: Private keys and addresses
Post by: JeromeTash on February 27, 2021, 09:59:06 PM
It's because you imported only the Legacy (P2PKH) format addresses. Unlike Mycelium, electrum supports creation/importation of only one address script type at a time.
If you import your wallet using the SegWit native (Bech32)  option you will be able to see your unspent outputs in the segwit addresses ( I assume you have the seed phrase to your mycelium HD wallet)


Title: Re: Private keys and addresses
Post by: hosseinimr93 on February 27, 2021, 10:16:36 PM
It's because you imported only the Legacy (P2PKH) format addresses. Unlike Mycelium, electrum supports creation/importation of only one address script type at a time.
In electrum, it's possible to have a single wallet with all three types of addresses (Legacy, nested segwit and native segwit addresses)
Look at the image below.

https://i.imgur.com/ARDtTYD.jpg


Below is the result.

https://i.imgur.com/0umzKLy.jpg