2020-01-10 10:50:09 +03:00
|
|
|
Hardware Wallets
|
|
|
|
================
|
|
|
|
|
2022-02-03 23:24:09 +03:00
|
|
|
This is still very experimental.
|
2020-01-10 10:50:09 +03:00
|
|
|
|
|
|
|
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:
|
2020-11-20 01:24:37 +03:00
|
|
|
// - in node, type = "hid"
|
2020-01-10 10:50:09 +03:00
|
|
|
// - 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.
|