Hardware Wallets

LedgerSigner inherits Signer

The Ledger Hardware Wallets are a fairly popular brand.

Importing in ES6 or TypeScript
import { LedgerSigner } from "@ethersproject/hardware-wallets";


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.