Bitcoin Forum
June 29, 2025, 08:31:08 AM *
News: Pizza day contest voting
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum with Legacy addresses being funded to it's xpub blockchain.com bc1q  (Read 89 times)
kamalsharma100 (OP)
Sr. Member
****
Offline Offline

Activity: 770
Merit: 251


Learning here every day—thanks to everyone sharing


View Profile WWW
June 26, 2025, 11:53:10 PM
Last edit: June 27, 2025, 01:46:45 AM by kamalsharma100
 #1

Hello all,

I have been searching around but could not find a clear answer to this issue hoping someone here might have some insight.

I have an Electrum wallet that show only Legacy addresses (addresses starting with 1) inside.  I copied public key (starting with xpub) from it to blockchain.com to view the list of linked addresses and funded one bech address that starts with bc1q.  Does anyone have idea how to withdraw from this bc1q address?  I have already tried different derivation paths, but to no avail. Please do note public key starting with xpub in blockchain.info lists addresses starting with 1, 3 and bc1q though my Electrum wallet only shows Legacy addresses.  

Here are screenshots for better understanding:

Electrum Legacy transactions =>


Master public key=>


blockchain.com showing list of Legacy, Native Segwit addresses =>




I am happy to clarify anything if needed. Thanks in advance for any thoughts or guidance.

████████████████████                                                    OrangeFren.com                                                ████████████████████
instant KYC-free exchange comparison
████████████████████     Clearnet and onion available #kycfree + (prepaid Visa & Mastercard)     ████████████████████
Zaguru12
Legendary
*
Offline Offline

Activity: 1106
Merit: 1079



View Profile WWW
June 27, 2025, 12:14:22 AM
Last edit: June 27, 2025, 12:28:05 AM by Zaguru12
 #2

The first question is which wallet was actually used to create that seed phrase if it wasn’t electrum then when you’re importing the seed phrase, there is an option button there you have to click Bip39. As a Bip39 seed phrase you will see two options where one shows the different address type that is where you choose native Segwit (p2wpkh) option and I think the wallet will be restored. Compare the address with the address on blockchain.com

If it is a private key you have as backup just go to create account use the import bitcoin address or private key button and then proceed by importing the private key but you must prephend it. For restoring bc1q simply import the private key with “p2wpkh:private key”

▄███████████████████▄
████████████████████████

██████████▀▀▀▀██████████
███████████████▀▀███████
█████████▄▄███▄▄█████
████████▀▀████▀███████
█████████▄▄██▀██████████
████████████▄███████████
██████████████▄█████████
██████████▀▀███▀▀███████
███████████████████████
█████████▄▄████▄▄████████
▀███████████████████▀
.
 BC.GAME 
███████████████
███████████████
███████████████
███████████████
██████▀░▀██████
████▀░░░░░▀████
███░░░░░░░░░███
███▄░░▄░▄░░▄███
█████▀░░░▀█████

███████████████

███████████████

███████████████

███████████████
███████████████
███████████████
███████████████
███████████████
███░░▀░░░▀░░███
███░░▄▄▄░░▄████
███▄▄█▀░░▄█████
█████▀░░▐██████
█████░░░░██████

███████████████

███████████████

███████████████

███████████████
███████████████
███████████████
███████████████
███████████████
██████▀▀░▀▄░███
████▀░░▄░▄░▀███
███▀░░▀▄▀▄░▄███
███▄░░▀░▀░▄████
███░▀▄░▄▄██████

███████████████

███████████████

███████████████

███████████████

DEPOSIT BONUS
.1000%.
GET FREE
...5 BTC...

REFER & EARN
..$1000 + 15%..
COMMISSION


 Play Now 
kamalsharma100 (OP)
Sr. Member
****
Offline Offline

Activity: 770
Merit: 251


Learning here every day—thanks to everyone sharing


View Profile WWW
June 27, 2025, 01:06:09 AM
 #3

The first question is which wallet was actually used to create that seed phrase if it wasn’t electrum then when you’re importing the seed phrase, there is an option button there you have to click Bip39. As a Bip39 seed phrase you will see two options where one shows the different address type that is where you choose native Segwit (p2wpkh) option and I think the wallet will be restored. Compare the address with the address on blockchain.com

If it is a private key you have as backup just go to create account use the import bitcoin address or private key button and then proceed by importing the private key but you must prephend it. For restoring bc1q simply import the private key with “p2wpkh:private key”

I just uploaded the screenshots.  I used Electrum itself to create this wallet with a seed phrase and no problem importing the same to Electrum (or even Blue Wallet).  I have already tried Segwit amongst other 2s (total 3) and others to load active accounts in Electrum.  This wallet inside Electrum shows only Legacy and in fact can be funded and balance updated without any problem, but the problem is this bc1q address shown up in list of addresses at blockchain.com site with fund balance (was deposited by me earlier to this address)

