@cardano-foundation/ledgerjs-hw-app-cardano
JS Library for communication with Ledger Hardware Wallets.
This library is compatible with the Cardano ADA Ledger Application.
Example code
Example code interacting with hw-app-cardano
is provided in example_node
directory.
To compile run yarn build-example
.
Run example by node example-node/lib/index.js
.
Tests
Automated tests are provided. There are two types of tests
yarn test-integration
. Tests JS api.yarn test-direct
. Mostly tests vartious corner cases. There are some extensive tests which are disabled by default, see tests source code. Also note that for these tests it is advised to install developer version of Cardano app with headless mode enabled, otherwise you spend your entire life confirming various prompts on device.