Bitcoin Forum

Other => Beginners & Help => Topic started by: Abhijeet Tripathi on March 29, 2020, 11:04:40 AM



Title: How to get public and private key ?
Post by: Abhijeet Tripathi on March 29, 2020, 11:04:40 AM
Hi,
    In my wallet I can see a long alphanumeric address/number stating wallet address to publicly receive bitcoins. I have also heard about private keys from where the public keys are derived . From where I can get my private keys ? Please guide.


Title: Re: How to get public and private key ?
Post by: ChuckBuck on March 29, 2020, 11:16:30 AM
Hi,
    In my wallet I can see a long alphanumeric address/number stating wallet address to publicly receive bitcoins. I have also heard about private keys from where the public keys are derived . From where I can get my private keys ? Please guide.
Hi, due you did not indicate which wallet you are using, I cannot give you specific instructions. But you can also see here: How to extract private keys from other wallets (https://coinomi.freshdesk.com/support/solutions/articles/29000013719-how-to-extract-private-keys-from-other-wallets), this article is a guide for many types of wallets, you can go there, if the type of wallet you are using there, follow it.
In case you use Coinbase, you cannot get the private key, because it is not a wallet  ;)


Title: Re: How to get public and private key ?
Post by: RapTarX on March 29, 2020, 01:50:10 PM
Can you share which wallet you are using? It would be easier for us.
If it's electrum, click right button of mouse on the address you want to get private key, you will see option to get private key. If it's bitcoin core, you have copy the address and on console, write; dumpprivkey [space] your address. That's general process.


Title: Re: How to get public and private key ?
Post by: Abhijeet Tripathi on March 29, 2020, 02:08:27 PM
Hi,
    In my wallet I can see a long alphanumeric address/number stating wallet address to publicly receive bitcoins. I have also heard about private keys from where the public keys are derived . From where I can get my private keys ? Please guide.
Hi, due you did not indicate which wallet you are using, I cannot give you specific instructions. But you can also see here: How to extract private keys from other wallets (https://coinomi.freshdesk.com/support/solutions/articles/29000013719-how-to-extract-private-keys-from-other-wallets), this article is a guide for many types of wallets, you can go there, if the type of wallet you are using there, follow it.
In case you use Coinbase, you cannot get the private key, because it is not a wallet  ;)
Thanks for guiding.
BTW I am using Blockchain wallet.


Title: Re: How to get public and private key ?
Post by: Csmiami on March 29, 2020, 02:12:56 PM
Thanks for guiding.
BTW I am using Blockchain wallet.


Someone right me if I'm wrong, but Blockchain doesn't let you export the private keys. Nevertheless, since you need to write the seed down (12 word phrase), you should be able to use that seed on another wallet that allows private key exporting (Electrum), and from there, you can get the private key

Again, someone right me if I'm wrong  please


Title: Re: How to get public and private key ?
Post by: RapTarX on March 29, 2020, 02:17:05 PM
Thanks for guiding.
BTW I am using Blockchain wallet.


Someone right me if I'm wrong, but Blockchain doesn't let you export the private keys. Nevertheless, since you need to write the seed down (12 word phrase), you should be able to use that seed on another wallet that allows private key exporting (Electrum), and from there, you can get the private key

Again, someone right me if I'm wrong  please
You are correct, blockchain wallet gives seed key or phrase key. OP have to write down the key as it is maintaining the order and later import in electrum wallet. Then follow my above suggestion to get private key of certain address. However, I recommend OP not to using blockchain wallet since it's an web wallet.


Title: Re: How to get public and private key ?
Post by: ChuckBuck on March 29, 2020, 02:18:37 PM
BTW I am using Blockchain wallet.
Again, someone right me if I'm wrong  please
I am not sure if he is talking about Blockchain.com or Blockchain.info  :D
Blockchain.com seems like Coinbase, it's not really a wallet, users can't own private keys
If Blockchain.info, it's easy to follow:
Quote
1) Save and run the standalone tool attached to this article.

2) Enter your seed (12 words or more) at the "BIP39 Mnemonic" box.

3) Select the original coin (the parent of the fork) from the dropdown list of coins.

4) Scroll down to the list of addresses. Each address has an accompanying public and private keys.

5) You can get the private key directly by text, or by going with the cursor the key, the page will show the qrcode.
This content is excerpted from the article in my link above

EDIT:
You are correct, blockchain wallet gives seed key or phrase key. OP have to write down the key as it is maintaining the order and later import in electrum wallet. Then follow my above suggestion to get private key of certain address. However, I recommend OP not to using blockchain wallet since it's an web wallet.
You're wrong, I tried to register there, not a seed key or phrase key


Title: Re: How to get public and private key ?
Post by: Lucius on March 29, 2020, 02:20:36 PM
Thanks for guiding.
BTW I am using Blockchain wallet.

Since you are using an online wallet, in this case you do not have access to your private keys. It is important for you as a beginner to secure your online account with a strong password and 2FA, and not to store this information online or to make it accessible to others. It is also important to save your seed (wallet backup) by following those instructions : https://support.blockchain.com/hc/en-us/articles/209564506

In case you want to have full control over your private keys, you will need to install something like Electrum wallet (desktop wallet), but always be careful and make sure you download the files from the official site : https://electrum.org/#home



