JSPM

  • Created
  • Published
  • Downloads 10260
  • Score
    100M100P100Q154647F
  • License Apache-2.0

JS / Node API for Kusama/Polkadot app running (Ledger Nano S/X)

Package Exports

  • @zondax/ledger-substrate
  • @zondax/ledger-substrate/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zondax/ledger-substrate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ledger-substrate (JS Integration)

Main

License npm version

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/zondax/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