Post
Topic
Board Electrum
Merits 2 from 1 user
Re: Balance: 0 after private key import
by
marcinpl87
on 10/01/2021, 02:25:33 UTC
⭐ Merited by Rath_ (2)
Sorry I reply to my own post, but after hours of research and testing I found out that the issue is with having two receiving addresses in my old wallet.
So in my old wallet I have:
[PRIV_KEY]
[ADDRESS_1] (this address doesn't have any BTC, doesn't have transactions)
[ADDRESS_2] (this address has BTC, has transactions)

When I click on import and I put in text form:
Code:
p2pkh:[PRIV_KEY]
I have this wallet imported (I see "default_wallet [imported]" in window header) but balance is "0". In "Addresses" tab I see my [ADDRESS_1].

When I click on import and I put in text form:
Code:
[ADDRESS_1]
I have this wallet imported (I see "default_wallet [imported, watching only]" in window header) but balance is "0".

When I click on import and I put in text form:
Code:
[ADDRESS_2]
I have this wallet imported (I see "default_wallet [imported, watching only]" in window header) and I SEE MY BTC AND TRANSACTIONS! (but this wallet is in "watching only" mode)

So how to import my private key with second address or with both addresses?

I tried:
Code:
p2pkh:[PRIV_KEY] -> [ADDRESS_2]
p2pkh:[PRIV_KEY]->[ADDRESS_2]
p2pkh:[PRIV_KEY]-[ADDRESS_2]
p2pkh:[PRIV_KEY] - [ADDRESS_2]
p2pkh:[PRIV_KEY] [ADDRESS_2]
I also tried
Code:
p2pkh:[PRIV_KEY]
[ADDRESS_2]

But every time "next" button is disabled