Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Alicatraz on May 10, 2023, 08:13:48 PM



Title: How to Extract a Private key from Seed words ?
Post by: Alicatraz on May 10, 2023, 08:13:48 PM
Greetings ,
Sorry if this question has already been asked , I couldn't find a method to do it , I have an old wallet from 2013 , it is actually an app ( green address) the wallet is currently empty , but I wanted to get the private keys to import the wallet to BitcoinCore , and I only have the 24 seed words .
Thank you


Title: Re: How to Extract a Private key from Seed words ?
Post by: OmegaStarScream on May 10, 2023, 08:21:26 PM
You should be able to use the seed phrase in Electrum[1] (on step #4 click Options and select BIP39 and then choose 'legacy' if asked about the address type)  and then export the private keys[2].

I don't see why you would do that when the wallet is empty though. It's probably better if you just create another wallet.

[1] https://bitcoinelectrum.com/restoring-your-standard-wallet-from-seed/
[2] https://pascal-bergeron.com/en/posts/export-private-keys-electrum/


Title: Re: How to Extract a Private key from Seed words ?
Post by: mendace on May 10, 2023, 08:35:24 PM
Greetings ,
Sorry if this question has already been asked , I couldn't find a method to do it , I have an old wallet from 2013 , it is actually an app ( green address) the wallet is currently empty , but I wanted to get the private keys to import the wallet to BitcoinCore , and I only have the 24 seed words .
Thank you

Use BIP39 compatible wallet software to import your 24 seed words and get the private keys.  Bitcoin Core does not directly support the 24 seed word import functionality.  However, you can use a wallet that supports BIP39, such as Electrum or others, to import your seed words and get the private keys.  Once you have the private keys, you can then import them into Bitcoin Core.


Title: Re: How to Extract a Private key from Seed words ?
Post by: BitMaxz on May 11, 2023, 05:06:28 AM
What is the exact name of your old wallet?

If the seeds are BIP39 there is a tool that you can use to extract all private keys from your seeds check the link below.

- https://iancoleman.io/bip39/

It's simple to use just download the page first or download it on GitHub and then run it offline and then paste the 24 seed phrase into that tool then scroll down to the bottom to find all derived addresses and keys you can copy them or download it into CSV use the toggle button if you want to copy only private keys.


The only problem when importing them into Bitcoin core there is no command where you can import them in bulk you will need to import them one by one using this command importprivkey

I heard there is a script to import the private keys in bulk but I can't find them maybe someone here still have this mass or bulk import tool.

Edit: it seems that I found the script here check this https://bitcointalk.org/index.php?topic=5358855.msg57937910#msg57937910


Title: Re: How to Extract a Private key from Seed words ?
Post by: hd49728 on May 11, 2023, 06:48:53 AM
Sorry if this question has already been asked , I couldn't find a method to do it , I have an old wallet from 2013 , it is actually an app ( green address) the wallet is currently empty , but I wanted to get the private keys to import the wallet to BitcoinCore , and I only have the 24 seed words .
Did I miss that in 2013, there were wallets that support mnemonic seed?

I believe there was no wallet with mnemonic seed in 2013. Correct me if I am wrong.


If that wallet is empty, why you don't simply abandon it and create a new wallet to use?


Title: Re: How to Extract a Private key from Seed words ?
Post by: OmegaStarScream on May 11, 2023, 08:01:09 AM
Did I miss that in 2013, there were wallets that support mnemonic seed?

I believe there was no wallet with mnemonic seed in 2013. Correct me if I am wrong.

Not sure how much time it took until services start to adopt it, but BIP39 was first introduced in 2013 as you can see here[1].

It's also possible that they had their own way to generate them, like Blockchain.com back in the day but I doubt it, since there's nothing about that in their repository[2]

[1] https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
[2] https://github.com/greenaddress


Title: Re: How to Extract a Private key from Seed words ?
Post by: keychainX on May 12, 2023, 02:13:19 PM
Greetings ,
Sorry if this question has already been asked , I couldn't find a method to do it , I have an old wallet from 2013 , it is actually an app ( green address) the wallet is currently empty , but I wanted to get the private keys to import the wallet to BitcoinCore , and I only have the 24 seed words .
Thank you

How many words?

More than 12 it could be blockchain.info

If an app, download the latest version, import words, then display private keys (like electrum.org)

Good Luck!
/KX


Title: Re: How to Extract a Private key from Seed words ?
Post by: Alicatraz on May 12, 2023, 07:57:23 PM
Greetings ,
Sorry if this question has already been asked , I couldn't find a method to do it , I have an old wallet from 2013 , it is actually an app ( green address) the wallet is currently empty , but I wanted to get the private keys to import the wallet to BitcoinCore , and I only have the 24 seed words .
Thank you

How many words?

More than 12 it could be blockchain.info

If an app, download the latest version, import words, then display private keys (like electrum.org)

Good Luck!
/KX

This app is very different , I still have a screen shot of the Old app , which I believe was either migrated or purchased by another App ,
I tried importing the seed words into electrum , but it fails to show the active addresses from 2013 , the App shows the correct addresses with transaction history , however I can't get any private keys .
and yes this was from 2013 , and I used it until 2016 or 17 I believe .
https://i.postimg.cc/P52T253t/IMG-5873.png (https://postimg.cc/fVtGbDQF)

https://i.postimg.cc/26qkqNxC/IMG-5874.png (https://postimg.cc/sQrd888L)


Title: Re: How to Extract a Private key from Seed words ?
Post by: dzungmobile on May 16, 2023, 03:06:26 AM
From seed words, you can export your Master Private key or Child Private key.

Because seed words are for hierarchical deterministic or HD wallet. HD wallets BIP 32, BIP 44 (https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch05.asciidoc#hd-wallets-bip-32bip-44) diagram on  how such wallet gives you Master Private Key, Child Private key, etc. from wallet seed.

In Electrum wallet, you can export both types of private key: Master and Child.


Title: Re: How to Extract a Private key from Seed words ?
Post by: Findingnemo on May 16, 2023, 06:35:34 PM


This app is very different , I still have a screen shot of the Old app , which I believe was either migrated or purchased by another App ,
I tried importing the seed words into electrum , but it fails to show the active addresses from 2013 , the App shows the correct addresses with transaction history , however I can't get any private keys .
and yes this was from 2013 , and I used it until 2016 or 17 I believe .
https://i.postimg.cc/P52T253t/IMG-5873.png (https://postimg.cc/fVtGbDQF)

https://i.postimg.cc/26qkqNxC/IMG-5874.png (https://postimg.cc/sQrd888L)
Based on the screenshot provided I think this is the wallet you are using : https://cryptoslate.com/products/greenaddress/

And they do have 24 words seedphrase which will be supported on Electrum if I am not wrong.

Anyway if you want to extract private keys for a particular address which is also possible though just select the address you want to extract the private keys and check out the keys and use it to import on Electrum or others.


Title: Re: How to Extract a Private key from Seed words ?
Post by: nc50lc on May 17, 2023, 07:27:27 AM
I tried importing the seed words into electrum , but it fails to show the active addresses from 2013 , the App shows the correct addresses with transaction history , however I can't get any private keys .
and yes this was from 2013 , and I used it until 2016 or 17 I believe .
Based from your screenshot, it looks like Green wallet with "2FA" (Two-Factor-Authentication).

Sadly, that type of wallet isn't recoverable through other wallets and all required private keys can't be extracted.
That's because it's actually a MultiSig wallet and the other cosigner key is in their custody.
I haven't used that 2013 version so I can't tell if there's a way to get access to the cosigner's key nor how their derive the correct keys.