A wrapper library around the official Ledger JavaScript library that attempts to simplify usage and handle various failure modes/problems.
Usage
;
Development
Note 1
package-lock.json
force updates node-hid
, a transitive dependency of ledgerco
to 0.6.0
. This is necessary to get things working on Windows without requiring python as well as get tests working in Docker until ledgerco
upgrades its dependency on node-hid
to 0.6.0
.
Testing with a physical ledger
You can test in node by building the TypeScript files and then running node output/scripts/node.js
.
You can test in browser (chrome only, look at developer console) by building the TypeScript files and then running npx budo output/scripts/browser.js --ssl
(note: you need openssl binaries on your path or in the root of your project).