ethers.js/packages/hardware-wallets
2020-07-13 06:50:29 -04:00
..
dist Fixed embedded pacakge version strings. 2020-06-12 23:04:10 -04:00
lib Added TypeScript map generation and files. 2020-07-13 06:50:29 -04:00
lib.esm Fixed embedded pacakge version strings. 2020-06-12 23:04:10 -04:00
src.ts Fixed embedded pacakge version strings. 2020-06-12 23:04:10 -04:00
.gitignore Initial code drop of new hardware wallet package. 2020-01-10 02:50:09 -05:00
.npmignore Initial code drop of new hardware wallet package. 2020-01-10 02:50:09 -05:00
package.json Fixed embedded pacakge version strings. 2020-06-12 23:04:10 -04:00
README.md Initial code drop of new hardware wallet package. 2020-01-10 02:50:09 -05:00
test.html Added dist files for hardware-wallets. 2020-01-10 20:09:40 -05:00
test.js Added dist files for hardware-wallets. 2020-01-10 20:09:40 -05:00
thirdparty.d.ts Initial code drop of new hardware wallet package. 2020-01-10 02:50:09 -05:00
tsconfig.json Initial code drop of new hardware wallet package. 2020-01-10 02:50:09 -05:00

Hardware Wallets

Thid is still very experimental.

I only have 1 ledger nano, and testing is done locally (CirlceCI doesn't have ledgers plugged in ;)).

API

import { LedgerSigner } from "@ethersproject/hardware-wallets";
const signer = new LedgerSigner(provider, type, path);
// By default:
//   - in node, type = "usb"
//   - path is the default Ethereum path (i.e.  `m/44'/60'/0'/0/0`)

License

All ethers code is MIT License.

Each hardware wallet manufacturer may impose additional license requirements so please check the related abstraction libraries they provide.

All Firefly abstraction is also MIT Licensed.