This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@ledgerhq/hw-transport-node-hid with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Allows to communicate with Ledger Hardware Wallets.
[Node]/Electron (HID) – uses
node-hid Transport implementation
import TransportNodeHid from "@ledgerhq/hw-transport-node-hid"; ... TransportNodeHid.create().then(transport => ...)
Exchange with the device using APDU protocol.
release the USB device.
conditionToSkipfunction (): boolean
if path="" is not provided, the library will take the first device