@iotexproject/hw-transport-node-hid

5.13.3 • Public • Published

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
  • observer Observer<DescriptorEvent<string?>>

Returns Subscription

open

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

Parameters

Package Sidebar

Install

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

Weekly Downloads

1

Version

5.13.3

License

Apache-2.0

Unpacked Size

59.7 kB

Total Files

18

Last publish

Collaborators

  • taozhiyuzhuo
  • zongzheng
  • haaai_202108
  • qevan1
  • xueping
  • koishi
  • solan
  • maswalker