@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.
2.1.0 - [December 11th 2020]
Works with Ledger Cardano app 2.1.0 and is backwards compatible with 2.0.4/2.0.5 as well*. Older versions of this library do not support Ledger Cardano app 2.1.0, therefore an update to this version of the library is required before Ledger Cardano app 2.1.0 is released.
Added
- Support for bulk public key export https://github.com/vacuumlabs/ledgerjs-cardano-shelley/pull/13/files
- Support for stake pool registration certificate as a pool owner https://github.com/vacuumlabs/ledgerjs-cardano-shelley/pull/12
- Docs for available calls https://github.com/vacuumlabs/ledgerjs-cardano-shelley/pull/17
Changed
- Allow transactions without outputs: https://github.com/vacuumlabs/ledgerjs-cardano-shelley/pull/16
- Updated flow types for Certificates, commit
Fixed