<blockquote>
<p><strong>I still cannot figure out why the BTC private key returned by Electrum outputs a BTC address of the form 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx when my Electrum client shows me that all my receiving addresses are of the form &quot;bc1...&quot;</strong></p>
</blockquote>
<p>That's either because the website is out of date and doesn't support SegWit/bech32 or it just assumes you are using legacy addresses unless you tell it otherwise.</p>

CC BY-SA 4.0
2022-04-08T09:13:09.450Z
I'm using Electrum wallet which is pretty darn popular. I've tried using coinb.in and bitcointools.site, neither of which even store the private keys you enter. I still cannot seem to generate a bech32 receiving address from my private key, though.
deservestarseed
CC BY-SA 4.0
2022-04-08T09:31:55.877Z
As far as I can tell, I followed all the instructions on walletsrecovery.org. The problem is not that I cannot recover my wallet - I'm able to do that using my private key. The problem I am having is that it generates a receiving address, that doesn't appear to belong to my wallet.

I'm using Electrum wallet which is pretty darn popular. I've tried using coinb.in and bitcointools.site, neither of which even store the private keys you enter. I still cannot seem to generate a bech32 receiving address from my private key, though.

Any other suggestions?
deservestarseed
CC BY-SA 4.0
2022-04-08T10:48:38.287Z
You don't have to enter your private key on an external website. If you go to bitaddress.org, you can download the Github source and just run it locally (it uses only javascript).

