@ledgerhq/hw-transport-node-hid
TypeScript icon, indicating that this package has built-in type declarations

6.28.6 • Public • Published

GitHub, Ledger Devs Discord, Developer Portal

@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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @ledgerhq/hw-transport-node-hid

Weekly Downloads

35,927

Version

6.28.6

License

Apache-2.0

Unpacked Size

66.6 kB

Total Files

26

Last publish

Collaborators

  • thomas.coudray
  • ldg-github-ci
  • aboissiere
  • vbouzon
  • gbrahm-ledger
  • sergii-shkolin
  • phenry-ledger