Bitcoin Forum
May 12, 2024, 09:36:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Private keys and addresses  (Read 98 times)
zigkill (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 1


View Profile
February 27, 2021, 09:47:34 PM
Last edit: February 27, 2021, 10:01:26 PM by zigkill
Merited by DdmrDdmr (1)
 #1

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
1715549771
Hero Member
*
Offline Offline

Posts: 1715549771

View Profile Personal Message (Offline)

Ignore
1715549771
Reply with quote  #2

1715549771
Report to moderator
1715549771
Hero Member
*
Offline Offline

Posts: 1715549771

View Profile Personal Message (Offline)

Ignore
1715549771
Reply with quote  #2

1715549771
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715549771
Hero Member
*
Offline Offline

Posts: 1715549771

View Profile Personal Message (Offline)

Ignore
1715549771
Reply with quote  #2

1715549771
Report to moderator
1715549771
Hero Member
*
Offline Offline

Posts: 1715549771

View Profile Personal Message (Offline)

Ignore
1715549771
Reply with quote  #2

1715549771
Report to moderator
JeromeTash
Legendary
*
Offline Offline

Activity: 2142
Merit: 1212


Heisenberg


View Profile
February 27, 2021, 09:59:06 PM
Last edit: February 27, 2021, 10:13:05 PM by JeromeTash
 #2

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)

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET 2.0..██████.IIIIIFASTER & SLEEKER.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
|.
    PLAY NOW    
hosseinimr93
Legendary
*
Offline Offline

Activity: 2394
Merit: 5237



View Profile
February 27, 2021, 10:16:36 PM
Merited by o_e_l_e_o (2)
 #3

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.




Below is the result.


.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!