Bitcoin Forum
December 15, 2018, 08:25:58 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] Electrum importing wrong btc address for my private key  (Read 339 times)
coldice
Hero Member
*****
Offline Offline

Activity: 610
Merit: 500



View Profile
August 24, 2017, 10:46:11 AM
 #1

I generated custom BTC address via vanitygen. It gave me private key and btc address.
I imported that private key to blockchain.info and imported correct btc address. Now, I want to import that private key to electrum and when I do so it imports some other BTC address. Can someone tell what's the problem here?

Solution:
This problem got solved by visiting https://www.bitaddress.org/
And click on wallet details and enter the private you have then click on view details and it will solve your issue.


Read the replies below to know the reason.

Decentralised and Personalised!
1544862358
Hero Member
*
Offline Offline

Posts: 1544862358

View Profile Personal Message (Offline)

Ignore
1544862358
Reply with quote  #2

1544862358
Report to moderator
1544862358
Hero Member
*
Offline Offline

Posts: 1544862358

View Profile Personal Message (Offline)

Ignore
1544862358
Reply with quote  #2

1544862358
Report to moderator
1544862358
Hero Member
*
Offline Offline

Posts: 1544862358

View Profile Personal Message (Offline)

Ignore
1544862358
Reply with quote  #2

1544862358
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
BitcoinReseller
Sr. Member
****
Offline Offline

Activity: 349
Merit: 251


View Profile
August 24, 2017, 10:53:02 AM
 #2

if you 're using Electron to collect your bitcoin cash this could help you :
https://bitcointalk.org/index.php?topic=2078292.0

▓▓▓ ➤ Start Your Bitcoin Site ▓▓▓ ▓▓▓ ➤ Best Bitcoin Paying Sites ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
coldice
Hero Member
*****
Offline Offline

Activity: 610
Merit: 500



View Profile
August 24, 2017, 10:57:58 AM
 #3

if you 're using Electron to collect your bitcoin cash this could help you :
https://bitcointalk.org/index.php?topic=2078292.0

It's not bitcoin cash. It's simply Bitcoin.

Decentralised and Personalised!
eXpl0sive
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


waiting to explode


View Profile
August 24, 2017, 11:02:59 AM
 #4

That's weird.
Two different private keys can generate the same public address, but first time I'm seeing a private key generating two different public addresses.

Have you tried any other wallet like Core or Multibit to see how each wallet behaves?

            ▄▄████▄▄
        ▄▄██████████████▄▄
      ███████████████████████▄▄
      ▀▀█████████████████████████
██▄▄       ▀▀█████████████████████
██████▄▄        ▀█████████████████
███████████▄▄       ▀▀████████████
███████████████▄▄        ▀████████
████████████████████▄▄       ▀▀███
 ▀▀██████████████████████▄▄
     ▀▀██████████████████████▄▄
▄▄        ▀██████████████████████▄
████▄▄        ▀▀██████████████████
█████████▄▄        ▀▀█████████████
█████████████▄▄        ▀▀█████████
██████████████████▄▄        ▀▀████
▀██████████████████████▄▄
  ▀▀████████████████████████
      ▀▀█████████████████▀▀
           ▀▀███████▀▀



.SEMUX
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
  Semux uses .100% original codebase.
  Superfast with .30 seconds instant finality.
  Tested .5000 tx per block. on open network
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
HCP
Legendary
*
Offline Offline

Activity: 812
Merit: 1002

<insert witty quote here>


View Profile
August 24, 2017, 11:15:11 AM
 #5

Was the private key in WIF format and does it start with a "5", a "K" or an "L"?

I vaguely remember reading that importing into b.info did weird things where it was automatically converting uncompressed and compressed addresses for imported keys. If you put your private key into an offline version of BitAddress.org (wallet details tab) do you see both the address from b.info AND the address from Electrum?

erre
Legendary
*
Offline Offline

Activity: 1036
Merit: 1005


Bitcore (BTX) - The Future is Now


View Profile
August 24, 2017, 11:18:09 AM
 #6

I generated custom BTC address via vanitygen. It gave me private key and btc address.
I imported that private key to blockchain.info and imported correct btc address. Now, I want to import that private key to electrum and when I do so it imports some other BTC address. Can someone tell what's the problem here?

That's because compressed/uncompressed private key. Insert your privkey in bitaddress.org (use it offline, click on "details"), and import both

ranochigo
Legendary
*
Offline Offline

Activity: 1610
Merit: 1111

Somewhat inactive.


View Profile WWW
August 24, 2017, 11:18:28 AM
 #7

That's weird.
Two different private keys can generate the same public address, but first time I'm seeing a private key generating two different public addresses.
No. It's impossible to have a single address being derived from two private keys. It is however, possible to have 2 keys derived from the same private key.

How did you generate the vanity address? If you generated it using an online website without using split-key generation, DO NOT use it or send anything to it.

Can you go to bitaddress.org and go to Wallet Details. Key in your private key and see which private key corresponds to your address. Its best to do this offline.

coldice
Hero Member
*****
Offline Offline

Activity: 610
Merit: 500



View Profile
August 24, 2017, 11:51:35 AM
 #8

That's weird.
Two different private keys can generate the same public address, but first time I'm seeing a private key generating two different public addresses.
No. It's impossible to have a single address being derived from two private keys. It is however, possible to have 2 keys derived from the same private key.

How did you generate the vanity address? If you generated it using an online website without using split-key generation, DO NOT use it or send anything to it.

Can you go to bitaddress.org and go to Wallet Details. Key in your private key and see which private key corresponds to your address. Its best to do this offline.

I used vanitygen windows based to generate address.

This problem got solved by visiting BitAddress.org
It gave me compressed & uncompressed address + private key.

Decentralised and Personalised!
eXpl0sive
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


waiting to explode


View Profile
August 24, 2017, 11:51:47 AM
 #9

That's weird.
Two different private keys can generate the same public address, but first time I'm seeing a private key generating two different public addresses.
No. It's impossible to have a single address being derived from two private keys. It is however, possible to have 2 keys derived from the same private key.

I was reading about this the other day:
https://bitcoin.stackexchange.com/questions/25069/can-two-private-keys-generate-the-same-public-bitcoin-address

Or am I missing something? Noob question.

            ▄▄████▄▄
        ▄▄██████████████▄▄
      ███████████████████████▄▄
      ▀▀█████████████████████████
██▄▄       ▀▀█████████████████████
██████▄▄        ▀█████████████████
███████████▄▄       ▀▀████████████
███████████████▄▄        ▀████████
████████████████████▄▄       ▀▀███
 ▀▀██████████████████████▄▄
     ▀▀██████████████████████▄▄
▄▄        ▀██████████████████████▄
████▄▄        ▀▀██████████████████
█████████▄▄        ▀▀█████████████
█████████████▄▄        ▀▀█████████
██████████████████▄▄        ▀▀████
▀██████████████████████▄▄
  ▀▀████████████████████████
      ▀▀█████████████████▀▀
           ▀▀███████▀▀



.SEMUX
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
  Semux uses .100% original codebase.
  Superfast with .30 seconds instant finality.
  Tested .5000 tx per block. on open network
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
coldice
Hero Member
*****
Offline Offline

Activity: 610
Merit: 500



View Profile
August 24, 2017, 11:51:51 AM
 #10

This problem got solved by visiting BitAddress.org
It gave me compressed & uncompressed address + private key.

Thanks for your help

Decentralised and Personalised!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!