@ledgerhq/hw-transport-node-hid

Ledger Hardware Wallet Node implementation of the communication layer, using node-hid

Stats

StarsIssuesVersionUpdatedCreatedSize
@ledgerhq/hw-transport-node-hid
457956.7.0a day ago4 years agoMinified + gzip package size for @ledgerhq/hw-transport-node-hid in KB

Readme

Github, Ledger Devs Slack

@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

setListenDevicesPollingSkip

Parameters
  • conditionToSkip function (): boolean

setListenDevicesDebug

listen

Parameters

Returns Subscription

open

if path="" is not provided, the library will take the first device

Parameters

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.