ethers-io / ext-signer-ledger

Ethers extension for LedgerSigner for Ledger Hardware Wallet support.
https://ethers.org
MIT License
7 stars 1 forks source link

use hw-transport-webusb instead of hw-transport-u2f on hardware-wallet #7

Closed yurenju closed 1 year ago

yurenju commented 3 years ago

since hw-transport-u2f is deprecated and will be removed in Q1 2021, it should be replaced by hw-transport-webusb which is ledger official recommend.

references:

ricmoo commented 3 years ago

Awesome! Thanks for the info. I'll look into this in a week or two. :)

mudgen commented 3 years ago

What is the status of this?

ricmoo commented 3 years ago

I haven't had a chance to look into this yet. I will set it as on-deck though, so once I'm complete with EIP-2718 and EIP-2930 it will be higher on my TODO list. :)

ricmoo commented 1 year ago

The new @ethers-ext/signer-ledger (this package) should now uses the Ledger-provided transport packages; you can pass in the package import directly, the dereferenced package import or a .create() instance of the transport, for maximal flexibility and simplicity.

Check out the README for a quick example.

This should make things much easier and let you use whichever transport works best for your environment. And of course, all feedback is welcome.

Thanks! :)