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

[TASK] Provide Ledger HW-Wallet Support #4060

Closed
ghost opened this issue Apr 23, 2018 · 3 comments
Closed

[TASK] Provide Ledger HW-Wallet Support #4060

ghost opened this issue Apr 23, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 23, 2018

Continuation of #3427 and #3631
Note: this issue has an edit-history


Prerequisites

Should be done before providing Ledger (or any other hw-wallet) Support :

See: https://github.com/lazaridiscom/mm-vault

#4201 - provide metadata
#4202 - provide (metadata-based) generic ui

Solution Paths

one(!) of the following (prioritized, most favorable first) :

mm-ledger-gateway

Directly in Chrome

hw-transport-cem

#4469 - Implement Ledger hw-transport-cem

ledger-live-desktop

https://github.com/LedgerHQ/ledger-live-desktop
(as suggested here: #4204 (comment))

Not the most elegant way, but still, a decent path (if other paths fail)

mm-ledger-connect

Implementation similar to Trezor-Connect:

(verify GPL / MIT license compliance, possibly the whole module must go from MIT to GPL)

ledger-wallet-api

https://github.com/LedgerHQ/ledger-wallet-api

Avoid (legacy), despite this seems the fastest way to achieve a result.

Use this api to interface to the Ledger Eth Chrome App.

  • verify that this interfacing works from within extensions (use the bitcoin App / Interface)
  • complete the development of the eth api (within the develop branch)
  • use it to create the relevant mm-ledger-module
  • Final Step: Shrink the Ledger Eth Chrome App down to a minimum code (just a gateway)

More Possible Solutions

from #4204 (comment)

(provided here mostly for the sake of completeness)

  • MetaMask adds a native component, that can talk directly to USB.
  • MetaMask becomes an Electron app, so can use @ledgerhq/hw-transport-node-hid.
  • MetaMask only adds Ledger support to Mascara, which is purely HTTPS.

Issues with Ledger

Deadline

30th June 2018

@ghost ghost mentioned this issue Apr 23, 2018
15 tasks
@ghost ghost self-assigned this Apr 25, 2018
@ghost ghost changed the title [TASK] Provide mm-vault (including Ledger Support) [TASK] Provide Ledger HW-Wallet Support Jun 16, 2018
@jamespic
Copy link

jamespic commented Jul 2, 2018

It looks like the Chromium devs would be more open to making WebUSB available to extensions than U2F. Looking at the discussion on https://bugs.chromium.org/p/chromium/issues/detail?id=770896, the issue for adding WebUSB support, it looks like they'd like to add it, but there's some dev work to do.

I imagine they'd be more open to a pull request implementing it, that they would be for U2F.

@ghost
Copy link
Author

ghost commented Jul 2, 2018

This sounds good! I've updated #4205 and moved it here in the list to the top

@ghost
Copy link
Author

ghost commented Aug 17, 2018

#5050 has implemented ledger-support via solution-path #4593 (mm-ledger-gateway)

This issue was closed.
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

No branches or pull requests

1 participant