Bitcoin Forum
November 14, 2024, 05:44:50 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: I've used my Xpub to receive payments but I can't access my funds.
How can I access my funds after using an xpub adress - 0 (0%)
How can I open see my funds in my ledger wallet or electrum wallet - 0 (0%)
Total Voters: 0

Pages: [1] 2 »  All
  Print  
Author Topic: REWARD €100: Funds not visible after using XPub native segwitt Ledger  (Read 374 times)
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 16, 2020, 09:04:58 AM
Merited by bitmover (1)
 #1

Hi Everyone,

I have used my Xpub which i derived from a native segwitt wallet on Ledger to receive payments.
However, The funds are not showing up on ledger. I have imported the xpub to Electrum, and I have a watch-only wallet where I see the funds.
I am willing to give  €100 reward in btc for the person that can help me with this.

What I have done until now:
Widened the search gap on both electrum and ledger.
activated the Extended account search on ledger

Can anyone help me with this problem?

Thanks in advance
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3139



View Profile
April 16, 2020, 12:29:59 PM
Merited by bitmover (1)
 #2

I have used my Xpub which i derived from a native segwitt wallet on Ledger to receive payments.

From where did you exactly copy the public key in the Ledger Live? Did you select 'Edit Account' and then copy the key from the 'Advanced logs'?
bitmover
Legendary
*
Online Online

Activity: 2492
Merit: 6320


bitcoindata.science


View Profile WWW
April 16, 2020, 06:18:14 PM
 #3

Have you received many payments?
It is possible that some of your funds are in addresses which Ledger Live app is not scanning.

