Socket
Socket
Sign inDemoInstall

@xchainjs/ledger-thorchain

Package Overview
Dependencies
91
Maintainers
10
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @xchainjs/ledger-thorchain

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


Version published
Maintainers
10
Created

Readme

Source

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

Keywords

FAQs

Last updated on 18 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc