$ cnpm install hsd-ledger
This is a client library for ledger-app-hns. It uses primitives from hsd.
Currently, we only support Node.js. We have plans to support browser usage through WebUSB. Example usage can be found and run using the following files:
Note:
hsd
is a peer dependency.
More documentation to come...
$ npm test
For all end-to-end tests, a LOG_LEVEL
environment variable can be set to control the log output. Possible log levels include: none
, info
, warning
, debug
, error
, spam
.
Note: the end-to-end tests require a connected Ledger Nano S using the seed phrase:
abandon abandon abandon abandon abandon abandon
abandon abandon abandon abandon abandon about
$ npm run test-hid
$ npm run test-hsd
If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. </legalese>
This project is a fork of bledger.
See LICENSE for more info.
Copyright 2014 - 2016 © taobao.org |