Author

Topic: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error (Read 522 times)

HCP
legendary
Activity: 2086
Merit: 4314
What exactly is your error... that you can't import the xpub? or that you can't sign messages?

If you're getting issues trying to generate the ledger wallet, make sure that you have closed ALL other Ledger wallet applications (including Ledger Manager and Ledger Wallet Bitcoin chrome apps). Shut down Electrum. Disconnect your Ledger device.

Then:
- Restart Electrum
- Create a new wallet using "File -> New\Restore -> Standard Wallet -> Use a hardware device"... It will give you a message about not being able to detect your ledger
- Connect the Ledger Nano S via USB
- Unlock it with PIN
- Open the "Bitcoin" coin app on the Ledger device so that the "Use wallet to view accounts" message is displayed on the screen
- Click the "next" button in Electrum

It should then detect your Ledger and allow you to import the xpub and generate the wallet addresses.
jr. member
Activity: 34
Merit: 1
there is the same problem with new firmware also. How to solve it?
sr. member
Activity: 588
Merit: 250
Though a new problem arises, I can't sign from the electrum wallet :/
That's because there is currently no "standard" solution for signing messages using SegWit addresses... so you can't sign messages using any SegWit wallet.

Or are you talking about signing transactions? Huh

Both. I found out indeed that there is no way to sign a message yet for segwit addresses, and, like what you said, there is no standard yet to sign messages for segwit addresses.

However, the problem is on the new Electrum 3.0, I can't even sign transactions with either segwit addresses or even legacy addresses. Not sure why is that, but I'll try to use the old versions and see if that fixes the problem.
HCP
legendary
Activity: 2086
Merit: 4314
Though a new problem arises, I can't sign from the electrum wallet :/
That's because there is currently no "standard" solution for signing messages using SegWit addresses... so you can't sign messages using any SegWit wallet.

Or are you talking about signing transactions? Huh
sr. member
Activity: 588
Merit: 250
Well apparently I found out the problem why it was causing an error of "cannot read xpub error." I had the default chrome wallet app of ledger on during the time I am trying to import my ledger nano S on the electrum with segwit support.

However, it's taking a long time to synchronize the wallet. It's taken like 30 minutes already since electrum accepted my import. I'll update if it does go through.


Update: It synced after a restart! Awesome to have finally integrated my ledger nano S with electrum with segwit.

Though a new problem arises, I can't sign from the electrum wallet :/
sr. member
Activity: 588
Merit: 250
Try this:

Quote
Update the Nano to firmware 1.3.1 and the Bitcoin app to 1.1.10 and try again. Might just be old versions on the Nano S that don't play well with Electrum.
https://github.com/spesmilo/electrum/issues/2869#issuecomment-341682986

Edit: Also found this in the Ledger subreddit: https://www.reddit.com/r/ledger/comments/7a7w6o/electrum_30_wledger_segwit/

First link is asking about Elecrtrum 2.9.3, the previous version which does not support segwit. Not sure if updating the firmware will do the trick but I'll test it.

Second link seems to be the same problem with mine, but does not yet have an answer so I'll be watching that one to see if anyone could answer it at reddit. Hope I can get an answer here though.
legendary
Activity: 2758
Merit: 6830
Try this:

Quote
Update the Nano to firmware 1.3.1 and the Bitcoin app to 1.1.10 and try again. Might just be old versions on the Nano S that don't play well with Electrum.
https://github.com/spesmilo/electrum/issues/2869#issuecomment-341682986

Edit: Also found this in the Ledger subreddit: https://www.reddit.com/r/ledger/comments/7a7w6o/electrum_30_wledger_segwit/
sr. member
Activity: 588
Merit: 250
Hello Guys,

I just got the portable Electrum 3.0 today and tried to connect my Ledger Nano S to it, using my segwit wallet. I have no problems connecting the legacy wallet to electrum. Problem is when I enter the derivation path for my Segwit Account #1 which is
Code:
m/49'/0'/0'
I get an error stating
Quote
Cannot read xpub from device

Can anyone point me to the right direction on how to fix this problem? I would greatly appreciate it.
Jump to: