Bitcoin Forum

Economy => Web Wallets => Topic started by: system_btc on August 15, 2017, 04:50:01 PM



Title: one private key to two different addresses
Post by: system_btc on August 15, 2017, 04:50:01 PM
Hi,

i have a BTC address with bitcoins on blockchain.info. This btc address i created couple years ago.

Due to bitcoin fork i wanted to claim my bitcoin cash, so I logged in blockchain.info, got my private key and tried to import it into another wallet that support Bitcoin cash. To my surprise, after importing this private key, I was shown with different BTC address.

So i went back to blockchain.info and tried to import back private key that i got immediantly from my address. Finally, i got two BTC addresses in blockchain.info with the same private keys.

How is it possible and how can i get my bitcoincash back?

Also i added picture below with my actions:
http://funkyimg.com/i/2wqzZ.png (http://funkyimg.com/i/2wqzZ.png)


Title: Re: one private key to two different addresses
Post by: achow101 on August 15, 2017, 05:00:31 PM
This is a known bug in blockchain.info's web wallet.

The address that you have likely uses an uncompressed public key. However the private key that blockchain.info gave you is one that tells the wallet to use a compressed public key. This will result in a different address.

To fix this problem, go to https://www.bitaddress.org and download the website (download links in the bottom left hand corner). Open the website in your browser locally (don't use the actual site) and click on the Wallet Details tab. Enter your private key and click View Details. Scroll down to where it says "Private Key WIF" (not "Private Key WIF Compressed"). Copy the string next to that; that is your private key. You can then import that into another wallet.


Title: Re: one private key to two different addresses
Post by: system_btc on August 15, 2017, 05:19:37 PM
This is a known bug in blockchain.info's web wallet.

The address that you have likely uses an uncompressed public key. However the private key that blockchain.info gave you is one that tells the wallet to use a compressed public key. This will result in a different address.

To fix this problem, go to https://www.bitaddress.org and download the website (download links in the bottom left hand corner). Open the website in your browser locally (don't use the actual site) and click on the Wallet Details tab. Enter your private key and click View Details. Scroll down to where it says "Private Key WIF" (not "Private Key WIF Compressed"). Copy the string next to that; that is your private key. You can then import that into another wallet.

Thank you! It worked!


btw could you please advice any app for ios/andoid /web wallets to import private key and get my bitcoincash? wanna to convert it to bitcoin somewhere :)


Title: Re: one private key to two different addresses
Post by: achow101 on August 15, 2017, 05:53:03 PM
btw could you please advice any app for ios/andoid /web wallets to import private key and get my bitcoincash? wanna to convert it to bitcoin somewhere :)
AFAIK, there are no mobile or web wallets which support Bitcoin Cash. I only know of 2 wallet software that support Bitcoin Cash: Bitcoin ABC and Electron Cash. Both of these are desktop wallets.


Title: Re: one private key to two different addresses
Post by: TryNinja on August 15, 2017, 09:02:22 PM
btw could you please advice any app for ios/andoid /web wallets to import private key and get my bitcoincash? wanna to convert it to bitcoin somewhere :)
AFAIK, there are no mobile or web wallets which support Bitcoin Cash. I only know of 2 wallet software that support Bitcoin Cash: Bitcoin ABC and Electron Cash. Both of these are desktop wallets.
The only one I know that has Bitcoin Cash is Coinomi for Android.

They posted an article teaching users on how to add BCC as a coin on your wallet[1].

[1] https://medium.com/@coinomi/collecting-your-free-bitcoin-cash-coins-44fcc6008bb6


Title: Re: one private key to two different addresses
Post by: Casdinyard on August 17, 2017, 02:43:14 AM
btw could you please advice any app for ios/andoid /web wallets to import private key and get my bitcoincash? wanna to convert it to bitcoin somewhere :)
AFAIK, there are no mobile or web wallets which support Bitcoin Cash. I only know of 2 wallet software that support Bitcoin Cash: Bitcoin ABC and Electron Cash. Both of these are desktop wallets.

My friends and I transfered our btc to electrum and import our private keys there before the hardfork to have a bcc.
And it works, try electrum as it can be download through your smart phone but the thing is I dont know if you can have bcc equivalent to your btc, are you too late for this?