████████████████████                                                    OrangeFren.com                                                ████████████████████
instant KYC-free exchange comparison
████████████████████     Clearnet and onion available #kycfree + (prepaid Visa & Mastercard)     ████████████████████
bitmover
Legendary
*
Offline Offline

Activity: 2716
Merit: 6706


Top-tier crypto casino and sportsbook


View Profile WWW
June 27, 2025, 01:22:59 AM
 #4

I just uploaded the screenshots.  I used Electrum itself to create this wallet with a seed phrase and no problem importing the same to Electrum (or even Blue Wallet).  I have already tried Segwit amongst other 2s (total 3) and others to load active accounts in Electrum.  This wallet inside Electrum shows only Legacy and in fact can be funded and balance updated without any problem, but the problem is this bc1q address shown up in list of addresses at blockchain.com site with fund balance (was deposited by me earlier to this address)

Somehow blockchain.com is looking in a different derivation path than electrum is. What wallet did you use to create it? Some wallets have specific derivation methods.

I would completely drain the wallet first, send all your coins to another wallet.

Then, I would try to use https://iancoleman.io/bip39/ and look for different derivation paths.



██████▄██▄███████████▄█▄
█████▄█████▄████▄▄▄█
███████████████████
████▐███████████████████
███████████▀▀▄▄▄▄███████
██▄███████▄▀███▀█▀▀█▄▄▄█
▀██████████▄█████▄▄█████▀██
██████████▄████▀██▄▀▀▀█████▄
█████████████▐█▄▀▄███▀██▄
███████▄▄▄███▌▌█▄▀▀███████▄
▀▀▀███████████▌██▀▀▀▀▀█▄▄▄████▀
███████▀▀██████▄▄██▄▄▄▄███▀▀
████████████▀▀▀██████████
 BETFURY ....█████████████
███████████████
███████████████
██▀▀▀▀█▀▀▄░▄███
█▄░░░░░██▌▐████
█████▌▐██▌▐████
███▀▀░▀█▀░░▀███
██░▄▀░█░▄▀░░░██
██░░░░█░░░░░░██
███▄░░▄█▄░░▄███
███████████████
███████████████
░░█████████████
█████████████
███████████████
███████████████
██▀▄▄▄▄▄▄▄▄████
██░█▀░░░░░░░▀██
██░█░▀░▄░▄░░░██
██░█░░█████░░██
██░█░░▀███▀░░██
██░█░░░░▀░░▄░██
████▄░░░░░░░▄██
███████████████
███████████████
░░█████████████
Zaguru12
Legendary
*
Offline Offline

Activity: 1106
Merit: 1079



View Profile WWW
June 27, 2025, 01:24:22 AM
 #5


I just uploaded the screenshots.  I used Electrum itself to create this wallet with a seed phrase and no problem importing the same to Electrum (or even Blue Wallet).  I have already tried Segwit amongst other 2s (total 3) and others to load active accounts in Electrum.  This wallet inside Electrum shows only Legacy and in fact can be funded and balance updated without any problem, but the problem is this bc1q address shown up in list of addresses at blockchain.com site with fund balance (was deposited by me earlier to this address)

Like I said earlier you actually importing a legacy address, the screenshot you uploaded is showing p2pkh as the script type which will definitely show the legacy address, I think you should actually re import the wallet again and specifically change the script to p2wpkh as I explained above, and it will show the Segwit addresses on that seed phrase.

Note that both legacy and other type of address cannot be imported or exist as one in a single wallet each has to be imported separately.

▄███████████████████▄
████████████████████████

██████████▀▀▀▀██████████
███████████████▀▀███████
█████████▄▄███▄▄█████
████████▀▀████▀███████
█████████▄▄██▀██████████
████████████▄███████████
██████████████▄█████████
██████████▀▀███▀▀███████
███████████████████████
█████████▄▄████▄▄████████
▀███████████████████▀
.
 BC.GAME 
███████████████
███████████████
███████████████
███████████████
██████▀░▀██████
████▀░░░░░▀████
███░░░░░░░░░███
███▄░░▄░▄░░▄███
█████▀░░░▀█████

███████████████

███████████████

███████████████

███████████████
███████████████
███████████████
███████████████
███████████████
███░░▀░░░▀░░███
███░░▄▄▄░░▄████
███▄▄█▀░░▄█████
█████▀░░▐██████
█████░░░░██████

███████████████

███████████████

███████████████

███████████████
███████████████
███████████████
███████████████
███████████████
██████▀▀░▀▄░███
████▀░░▄░▄░▀███
███▀░░▀▄▀▄░▄███
███▄░░▀░▀░▄████
███░▀▄░▄▄██████

███████████████

███████████████

███████████████

███████████████

DEPOSIT BONUS
.1000%.
GET FREE
...5 BTC...

