@thorchain/ledger-thorchain

Node API for THORChain App (Ledger Nano S/X)
78,110 1
Install
npm install @thorchain/ledger-thorchain@0.0.3
Latest Version:0.0.3
Vue:2
License:Apache-2.0
Last Updated:Sep 8, 2021
Links: GitHub  ·  npm
Maintainer: philipstanislaus

ledger-thorchain-js

License

This package provides a basic client library to communicate with a THORChain App running in a Ledger Nano S/X

We recommend using the npm package in order to receive updates/fixes.

Build

yarn build

Tests

Unit tests

yarn test:unit

e2e tests

`e2e' tests are to run some tests against your connected Ledger locally (no CI).

Create a .e2e.env (use .e2e.env.sample as template) to add THOR_PUB_KEY (public key of your Ledger) and THOR_ADDRESS (thor address of your Ledger).

Connect your Ledger, open THORChain app on it and start e2e tests locally:

yarn test:e2e

Hint: Add .only to the tests to run a single test only

Example

This repo also includes a simple Vue example for WebUSB and WebHID.

To run it locally

yarn serve

and open Chrome at https://localhost:8080/

Example

Related Packages

ledger-cosmos-js

Node API for Cosmos App (Ledger Nano S/X)

600,379 31
@terra-money/ledger-terra-js

API for Terra App (Ledger Nano S/X)

5,095 4
@xrpl-lending-network/network-wallet-core

XRPL address and key management, balances, payments and trust lines for code tha...

719 14
xrpl-connect

The easiest way to connect XRPL wallets to your app - Framework-agnostic toolkit...

13,941 27
@web3-onboard/gnosis

Safe module for connecting to Web3-Onboard. Web3-Onboard makes it simple to conn...

74,031 922

Version History

Version Released Vue License
0.0.3 ^2.6.14 Apache-2.0
0.0.2 ^2.6.14 Apache-2.0
0.0.1 ^2.6.14 Apache-2.0
Pre-releases (2)
Version Released Vue License
0.1.0-alpha.2 ^2.6.14 Apache-2.0
0.1.0-alpha.1 ^2.6.14 Apache-2.0