Skip to content
Cardano bindings for Ledger Nano S JavaScript APIs for Node.js and browsers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example-node/src
script
src
test/src
.babelrc
.flowconfig
.gitignore
.prettierrc.js
LICENSE
README.md
package.json
yarn.lock

README.md

image

@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

  1. yarn test-integration. Tests JS api.
  2. 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.
You can’t perform that action at this time.