ethers.js/docs/v5/api/other/hardware
2020-06-12 19:21:37 -04:00
..
index.html Updated docs. 2020-06-12 19:21:37 -04:00
README.md Check-in old v5 docs changes. 2020-06-09 23:56:58 -04:00

Documentation: html

Hardware Wallets

LedgerSigner

import { LedgerSigner } from "@ethersproject/hardware-wallets";

API

**new **LedgerSigner( [ provider [ , type [ , path ] ] ] ) => LedgerSigner

Connects to a Ledger Hardware Wallet. The type if left unspecified is determined by the environment; in node the default is "hid" and in the browser "u2f" is the default. The default Ethereum path is used if path is left unspecified.