I checked the derivation path for Electrum on walletsrecovery.org but I don't see anywhere to put that in. Do you know of some other way I use the private key I obtained from Electrum to get a working a bech32 recv address?
deservestarseed
CC BY-SA 4.0
2022-04-08T08:22:38.210Z
2022-04-08T11:13:28.493Z
2022-04-08T11:13:28.493Z
RedGrittyBrick
<p>I am using the Electrum wallet for Bitcoin on Windows 10. I'm able to get the private key of my main receiving address. I'm sure this address works to receive BTC as I've been able to before. I was curious about how private keys can be converted to public receiving addresses, so I tried the tool at <a href="https://bitcointools.site/tool/pubkey-to-address" rel="nofollow noreferrer">https://bitcointools.site/tool/pubkey-to-address</a> and was able to get an address from there. However, it is not any of the addresses listed in my client, and definitely not the one I retrieved the private key for (all addresses in the Electrum start with &quot;bc1&quot; whereas the address I got back when converting from my private key began with &quot;1&quot;). I tried sending a small amount (to test) to the address that I got back from <a href="https://bitcointools.site/tool/pubkey-to-address" rel="nofollow noreferrer">https://bitcointools.site/tool/pubkey-to-address</a> but it's not showing up in my wallet and it appears I may have lost that small amount I used as a test send. Am I doing something wrong?</p>
<p>Here are screenshots showing the procedure I'm using to obtain the private key from my Electrum wallet, and then trying to enter it on coinb.in and bitcointools.site, both of which give me the same receiving address, which is incorrect(I tried sending a small amount to this addy and did not receive it). Because my receiving address starts with &quot;bc1&quot; I'm thinking that maybe something else needs to be done to account for the bech32 addresses. Can anyone help please?
<br/><br/>
<a href="https://ibb.co/4MfhJ5p" rel="nofollow noreferrer">https://ibb.co/4MfhJ5p</a><br/>
<a href="https://ibb.co/f4cH99Y" rel="nofollow noreferrer">https://ibb.co/f4cH99Y</a><br/>
<a href="https://ibb.co/8NHqJdp" rel="nofollow noreferrer">https://ibb.co/8NHqJdp</a><br/>
<a href="https://ibb.co/FwT6FHB" rel="nofollow noreferrer">https://ibb.co/FwT6FHB</a><br/></p>
<p>UPDATE:<br/>
I was able to somewhat get it working using the console (View-&gt;Show Console) in Electrum and then used a command similar to bitcoin.address_from_private_key(&quot;p2wpkh:5Kkzs8XrJNAmf9VQDFeGBfaRvSByAvPK6DbDXw5BVqswWaXSG2Y&quot;) which returned the address I was expecting starting with &quot;bc1&quot;. My concern is that its returning the value that it has already stored and associated with that private key. Does anyone know of another way I can check if it's working properly? I don't mind entering my private key on a website as long as I can just run it locally so I don't expose myself to security risks. Anyone?</p>
<hr />
<p>I was able to retrieve the small amount of BTC I used as a &quot;test send&quot; by importing by private key into an online wallet (blockchain.com's wallet for those who care). I then sent back (minus the fees) the BTC to my Electrum wallet. I still cannot figure out why the BTC private key returned by Electrum outputs a BTC address of the form 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx when my Electrum client shows me that all my receiving addresses are of the form &quot;bc1...&quot;</p>
<p>If anyone could shed some light on this I'd appreciate it. thanks.</p>

<address><private-key><electrum><public-key><bitcoin-wallet-app>
Addresses in Electrum wallet start bc1 but other tool gives addresses starting 1
deservestarseed
# Addresses in Electrum wallet start bc1 but other tool gives addresses starting 1

(Asked by: username_0 on 2022-04-08)

I am using the Electrum wallet for Bitcoin on Windows 10. I'm able to get the private key of my main receiving address. I'm sure this address works to receive BTC as I've been able to before. I was curious about how private keys can be converted to public receiving addresses, so I tried the tool at <https://bitcointools.site/tool/pubkey-to-address> and was able to get an address from there. However, it is not any of the addresses listed in my client, and definitely not the one I retrieved the private key for (all addresses in the Electrum start with "bc1" whereas the address I got back when converting from my private key began with "1"). I tried sending a small amount (to test) to the address that I got back from <https://bitcointools.site/tool/pubkey-to-address> but it's not showing up in my wallet and it appears I may have lost that small amount I used as a test send. Am I doing something wrong?

Here are screenshots showing the procedure I'm using to obtain the private key from my Electrum wallet, and then trying to enter it on coinb.in and bitcointools.site, both of which give me the same receiving address, which is incorrect(I tried sending a small amount to this addy and did not receive it). Because my receiving address starts with "bc1" I'm thinking that maybe something else needs to be done to account for the bech32 addresses. Can anyone help please?
  
  
<https://ibb.co/4MfhJ5p>  
<https://ibb.co/f4cH99Y>  
<https://ibb.co/8NHqJdp>  
<https://ibb.co/FwT6FHB>

UPDATE:  
I was able to somewhat get it working using the console (View->Show Console) in Electrum and then used a command similar to bitcoin.address\_from\_private\_key("p2wpkh:5Kkzs8XrJNAmf9VQDFeGBfaRvSByAvPK6DbDXw5BVqswWaXSG2Y") which returned the address I was expecting starting with "bc1". My concern is that its returning the value that it has already stored and associated with that private key. Does anyone know of another way I can check if it's working properly? I don't mind entering my private key on a website as long as I can just run it locally so I don't expose myself to security risks. Anyone?

---

I was able to retrieve the small amount of BTC I used as a "test send" by importing by private key into an online wallet (blockchain.com's wallet for those who care). I then sent back (minus the fees) the BTC to my Electrum wallet. I still cannot figure out why the BTC private key returned by Electrum outputs a BTC address of the form 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx when my Electrum client shows me that all my receiving addresses are of the form "bc1..."

If anyone could shed some light on this I'd appreciate it. thanks.

**Tags:** address, private-key, electrum, public-key, bitcoin-wallet-app


---

## 1 answers

### Answer by username_1 on 2022-04-08. Score: 1

> **I still cannot figure out why the BTC private key returned by Electrum outputs a BTC address of the form 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx when my Electrum client shows me that all my receiving addresses are of the form "bc1..."**

That's either because the website is out of date and doesn't support SegWit/bech32 or it just assumes you are using legacy addresses unless you tell it otherwise.

> **Comments:**
> **username_0**: I'm using Electrum wallet which is pretty darn popular. I've tried using coinb.in and bitcointools.site, neither of which even store the private keys you enter. I still cannot seem to generate a bech32 receiving address from my private key, though.  
> **username_0**: As far as I can tell, I followed all the instructions on walletsrecovery.org. The problem is not that I cannot recover my wallet - I'm able to do that using my private key. The problem I am having is that it generates a receiving address, that doesn't appear to belong to my wallet.  I'm using Electrum wallet which is pretty darn popular. I've tried using coinb.in and bitcointools.site, neither of which even store the private keys you enter. I still cannot seem to generate a bech32 receiving address from my private key, though.  Any other suggestions?  
> **username_0**: You don't have to enter your private key on an external website. If you go to bitaddress.org, you can download the Github source and just run it locally (it uses only javascript).  I checked the derivation path for Electrum on walletsrecovery.org but I don't see anywhere to put that in. Do you know of some other way I use the private key I obtained from Electrum to get a working a bech32 recv address?  

---

