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

6.29.5 • 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

Package Sidebar

Install

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

Weekly Downloads

47,305

Version

6.29.5

License

Apache-2.0

Unpacked Size

73.7 kB

Total Files

26

Last publish

Collaborators

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