I would try to use Electrum with your hardware wallet (don't make a watch-only wallet).
Download Electrum from Electrum.org

Then go here to learn how to connect electrum to your ledger wallet:
https://support.ledger.com/hc/en-us/articles/115005161925-Set-up-and-use-Electrum



In Electrum, you should scan for more addresses:

Go show menu > view console, switch to console tab and type:

Code:
wallet.change_gap_limit( 150 )

This will make your wallet scan for the next 150 addresses. Your funds might be there. You can try a bigger number if you wish. It is possible that your funds are in another derivation path as well.

What was your payment processor? Maybe we can get more info from their website?

Csmiami
Copper Member
Legendary
*
Offline Offline

Activity: 1652
Merit: 1325


I'm sometimes known as "miniadmin"


View Profile WWW
April 16, 2020, 06:19:52 PM
 #4

If you are not using a passphrase on the Ledger, you could simply import the seed into electrum and sweep it into a new Ledger account (new seed and all, because you've exposed the previous one when importing).

If you can see the funds in electrum, note the address with the funds, and this is rather a wild guess, but maybe there's some sort of code/command that will let your Ledger show those addresses

bitmover
Legendary
*
Online Online

Activity: 2492
Merit: 6320


bitcoindata.science


View Profile WWW
April 16, 2020, 06:26:48 PM
 #5

If you are not using a passphrase on the Ledger, you could simply import the seed into electrum and sweep it into a new Ledger account (new seed and all, because you've exposed the previous one when importing).

Don't do that. This is against all security procedures recommended by the manufacturer of the hardware wallet.. It will expose your funds, your seed and defeats the whole purpose of using a hardware wallet.

Ledger company made a guide on how to properly use your ledger nano with electrum wallet, without exposing your seed.
https://support.ledger.com/hc/en-us/articles/115005161925-Set-up-and-use-Electrum

Rickorick
Jr. Member
*
Offline Offline

Activity: 109
Merit: 8


View Profile
April 16, 2020, 11:36:02 PM
 #6

Connect and unlock your Ledger device.
Open the Bitcoin app.
Launch Electrum from your applications folder.
Create a new wallet
Select Standard wallet and click Next.
At the keystore screen, select Use a hardware device and click Next.
Select your Ledger device and click next.
Choose the right derivation path for your account and click Next (in your case, Native segwit for an account with addresses starting with a bc1)

If you don’t see the coins, go to the console tab in electrum.

Type this; wallet.change_gap_limit ( 600 )

You should see the coins.

Alternatively, you can go back to your ledger device, locate the derivation path of the xpub and substitute above.

If it works, here’s my address for the tip 33TjZg3UUcWT7YjLwMgacoMq9VE7GyA8uX
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
April 17, 2020, 12:11:52 AM
Last edit: November 15, 2023, 01:36:51 AM by HCP
Merited by bitmover (4), Rath_ (4), bones261 (4), NeuroticFish (2), mocacinno (1), TheBeardedBaby (1)
 #7

I have used my Xpub which i derived from a native segwitt wallet on Ledger to receive payments.
From where did you exactly copy the public key in the Ledger Live? Did you select 'Edit Account' and then copy the key from the 'Advanced logs'?

I suspect this is exactly where the issue has arisen from. For some reason, Ledger still shows legacy xpubs... for native segwit accounts!!! Shocked Shocked  This *should* of course be a zpub. Undecided

The end result, being that Electrum will likely be generating Legacy addresses... This can be confirmed by going to "Wallet -> info" menu in Electrum and checking the "script type". It will say "P2PKH" and your addresses in Electrum will start with a "1".

Electrum will only generate "bc1" (aka bech32 aka native segwit) addresses from a "master key" if that master key entered is "zpub". Unfortunately, you can't just do that now, because you funds are on legacy addresses


The "Good News"™, is that your funds are able to be recovered.
The "Better News"™, is that you can recover them, without needing to "expose" your Ledger seed!  Wink Cool


The process would be:

Setup
- Ensure that your Ledger Live is NOT running (just helps prevent USB connection issues with Electrum
- Ensure that your Ledger device is connected, unlocked with PIN, and you have opened the "Bitcoin" app on the device (should say 'Application is Ready')


1. In Electrum, select: "File -> New/Restore" from the menu:



2. Give the wallet a name... something unique like "Ledger_XPubRecovery" and then click "Next":



3. Select "Standard Wallet" and then click "Next":



4. Select "Use a hardware device" and then click "Next":



5. Electrum should identify your Ledger device... click "Next":



6. Select "legacy (p2pkh)" option... and then change the derivation path to: m/84'/0'/0':


This is the important. So, make sure you set the options exactly as shown! - be careful that you select legacy first, then change the derivation path, as every time you click one of the options at the top, the derivation path will reset to default!


7. Choose whether or not your want the wallet file encrypted, I'd recommend to "uncheck" the box, otherwise your device MUST be plugged in to open/view the wallet, then click "Next":


NOTE: NO PRIVATE KEYS will be stored in the wallet file. So it is "safe" to have it unencrypted. Having it not encrypted simply allows you to open the wallet and treat it like a watching-only wallet without the device attached. At worst, if someone steals the wallet file, it'll compromise your privacy, but not the security of your funds.


8. Enjoy access to your funds! Wink


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 08:47:49 AM
 #8

I have used my Xpub which i derived from a native segwitt wallet on Ledger to receive payments.

From where did you exactly copy the public key in the Ledger Live? Did you select 'Edit Account' and then copy the key from the 'Advanced logs'?

Yes thats exactly what i did
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3139



View Profile
April 17, 2020, 08:52:18 AM
 #9

Yes thats exactly what i did

Great, so you should also have exactly "freshAddressPath": "84'/0'/0'/0/x" there if it was the first account. This means that HCP's instructions are applicable. Follow them.
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 09:09:40 AM
 #10

I have used my Xpub which i derived from a native segwitt wallet on Ledger to receive payments.
From where did you exactly copy the public key in the Ledger Live? Did you select 'Edit Account' and then copy the key from the 'Advanced logs'?

I suspect this is exactly where the issue has arisen from. For some reason, Ledger still shows legacy xpubs... for native segwit accounts!!! Shocked Shocked  This *should* of course be a zpub. Undecided

The end result, being that Electrum will likely be generating Legacy addresses... This can be confirmed by going to "Wallet -> info" menu in Electrum and checking the "script type". It will say "P2PKH" and your addresses in Electrum will start with a "1".

Electrum will only generate "bc1" (aka bech32 aka native segwit) addresses from a "master key" if that master key entered is "zpub". Unfortunately, you can't just do that now, because you funds are on legacy addresses


The "Good News"™, is that your funds are able to be recovered.
The "Better News"™, is that you can recover them, without needing to "expose" your Ledger seed!  Wink Cool


The process would be:

Setup
- Ensure that your Ledger Live is NOT running (just helps prevent USB connection issues with Electrum
- Ensure that your Ledger device is connected, unlocked with PIN, and you have opened the "Bitcoin" app on the device (should say 'Application is Ready')
https://i.imgur.com/PLGAplc.png?1

1. In Electrum, select: "File -> New/Restore" from the menu:
https://i.imgur.com/zJsJrZ9.png


2. Give the wallet a name... something unique like "Ledger_XPubRecovery" and then click "Next":
https://i.imgur.com/1AMhldT.png


3. Select "Standard Wallet" and then click "Next":
https://i.imgur.com/xORatrg.png


4. Select "Use a hardware device" and then click "Next":
https://i.imgur.com/iOv3NOx.png


5. Electrum should identify your Ledger device... click "Next":
https://i.imgur.com/oWTilTv.png


6. Select "legacy (p2pkh)" option... and then change the derivation path to: m/84'/0'/0':
https://i.imgur.com/zg9mtVS.png

This is the important. So, make sure you set the options exactly as shown! - be careful that you select legacy first, then change the derivation path, as every time you click one of the options at the top, the derivation path will reset to default!


7. Choose whether or not your want the wallet file encrypted, I'd recommend to "uncheck" the box, otherwise your device MUST be plugged in to open/view the wallet, then click "Next":
https://i.imgur.com/t7CsMIv.png

NOTE: NO PRIVATE KEYS will be stored in the wallet file. So it is "safe" to have it unencrypted. Having it not encrypted simply allows you to open the wallet and treat it like a watching-only wallet without the device attached. At worst, if someone steals the wallet file, it'll compromise your privacy, but not the security of your funds.


8. Enjoy access to your funds! Wink


I was so hopeful haha I Followed all your instructions, however,  balance still 0. tried to change the gap limit 150 300 600 900 1000 1500 nothing..Balance: 0.00000000 BTC (0.00 EUR)  1 BTC~6,529.50 EU
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3139



View Profile
April 17, 2020, 09:12:40 AM
 #11

I was so hopeful haha I Followed all your instructions, however,  balance still 0. tried to change the gap limit 150 300 600 900 1000 1500 nothing..Balance: 0.00000000 BTC (0.00 EUR)  1 BTC~6,529.50 EU

Can you check and post your freshAddressPath of that SegWit account from the 'Advanced logs'? The derivation path might be different for some reason (i.e. not being the first account).
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 09:17:54 AM
 #12

I was so hopeful haha I Followed all your instructions, however,  balance still 0. tried to change the gap limit 150 300 600 900 1000 1500 nothing..Balance: 0.00000000 BTC (0.00 EUR)  1 BTC~6,529.50 EU

Can you check and post your freshAddressPath of that SegWit account from the 'Advanced logs'? The derivation path might be different for some reason (i.e. not being the first account).

It is different indeed, it says freshAddressPath": "84'/0'/3'/0/2", could this make a difference?
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3139



View Profile
April 17, 2020, 09:20:10 AM
Merited by HCP (4)
 #13

It is different indeed, it says freshAddressPath": "84'/0'/3'/0/2", could this make a difference?

Yes, it makes a huge difference. '3' is the number of your SegWit account. Re-follow the instructions and in the sixth step use m/84'/0'/3' instead of m/84'/0'/0'.
Rickorick
Jr. Member
*
Offline Offline

Activity: 109
Merit: 8


View Profile
April 17, 2020, 09:20:22 AM
 #14

Yes indeed, just do same process, but change the path to m/84'/0'/3'instead of m/84’/0’/0’
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 09:28:42 AM
 #15

Yes indeed, just do same process, but change the path to m/84'/0'/3'instead of m/84’/0’/0’

Pls provide your btc addres Smiley  Grin
Csmiami
Copper Member
Legendary
*
Offline Offline

Activity: 1652
Merit: 1325


I'm sometimes known as "miniadmin"


View Profile WWW
April 17, 2020, 09:33:43 AM
 #16

Yes indeed, just do same process, but change the path to m/84'/0'/3'instead of m/84’/0’/0’

Pls provide your btc addres Smiley  Grin

I must be high or something, but the users helping you were HCP (with the steps you had to follow) and Bitcryptex (solving the issues you had with the derivation path); and you are going to give a reward to a newbie account that came out of the blue just to copy paste with has been said in the post above it?

That'd most definately look like you are really an alt account of said user, created with the sole porpuse of getting help but not giving the reward you promised in the OP (and I'm 100% sure you'd have gotten the same help even with no bounty).




Thread archived in case my intuition is right here and someone feels like creating a flag for that shady behaviour

Lol, sorry, I'm a bit too on the edge this days and I must've skipped your post.

Rickorick
Jr. Member
*
Offline Offline

Activity: 109
Merit: 8


View Profile
April 17, 2020, 09:39:07 AM
 #17

Yes indeed, just do same process, but change the path to m/84'/0'/3'instead of m/84’/0’/0’

Pls provide your btc addres Smiley  Grin

I must be high or something, but the users helping you were HCP (with the steps you had to follow) and Bitcryptex (solving the issues you had with the derivation path); and you are going to give a reward to a newbie account that came out of the blue just to copy paste with has been said in the post above it?

That'd most definately look like you are really an alt account of said user, created with the sole porpuse of getting help but not giving the reward you promised in the OP (and I'm 100% sure you'd have gotten the same help even with no bounty).



Thread archived in case my intuition is right here and someone feels like creating a flag for that shady behaviour

I’m not a newbie, look at my detailed explanation earlier. I made the exact same guide as HCP even before he made it.
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 09:39:44 AM
 #18

Yes indeed, just do same process, but change the path to m/84'/0'/3'instead of m/84’/0’/0’

Pls provide your btc addres Smiley  Grin

I must be high or something, but the users helping you were HCP (with the steps you had to follow) and Bitcryptex (solving the issues you had with the derivation path); and you are going to give a reward to a newbie account that came out of the blue just to copy paste with has been said in the post above it?

That'd most definately look like you are really an alt account of said user, created with the sole porpuse of getting help but not giving the reward you promised in the OP (and I'm 100% sure you'd have gotten the same help even with no bounty).



Thread archived in case my intuition is right here and someone feels like creating a flag for that shady behaviour

Who says im not gonna give HCP his reward haha, ive jsut sent him a msg asking him for his btc addres Smiley
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 09:45:52 AM
 #19

HCP and Bitcryptex pls post your btc addres below.
I have a new account and am only allowed to post/send msg every 6 minutes driving me crazy.
Thanks a lot for your help! highly appreciate it
colemanjr (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
April 17, 2020, 09:55:09 AM
 #20

Yes indeed, just do same process, but change the path to m/84'/0'/3'instead of m/84’/0’/0’

Pls provide your btc addres Smiley  Grin

I must be high or something, but the users helping you were HCP (with the steps you had to follow) and Bitcryptex (solving the issues you had with the derivation path); and you are going to give a reward to a newbie account that came out of the blue just to copy paste with has been said in the post above it?

That'd most definately look like you are really an alt account of said user, created with the sole porpuse of getting help but not giving the reward you promised in the OP (and I'm 100% sure you'd have gotten the same help even with no bounty).




Thread archived in case my intuition is right here and someone feels like creating a flag for that shady behaviour

Lol, sorry, I'm a bit too on the edge this days and I must've skipped your post.


Thanks but he’s not sending my reward because of your post.

Its coming just a minute
Pages: [1] 2 »  All
  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!