REFER & EARN
..$1000 + 15%..
COMMISSION


 Play Now 
kamalsharma100 (OP)
Sr. Member
****
Offline Offline

Activity: 770
Merit: 251


Learning here every day—thanks to everyone sharing


View Profile WWW
June 27, 2025, 01:58:49 AM
 #6


I just uploaded the screenshots.  I used Electrum itself to create this wallet with a seed phrase and no problem importing the same to Electrum (or even Blue Wallet).  I have already tried Segwit amongst other 2s (total 3) and others to load active accounts in Electrum.  This wallet inside Electrum shows only Legacy and in fact can be funded and balance updated without any problem, but the problem is this bc1q address shown up in list of addresses at blockchain.com site with fund balance (was deposited by me earlier to this address)

Like I said earlier you actually importing a legacy address, the screenshot you uploaded is showing p2pkh as the script type which will definitely show the legacy address, I think you should actually re import the wallet again and specifically change the script to p2wpkh as I explained above, and it will show the Segwit addresses on that seed phrase.

Note that both legacy and other type of address cannot be imported or exist as one in a single wallet each has to be imported separately.

I already did that too but using the same seed phrase generate entirely different bech addresses, not amongst listed blockchain.com addresses.  Probably, it seems bitmover's suggestion is correct one.  I appreciate your effort though.

████████████████████                                                    OrangeFren.com                                                ████████████████████
instant KYC-free exchange comparison
████████████████████     Clearnet and onion available #kycfree + (prepaid Visa & Mastercard)     ████████████████████
kamalsharma100 (OP)
Sr. Member
****
Offline Offline

Activity: 770
Merit: 251


Learning here every day—thanks to everyone sharing


View Profile WWW
June 27, 2025, 02:03:56 AM
 #7

I just uploaded the screenshots.  I used Electrum itself to create this wallet with a seed phrase and no problem importing the same to Electrum (or even Blue Wallet).  I have already tried Segwit amongst other 2s (total 3) and others to load active accounts in Electrum.  This wallet inside Electrum shows only Legacy and in fact can be funded and balance updated without any problem, but the problem is this bc1q address shown up in list of addresses at blockchain.com site with fund balance (was deposited by me earlier to this address)

Somehow blockchain.com is looking in a different derivation path than electrum is. What wallet did you use to create it? Some wallets have specific derivation methods.

I would completely drain the wallet first, send all your coins to another wallet.

Then, I would try to use https://iancoleman.io/bip39/ and look for different derivation paths.




Can't I do it with Electrum by configuring derivation paths manually (from iancoleman.io)?

████████████████████                                                    OrangeFren.com                                                ████████████████████
instant KYC-free exchange comparison
████████████████████     Clearnet and onion available #kycfree + (prepaid Visa & Mastercard)     ████████████████████
Mia Chloe
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1247


Contact me for your designs...


View Profile
June 27, 2025, 04:22:13 AM
 #8

Can't I do it with Electrum by configuring derivation paths manually (from iancoleman.io)?
You could actually use coin control to spend from that Bech32 address but since it's not displaying I think the wallet is not picking up the derivation path properly what you should try doing is copy the master private key and then reaccess the wallet using it. If you find that address display, get the child private key for that address and reload a new wallet with that child keys to the address. This should allow you spend exactly what's in the Bech32 address.

If this doesn't work quote me I have something else in mind that would fix it.

Just in, you are risking your privacy by searching your public key on a Blockchain explorer instead you should have loaded the wallet using your public keys.

nc50lc
Legendary
*
Offline Offline

Activity: 2828
Merit: 7346


Self-proclaimed Genius


View Profile
June 27, 2025, 05:07:46 AM
Merited by Abdussamad (2), hosemary (2), DireWolfM14 (1), Forsyth Jones (1)
 #9

I have an Electrum wallet that show only Legacy addresses (addresses starting with 1) inside.  I copied public key (starting with xpub) from it to blockchain.com to view the list of linked addresses and funded one bech address that starts with bc1q.  Does anyone have idea how to withdraw from this bc1q address?
That requires a sensitive command and creation of a separate wallet that can spend it.

The issue is simply the script type used for the same keys as your legacy wallet since it's derived from the same extended public key.
So to create a spendable wallet, you have to restore its pair extended private key (called "Master Private Key" in Electrum SegWit wallet) with indication to use p2wpkh script type.

You may opt-in to do this offline if you see fit:
  • First, open that legacy Electrum wallet and open the Console tab ("View->Show Console" if i's not enabled).
  • Next, enter this command in the console, it will require you to type your password: getmasterprivate()
  • Copy the result xprv key and use that in this next command: convert_xkey(xkey="your_xprv_key",xtype="p2wpkh")
  • Lastly, copy the resulting zprv key and create a new wallet using it, use the options: "File->New/Restore....->Standard Wallet->Use a master key"

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!