I am not sure if he is talking about Blockchain.com or Blockchain.info  :D
Blockchain.com seems like Coinbase, it's not really a wallet, users can't own private key
You're wrong, I tried to register there, not a seed key or phrase key

Blockchain.com is just former blockchain.info : https://en.wikipedia.org/wiki/Blockchain.com , and to get seed words user need to follow the procedure I described. It is not same as in any desktop/hardware wallet where you get seed before creating wallet.


Title: Re: How to get public and private key ?
Post by: Csmiami on March 29, 2020, 02:24:19 PM

I am not sure if he is talking about Blockchain.com or Blockchain.info  :D

They're the same site; try entering blockchain.info, and it will redirect you to .com

Quote
You're wrong, I tried to register there, not a seed key or phrase key

Hmmmm, quite sime time since I haven't created a wallet there; but they used to give the seed.
Apart from that, they also ask the seed for wallet ID recovery, so it's kidna strange they don't give it....


Title: Re: How to get public and private key ?
Post by: ChuckBuck on March 29, 2020, 02:29:01 PM
They're the same site; try entering blockchain.info, and it will redirect you to .com
::) LoL, I didn't even realize it  ::)
If they are one, Abhijeet Tripathi, you can follow the instructions in my first post. But I don't know if it's safe for your wallet, because there are attachments. Consider before acting  ;) I am not responsible if you encounter any problems


Title: Re: How to get public and private key ?
Post by: RapTarX on March 29, 2020, 02:29:58 PM
I am not sure if he is talking about Blockchain.com or Blockchain.info  :D
Both are same. It was blockchain.info earlier which now have turned into blockchain.com. Blockchain.com was owned by some other guy who sold it to blockchain.info
Again you are wrong. I haven't used the wallet but that's what I got from a google search.
Quote
Click Settings > Security > Backup Recovery Phrase
You will get your phrase.


Title: Re: How to get public and private key ?
Post by: hosseinimr93 on March 29, 2020, 02:32:44 PM
As it is already said in previous posts, first you should extract your seed phrase from blockchain wallet and import it into Electrum. Then you can use Electrum to extract your private keys.

Note that private keys must always be kept private. You must be the only person in the world who know private keys.
Blockchain wallet is not open source and we don't know whether you are the only person who access those private keys or not. They might have access to your private keys too.

I recommend you to no longer use Blockchain wallet.
Instead of importing your blockchain wallet into Electrum, create a new wallet in Electrum and then send all your bitcoins to the new address Electrum gives you. In this way, you can be sure that you are the only person who access those private keys.




Title: Re: How to get public and private key ?
Post by: Csmiami on March 29, 2020, 02:35:36 PM
Click Settings > Security > Backup Recovery Phrase
You will get your phrase.

As it is already said in previous posts, first you should extract your seed phrase from blockchain wallet and import it into Electrum. Then you can use Electrum to extract your private keys.

I'm trying to get some kind of recovery phrase/seed whatever on the security center (for the sake of testing, I have mine pretty well stored), and the only thing I can seem to find about it is a green tick on
Quote
Save Backup Phrase

I'm guessing that if it doesn't show a seed when creating the account, you get 1 chance of writing it down? Pretty strange stuff

I was using the advanced settings, when on basic you get a "Backup again" blue button


Title: Re: How to get public and private key ?
Post by: ChuckBuck on March 29, 2020, 02:36:04 PM
Both are same. It was blockchain.info earlier which now have turned into blockchain.com. Blockchain.com was owned by some other guy who sold it to blockchain.info
You don't need to repeat it  ;)
Again you are wrong. I haven't used the wallet but that's what I got from a google search.
Not necessarily that I was wrong, because I tried to register there, usually, websites would ask users to save seed keys before starting to use their platform. But here, they didn't, I signed up and nothing. Both are right.
EDIT:
I was using the advanced settings, when on basic you get a "Backup again" blue button
Their workflow is different from other platforms. Seed key is not a priority here  :D


Title: Re: How to get public and private key ?
Post by: hatakeyudu on March 30, 2020, 03:00:49 PM
About Public key and private key, can hackers steal private key from public key? I am noob so please forgive me if  my question is stupid.


Title: Re: How to get public and private key ?
Post by: pooya87 on March 31, 2020, 04:26:17 AM
About Public key and private key, can hackers steal private key from public key? I am noob so please forgive me if  my question is stupid.

no they can't. the process that derives a public key from a private key is a mathematically irreversible process that only works in one direction (from private to public key).

to see it in action you can look at bitcoin's blockchain, each translation that has signature also has the public key in it and nobody has ever been able to reverse it as long as the private key was randomly selected. you can also look at the website SSL certificates when you visit a site with https, they usually also use the same cryptography scheme with their certificate being a public key.


Title: Re: How to get public and private key ?
Post by: joniboini on March 31, 2020, 05:31:52 AM
About Public key and private key, can hackers steal private key from public key? I am noob so please forgive me if  my question is stupid.

What you need to worry about is phishing, malware, cloud account hack etc. The chances a hacker got your private key through those is way higher than trying to find private key through your public key.

If you have time to read, try to read "Mastering Bitcoin", it's a good book to start learning about Bitcoin.