Title: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: Lone Shark on November 05, 2017, 05:37:14 PM 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' 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. Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: TryNinja on November 05, 2017, 08:26:51 PM 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-341682986Edit: Also found this in the Ledger subreddit: https://www.reddit.com/r/ledger/comments/7a7w6o/electrum_30_wledger_segwit/ Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: Lone Shark on November 05, 2017, 08:34:26 PM 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-341682986Edit: 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. Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: Lone Shark on November 06, 2017, 07:54:27 AM 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 :/ Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: HCP on November 07, 2017, 08:30:34 AM 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? ??? Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: Lone Shark on November 07, 2017, 09:37:56 AM 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? ??? 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. Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: FraMZ on March 16, 2018, 09:23:44 AM there is the same problem with new firmware also. How to solve it?
Title: Re: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error Post by: HCP on March 17, 2018, 03:51:02 AM 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. |