Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest Ledger Live derivation path #201

Closed
wants to merge 1 commit into from

Conversation

mikeshultz
Copy link
Contributor

This is a short-term "fix" that I don't really like but may be the best option right now for Ledger users.

This updates our LedgerConnector to use the same HD path as Ledger Live. Anyone who created accounts on their ledger using the previous Ledger chrome app, or MEW will be surprised that the address that shows up after connection is different. LedgerConnector currently defaults to using the path that Ledger chrome app used.

Long term, I think we should create our own web3-react error for Ledger so it can try different derivations looking for an account with an ETH balance and falling back to the first account on the Ledger Live HD path. This is the behavior of Ledger Live when looking for accounts on the device.

Anyone who initialized their Ledger in the last year(?) or so will use this derivation path.

More info in #21

@mikeshultz mikeshultz self-assigned this Sep 18, 2020
@mikeshultz
Copy link
Contributor Author

Working on a long-term solution that looks like it'll work. Just needs a bit more testing but it'll replace this PR.

@mikeshultz
Copy link
Contributor Author

I recommend #203 over this PR.

@mikeshultz mikeshultz closed this Sep 18, 2020
@tomlinton tomlinton deleted the mikeshultz/ledger-derivation-path branch October 30, 2020 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant