Bitcoin Forum
November 10, 2024, 08:50:42 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Export account key  (Read 192 times)
coinbasis (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
August 10, 2018, 02:47:19 PM
 #1

When you export account key from Mycelium, it shows a QR code with a very long text string ( 111 characters ). Why is this private key so long? The public key doesn't match with the unspent address in the account, so what is it exporting exactly?
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3168


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 10, 2018, 08:50:47 PM
Last edit: August 12, 2018, 08:24:18 PM by BitMaxz
 #2

When you export account key from Mycelium, it shows a QR code with a very long text string ( 111 characters ). Why is this private key so long? The public key doesn't match with the unspent address in the account, so what is it exporting exactly?


It's a private extended key you can use this for recovering your wallet.

I stop using mycelium long time ago because until now they have no segwit addresses. So, I don't have much knowledge on how to export private key in mycelium.

Anyway, I found some methods that I think may help you to find the private keys and import to other wallet check this link extended key from mycelium

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
August 11, 2018, 05:47:27 AM
 #3

Why is this private key so long? The public key doesn't match with the unspent address in the account, so what is it exporting exactly?

It's not a private key. It's backup info.

Mycelium is a HD wallet, that means it automatically creates as many addresses it needs based on a seed. The seed usually have around 12 words, which is usually more than 111 characters. So the backup info is not too long.
And I repeat, to make it clear, it's not a private key, it's a backup (meaning enough info to re-create your HD wallet).

Quoted from Mycellium help pages:
Quote
The Backup gives the wallet a "starting point" (a secret) from there it is able to reproduce everything else it needs as it always does it the same way. This way you also only need to back it up once and not every time you add an address to your wallet.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3168


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 12, 2018, 08:56:13 PM
 #4

I repeat, to make it clear, it's not a private key, it's a backup (meaning enough info to re-create your HD wallet).

The 111 characters long is a extended private key (BIP32 Extended Key) check this sample below
Code:
xprv9s21ZrQH143K38naYWLuW252pDEkCAGydtdrfzvwuTfXosSQ8gEu6zqvAd3NQxRwumiKSxTCt6Qi1cNVka1EM9JEgPziAhsvspZHdgxW9YW
You need a 3rd party application to extract the seed phrase or private keys from the extended key.
You can check this tool as a reference http://bip32.org/

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
bL4nkcode
Copper Member
Legendary
*
Offline Offline

Activity: 2142
Merit: 1307


Limited in number. Limitless in potential.


View Profile
August 12, 2018, 08:59:50 PM
Last edit: August 12, 2018, 09:18:52 PM by bL4nkcode
 #5

If you got it from Accounts tab -> 3 vertical dots from upper right  -> tap Export account keys(Public key), then it should be the extended public keys of you mycelium which starts with
"xpub" which is "public" and contains 111 characters the same as mine. But it might be good if you don't share it to anyone even its pub.
It composes all the used address of your HD wallet, which you can view it here https://www.blockchain.com/btc/xpub/<your xpub>
Code:
xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz

You can see it som discussion in reddit[1]

[1] https://www.reddit.com/r/Bitcoin/comments/4nu0qr/what_is_an_xpub_address_and_how_is_it_different/


If you choose the Private one then its the one that starts "xprv" which explained above.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 13, 2018, 07:39:05 AM
 #6

Why is this private key so long?

The extended private key (xpriv) is specified in BIP 32.
It is not a private key to actively spend your funds, it is used to generate private-/public- keys for you to receive/send BTC.
The xpriv is 111 bytes long, compared to 32 bytes for a 'standard' private key.


The public key doesn't match with the unspent address in the account, so what is it exporting exactly?

Could you please elaborate what exactly you are referring to ?
If you have exported the xpub (extended public key), you can generate 'all future' public keys (and therefore also addresses) of your wallet.
If you want to have a backup, you need to export the xpriv key.

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!