Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Latest commit

 

History

History
78 lines (48 loc) · 2.25 KB

File metadata and controls

78 lines (48 loc) · 2.25 KB

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