random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 16, 2017, 09:25:59 PM |
|
Hello, I'm trying to import a private key into Electrum, however, when i do actually import it, it looks like it is tied up to a different Bitcoin address, one that i'm not familiar with and has 0 balance, which is unlike the one i'm trying to import to Electrum with a balance. This is really confusing and frustrating. When i try to add the private key + address to the Electrum using the import/sweep function i get this error "No input found (Note that inputs need to be confirmed)." Note: I got this private key from the Blockchain.info, which is linked to a totally different Address than the one that shows up on Electrum. I mean i still have access to the funds using Blockchain.info, but i can't seem to be able import it to Elect. Note 2: I have imported the address + private key to my current blockchain.info account a while back, so it is under the imported address on BC. Any help would be highly appreciated
Thanks
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3486
Merit: 6824
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 16, 2017, 11:42:46 PM |
|
There is no import function in Electrum anymore, only sweeping. I presume you are sweeping? In that case, the address you see is not the address that you are importing but rather one that is in your wallet that Electrum will send all of the coins from your "imported" address to.
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 16, 2017, 11:58:02 PM |
|
Yes, you are right, it was the sweeping function. If it is showing the address that belongs to Electrum, how do i get it to show the address that is associated with the Private key and has a balance? Thank you for your help.
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3486
Merit: 6824
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 01:02:14 AM |
|
Yes, you are right, it was the sweeping function. If it is showing the address that belongs to Electrum, how do i get it to show the address that is associated with the Private key and has a balance? Thank you for your help.
You can't. You can only see that info after you have clicked "Sweep" and it attempts to create the transaction. When that happens, you can review the transaction before it is signed and broadcast. Before that, it does not lookup any information about the private keys that you have entered. If it says that there are no inputs, then that means that you may not have the private key for the right address.
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 01:26:23 AM |
|
I see what you mean, but on the blockchain.info, it shows that the private key belongs to that address. This is really confusing! That means that Blockchain.info is showing me the wrong private key, how could that be possible? ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3486
Merit: 6824
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 01:36:16 AM |
|
I see what you mean, but on the blockchain.info, it shows that the private key belongs to that address. This is really confusing! That means that Blockchain.info is showing me the wrong private key, how could that be possible? ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Blockchain.info could have yet another bug in their wallet (it's a common occurrence for their wallet to be full of bugs) which is displaying the incorrect private key. Alternatively you are looking at the wrong address or the transactions to that address have not confirmed yet.
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 02:19:56 AM |
|
I see what you mean, but on the blockchain.info, it shows that the private key belongs to that address. This is really confusing! That means that Blockchain.info is showing me the wrong private key, how could that be possible? ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Blockchain.info could have yet another bug in their wallet (it's a common occurrence for their wallet to be full of bugs) which is displaying the incorrect private key. Alternatively you are looking at the wrong address or the transactions to that address have not confirmed yet. Here's a screenshot showing the address as well as the private key on the Blockchain.info (just a portion of it of course) http://imgur.com/a/ycypU
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4318
<insert witty quote here>
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 03:25:04 AM Last edit: November 15, 2023, 09:04:57 AM by HCP |
|
OP seems to not understand the difference between "Sweep" and "Import" ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) "Sweeping" creates a transaction that sends the coins from that address to your new Electrum (or any other) address that you choose... thus, it will have a different private key and different address. The only way to maintain the same private key and address is to "import" the key... and this is not possible into an Electrum HD (aka "seed based") wallet... you can only "import" into an Electrum wallet that you specify as being based on public/private keys when you create it: "File -> New/Restore"... give it a name... select "Standard Wallet"... then you should see this: DO NOT select "create a new seed"... instead, make sure you select "Use public or private keys", click "next". Then put your private key into the box on the next screen and click "next". Your wallet will be created with your "old address" and transaction history and balance for that address. NOTE: It is NOT recommended to import, as this new wallet is NOT an HD wallet and so it is not backed up by a 12 word seed phrase. You must therefore make regular backups of the wallet file and/or private keys so that you are able to recover your coins if your computer blows up or your hard drive dies etc. Sweeping is a much better option!!
|
|
|
|
pooya87
Legendary
Offline
Activity: 3570
Merit: 10833
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 05:19:51 AM |
|
I see what you mean, but on the blockchain.info, it shows that the private key belongs to that address. This is really confusing! That means that Blockchain.info is showing me the wrong private key, how could that be possible? ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Blockchain.info could have yet another bug in their wallet (it's a common occurrence for their wallet to be full of bugs) which is displaying the incorrect private key. Alternatively you are looking at the wrong address or the transactions to that address have not confirmed yet. Here's a screenshot showing the address as well as the private key on the Blockchain.info (just a portion of it of course) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fimgur.com%2Fa%2FycypU&t=665&c=5fbryzQONlvmVQ) copy the private key from that interface then open a text editor such as the Notepad in windows and paste the copied private key there. then take good look at what you see. check every character to see if there is anything different. maybe something like this[1] is also happening to you. and as HCP said you can still import private keys in electrum you just have to create a new wallet without seed [2]. the function that achow101 said no longer exists is importing private keys in a wallet that has a seed. [1] https://bitcointalk.org/index.php?topic=1942431.msg19293246#msg19293246[2] http://docs.electrum.org/en/latest/faq.html#can-i-import-private-keys-from-other-bitcoin-clients
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 05:24:49 AM |
|
I'm sorry if i sound like a newbie, however, my wallet is Electrum v2.8.3 (non HD). And to kill any doubt, i've just uninstalled it and deleted all data from Roaming directory, including wallet.dat. Then i reinstalled it, and started from scratch, and did exactly as in the images (looks like Electrum non-HD version does support "Import" as a matter of fact), but still, when i added the Private Key, it shows me this address "1Emhxm5Fx1cZCKRfrxTSFCEuBN7mZjMtQD" as opposed to my address that starts with "1Fy8dvuHjiTL........". Blockchain.info shows that the Private key belongs to "1Fy8dvuHjiTL....." and NOT "1Emhxm5Fx1cZCKRfrxTSFCEuBN7mZjMtQD", so i guess there is some kind of bug on Blockchain.info for showing me a PK that belongs to this empty address instead. OP seems to not understand the difference between "Sweep" and "Import" ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) "Sweeping" creates a transaction that sends the coins from that address to your new Electrum (or any other) address that you choose... thus, it will have a different private key and different address. The only way to maintain the same private key and address is to "import" the key... and this is not possible into an Electrum HD (aka "seed based") wallet... you can only "import" into an Electrum wallet that you specify as being based on public/private keys when you create it: "File -> New/Restore"... give it a name... select "Standard Wallet"... then you should see this: https://i.imgur.com/LfGcfmC.pngDO NOT select "create a new seed"... instead, make sure you select "Use public or private keys", click "next". Then put your private key into the box on the next screen and click "next". Your wallet will be created with your "old address" and transaction history and balance for that address. NOTE: It is NOT recommended to import, as this new wallet is NOT an HD wallet and so it is not backed up by a 12 word seed phrase. You must therefore make regular backups of the wallet file and/or private keys so that you are able to recover your coins if your computer blows up or your hard drive dies etc. Sweeping is a much better option!!
|
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 06:05:30 AM |
|
Yes, i have spent from that address before. Actually, the key is a 130 characters as you said, and it goes as follows "04980461a19399593793b7394b26d4bf0af855b60406591ac8312....." ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif)
|
|
|
|
pooya87
Legendary
Offline
Activity: 3570
Merit: 10833
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 06:46:36 AM |
|
Yes, i have spent from that address before. Actually, the key is a 130 characters as you said, and it goes as follows "04980461a19399593793b7394b26d4bf0af855b60406591ac8312....." ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif) so it is as i suspected. a bug in blockchain.info! you imported your private key a long time ago and that private key was an uncompressed private key (started with 5) and now blockchain.info has converted that into a compressed private key (starting with K). that is why the public key and the base58 (or bitcoin address you've got = 1Emhxm...) is different. now all you need to do is to convert that compressed key to the uncompressed one. to do that, the only trusted tool that i know is https://github.com/pointbiz/bitaddress.orgyou can see the live version here: https://www.bitaddress.orgalthough you MUST take a copy of the project and run it offline for security reasons. open it, then get rid of the address generation step (move your mouse around until it shows 100% complete. then go to the wallet detail tab and paste in your private key (KyF21...) and click View details button. scroll down and find the private key which is starting with 5 and copy that in electrum edit: a picture help: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FJem65wZ.jpg&t=665&c=i6QHwQz-7Zdi0Q)
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 07:18:30 AM |
|
That did the trick!!! You are simply the best buddy!! I thank you pretty much for your huge help!! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Yes, i have spent from that address before. Actually, the key is a 130 characters as you said, and it goes as follows "04980461a19399593793b7394b26d4bf0af855b60406591ac8312....." ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif) so it is as i suspected. a bug in blockchain.info! you imported your private key a long time ago and that private key was an uncompressed private key (started with 5) and now blockchain.info has converted that into a compressed private key (starting with K). that is why the public key and the base58 (or bitcoin address you've got = 1Emhxm...) is different. now all you need to do is to convert that compressed key to the uncompressed one. to do that, the only trusted tool that i know is https://github.com/pointbiz/bitaddress.orgyou can see the live version here: https://www.bitaddress.orgalthough you MUST take a copy of the project and run it offline for security reasons. open it, then get rid of the address generation step (move your mouse around until it shows 100% complete. then go to the wallet detail tab and paste in your private key (KyF21...) and click View details button. scroll down and find the private key which is starting with 5 and copy that in electrum edit: a picture help: https://i.imgur.com/Jem65wZ.jpg
|
|
|
|
pooya87
Legendary
Offline
Activity: 3570
Merit: 10833
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 07:28:30 AM |
|
That did the trick!!! You are simply the best buddy!! I thank you pretty much for your huge help!! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) no problem, glad i could help. and i am just paying it forward. somebody helped me in early days when i just started using bitcoin and now i am using all that information to help others ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif)
|
|
|
|
random777 (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 17, 2017, 04:17:39 PM |
|
That did the trick!!! You are simply the best buddy!! I thank you pretty much for your huge help!! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) no problem, glad i could help. and i am just paying it forward. somebody helped me in early days when i just started using bitcoin and now i am using all that information to help others ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif) I do appreciate it! Keep up the great work ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
The-coiner
Newbie
Offline
Activity: 2
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 23, 2017, 04:48:41 PM |
|
Yes, i have spent from that address before. Actually, the key is a 130 characters as you said, and it goes as follows "04980461a19399593793b7394b26d4bf0af855b60406591ac8312....." ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif) so it is as i suspected. a bug in blockchain.info! you imported your private key a long time ago and that private key was an uncompressed private key (started with 5) and now blockchain.info has converted that into a compressed private key (starting with K). that is why the public key and the base58 (or bitcoin address you've got = 1Emhxm...) is different. now all you need to do is to convert that compressed key to the uncompressed one. to do that, the only trusted tool that i know is https://github.com/pointbiz/bitaddress.orgyou can see the live version here: https://www.bitaddress.orgalthough you MUST take a copy of the project and run it offline for security reasons. open it, then get rid of the address generation step (move your mouse around until it shows 100% complete. then go to the wallet detail tab and paste in your private key (KyF21...) and click View details button. scroll down and find the private key which is starting with 5 and copy that in electrum edit: a picture help: https://i.imgur.com/Jem65wZ.jpgthanks alot
|
|
|
|
|