Bitcoin Forum

Bitcoin => Electrum => Topic started by: defa1 on August 01, 2019, 06:53:54 PM



Title: Setting up ledger with electrum
Post by: defa1 on August 01, 2019, 06:53:54 PM
Hi everyone,

I'm trying to set up Electrum to work with my Ledger Nano S. I got Electrum installed in Windows and the set up process seems to work, but after I created the wallet none of my past transactions seem to show up. I'm guessing this has something to do with the script and derivation path that I chose, but I don't know which ones I should choose to make it work. Here are the steps I followed when setting up the wallet:

default_wallet
Standard wallet
Use a hardware device
An unnamed ledger [ledger, initialized, hid]

It does not ask for an account number.

Then I come to the "Script type and Derivation path".

legacy (p2pkh)
p2sh-segwit (p2wpkh-p2sh)
native segwit (p2wpkh) [this one is selected by default]

derivation path: m/84'/0'/0'

So I select native segwit (p2wpkh) as script type and m/84'/0'/0' as the derivation path. I can create my wallet but nothing shows up under history or anywhere else. Electrum is connected to 10 nodes.

Any help setting up my ledger with electrum would be greatly appreciated!

HODL


Title: Re: Setting up ledger with electrum
Post by: Rath_ on August 01, 2019, 06:57:39 PM
I'm guessing this has something to do with the script and derivation path that I chose, but I don't know which ones I should choose to make it work.

You're right! What did your addresses look like? Legacy addresses start from 1, p2sh-segwit from 3 and native segwit ones from bc1. Select the one that corresponds to what you had before. Support for native SegWit addresses has been added in the latest Ledger Live update so that's why you didn't have a chance to use them.


Title: Re: Setting up ledger with electrum
Post by: BitcoinGirl.Club on August 01, 2019, 06:57:50 PM
Have a look on this article from Ledger themselves: https://support.ledger.com/hc/en-us/articles/115005161925-Set-up-and-use-Electrum


Title: Re: Setting up ledger with electrum
Post by: Lucius on August 02, 2019, 10:56:04 AM
That Ledger article is not explains precisely how to add accounts, and what is the difference between Script type and Derivation path, and because of that OP is have problem. He use native segwit selected by default, and he is obviously using Legacy / p2sh-segwit accounts.

If you have Legacy / p2sh-segwit accounts on Ledger, when pairing it with Electrum just follow standard procedure, but give your wallet name, so it will be easy to access them later.

When switching from wallets, first exit Bitcoin app on Ledger -> then open Bitcoin app again -> Select other wallet.



Title: Re: Setting up ledger with electrum
Post by: igor72 on August 02, 2019, 11:30:56 AM
It does not ask for an account number.
Quote
derivation path: m/84'/0'/0'
This bold number is account number: 0 is first account, 1 is second account etc. (for example, m/84'/0'/5' is sixth account native segwit, m/49'/0'/3' is forth account nested segwit, m/44'/0'/2' is third legacy account)