@dust-defi/ledger-substrate
v0.17.9
Published
JS / Node API for Kusama/Polkadot app running (Ledger Nano S/X)
Downloads
3
Maintainers
Readme
ledger-substrate (JS Integration)
This package provides a basic client library to communicate with Substrate Apps running in a Ledger Nano S/X devices
Additionally, it provides a hd_key_derivation function to retrieve the keys that Ledger apps generate with BIP32-ED25519. Warning: the hd_key_derivation function is not audited and depends on external pacakges. We recommend using the official Substrate Ledger apps in recovery mode.
Run Tests
Prepare your Ledger device (for instance, use https://github.com/dustprotocol/ledger-kusama)
Prepare as development device:
Build & load the Kusama app
- Load the Kusama App
Install all dependencies and run tests
yarn install
yarn test:integration