{"_id":"@dust-defi/ledger-substrate","name":"@dust-defi/ledger-substrate","dist-tags":{"latest":"0.17.9"},"versions":{"0.17.9":{"name":"@dust-defi/ledger-substrate","version":"0.17.9","description":"JS / Node API for Kusama/Polkadot app running (Ledger Nano S/X)","author":{"name":"Zondax GmbH"},"license":"Apache-2.0","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"babel src --out-dir dist","build:ci":"yarn build && cp -f src/index.d.ts dist","test:unit":"jest -c jest.config.unit.js","test:integration":"jest -c jest.config.integration.js --runInBand --detectOpenHandles","linter":"eslint --ext .ts,.tsx,.js,.jsx --ignore-path .eslintignore .","linter:fix":"yarn linter --fix","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\""},"repository":{"type":"git","url":"git+https://github.com/dustprotocol/ledger-substrate-js.git"},"keywords":["Ledger","Javascript","Kusama","Polkadot"],"bugs":{"url":"https://github.com/dustprotocol/ledger-substrate-js/issues"},"homepage":"https://github.com/dustprotocol/ledger-substrate-js","dependencies":{"@babel/runtime":"^7.14.8","@ledgerhq/hw-transport":"^6.2.0","bip32":"2.0.6","bip32-ed25519":"git+https://github.com/dustprotocol/bip32-ed25519.git","bip39":"3.0.4","blakejs":"^1.1.1","bs58":"^4.0.1","hash.js":"^1.1.7"},"devDependencies":{"@babel/cli":"^7.14.8","@babel/core":"^7.14.8","@babel/node":"^7.14.7","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.8","@ledgerhq/hw-transport-node-hid":"^6.2.0","@ledgerhq/hw-transport-webusb":"^6.2.0","@ledgerhq/logs":"^6.2.0","@types/fs-extra":"^9.0.12","@types/jest":"^26.0.24","@types/ledgerhq__hw-transport":"^4.21.4","@types/pngjs":"^6.0.1","@types/sleep":"^0.0.8","@typescript-eslint/eslint-plugin":"^4.28.4","@typescript-eslint/parser":"^4.28.4","babel-eslint":"^10.1.0","babel-jest":"^27.0.6","core-js":"^3.15.2","crypto-js":"4.1.1","ed25519-supercop":"^2.0.1","eslint":"^7.31.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-jest":"^24.4.0","eslint-plugin-prettier":"^3.4.0","jest":"^26","jest-serial-runner":"^1.1.0","js-sha512":"^0.8.0","prettier":"^2.3.2","ts-jest":"^26","typescript":"^4.3.5"},"moduleDirectories":["node_modules","dist"],"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"publishConfig":{"access":"public"},"gitHead":"55b0c5b434fa772bb0484a0895275def8bbef435","_id":"@dust-defi/ledger-substrate@0.17.9","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-BzfLYQaS+7vIKDUAEUuXB1bl4V43PpPuxUH0cRJ++LyyKh5IZ9nC1p6SDUf9PHdUrGEf4KfaMyLj0ihbRa7iNQ==","shasum":"e9622dad7088d8619d10e6273f041953e8709871","tarball":"https://registry.npmjs.org/@dust-defi/ledger-substrate/-/ledger-substrate-0.17.9.tgz","fileCount":28,"unpackedSize":411551,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD33/ltWpBaDgaLaqQ6Ekx0uzxUQlFBvJDr68N97zQf8wIgH3ghbNv0+2cysFiFDEzi7Q6zZy1BpXetwZpDfwg6vdc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJij0HGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2Hw/+K7IGqnonQW/LZhp5ykXoNG14JwFjs23ypBpMjDPGIWVBKmX3\r\nKwIfoZPHnHA9TP79w3++GRbvISXGFprG8sHxmUqgL5M5R2TSTwDYuJ1k3I7M\r\n6pnezsg0dxjMPR5KmeKn9IkguH70y6vtpL2aimn0DenhqIp4LiqFR5HU/JrA\r\nuvsp9ZqAFbECNMFlyC5ZLQF/CX6z8s2EYo4aGlJVDV3NVrG03N+Ju4YH9XAe\r\nSzyzRO5c1648c9VbBIyAM7v2h+ep2bkbMrxOPJFJ4qJUSYtbVB47NZfA+zpm\r\nunDAPn5IPi4O1oPZx3h+ZqyeqxPcroytI5m1URnNNCzxJJbZ+eAC/YbuGtY1\r\nPircvjOtnC6Qi2YSdFkwk0XHXjPmQMVwunJmOyIVTeE4/Ihthz9StkdBEv7l\r\njDZG6xYhks4KgqtwfeHl+gwtS94v25Yhkv5esV+S9I54W3EVgG4CATmaR12p\r\n9FU8QaU65WAUtYM7lu1T8mOQCz+c9FiKveomYzE8CL4S+XExunV5R1u/SJZ+\r\nB0P4h73qK5Hjtwri/4jnORnqei813p0GBnflUoucPjZdbZ17r6SIrPkdg9Tz\r\nQTpbcfYaCDEvyX3Y5tH7nNmvLFZtM6BjFiaNSjlR3qwDXy3WbSMYKqIssXPA\r\n3INaRvQLcCRAejUo/9283GkyyRm3jixvzNw=\r\n=Fcup\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"marlonhanks","email":"support@kedia.co"},"directories":{},"maintainers":[{"name":"marlonhanks","email":"support@kedia.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ledger-substrate_0.17.9_1653555654058_0.8340119809971118"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-26T09:00:53.951Z","0.17.9":"2022-05-26T09:00:54.236Z","modified":"2022-05-26T09:00:54.509Z"},"maintainers":[{"name":"marlonhanks","email":"support@kedia.co"}],"description":"JS / Node API for Kusama/Polkadot app running (Ledger Nano S/X)","homepage":"https://github.com/dustprotocol/ledger-substrate-js","keywords":["Ledger","Javascript","Kusama","Polkadot"],"repository":{"type":"git","url":"git+https://github.com/dustprotocol/ledger-substrate-js.git"},"author":{"name":"Zondax GmbH"},"bugs":{"url":"https://github.com/dustprotocol/ledger-substrate-js/issues"},"license":"Apache-2.0","readme":"# ledger-substrate (JS Integration)\n\n[![Main](https://github.com/dustprotocol/ledger-substrate-js/workflows/Main/badge.svg)](https://github.com/dustprotocol/ledger-substrate-gen/actions?query=workflow%3AMain)\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![npm version](https://badge.fury.io/js/%dust-defi%2Fledger-substrate.svg)](https://badge.fury.io/js/%dust-defi%2Fledger-substrate)\n\n\nThis package provides a basic client library to communicate with Substrate Apps running in a Ledger Nano S/X devices\n\nAdditionally, it provides a hd_key_derivation function to retrieve the keys that Ledger apps generate with\nBIP32-ED25519. Warning: the hd_key_derivation function is not audited and depends on external pacakges. We recommend\nusing the official Substrate Ledger apps in recovery mode.\n\n# Run Tests\n\n- Prepare your Ledger device (for instance, use https://github.com/dustprotocol/ledger-kusama)\n\n  - Prepare as development device:\n\n  - Build & load the Kusama app\n\n    - Load the Kusama App\n\n- Install all dependencies and run tests\n\n```shell script\nyarn install\nyarn test:integration\n```\n","readmeFilename":"README.md"}