hsd-ledger
Communication and management of ledger devices
Last updated 2 years ago by boymanjor .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hsd-ledger 
SYNC missed versions from official npm registry.

hsd-ledger

This is a client library for ledger-app-hns. It uses primitives from hsd.

Usage

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...

Tests

Unit tests

$ npm test

End-to-end tests

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

Using Ledger Nano S

$ npm run test-hid

Using Ledger Nano S and hsd

$ npm run test-hsd

Contribution and License Agreement

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>

License

  • Copyright (c) 2018, Boyma Fahnbulleh (MIT License).

This project is a fork of bledger.

bledger

  • Copyright (c) 2018, The Bcoin Developers (MIT License).

See LICENSE for more info.

Current Tags

  • 0.1.0-rc1                                ...           latest (2 years ago)

1 Versions

  • 0.1.0-rc1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (5)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |