@aleworm/hw-transport-node-hid
v6.0.1
Published
Ledger Hardware Wallet Node implementation of the communication layer, using node-hid
Downloads
42
Maintainers
Readme
@ledgerhq/hw-transport-node-hid
Allows to communicate with Ledger Hardware Wallets.
[Node]/Electron (HID) – uses node-hid
and usb
.
API
Table of Contents
TransportNodeHid
Extends TransportNodeHidNoEvents
node-hid Transport implementation
Examples
import TransportNodeHid from "@ledgerhq/hw-transport-node-hid";
...
TransportNodeHid.create().then(transport => ...)
isSupported
list
setListenDevicesDebounce
Parameters
delay
number
setListenDevicesPollingSkip
Parameters
conditionToSkip
function (): boolean
setListenDevicesDebug
listen
Parameters
observer
Observer<DescriptorEvent<string?>>
Returns Subscription
open
if path="" is not provided, the library will take the first device
Parameters
path
string?