ethers.js/docs.wrm/api/other/hardware/index.wrm

16 lines
556 B
Plaintext
Raw Normal View History

2020-02-01 11:39:21 +03:00
_section: Hardware Wallets
_subsection: LedgerSigner @<hw-ledger> @INHERIT<[[signer]]> @SRC<hardware-wallets:class.LedgerSigner>
2020-02-02 15:58:29 +03:00
The [Ledger Hardware Wallets](link-ledger) are a fairly
2020-02-01 11:39:21 +03:00
popular brand.
TODO: importing
_heading: API
_property: new LedgerSigner([provider [, type [ , path ] ] ]) => [[hw-ledger]]
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.