Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@nimiq/ledger-api

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nimiq/ledger-api

Api for communicating with Ledger Hardware Wallets

latest
Source
npmnpm
Version
3.1.1
Version published
Maintainers
0
Created
Source

Nimiq Ledger Api

Api for communication with the Ledger Hardware Wallet Nimiq App. Check out the demo.

Installation

yarn add @nimiq/ledger-api

Usage

This package provides two different apis:

  • A low level api with a similar basic api as the apis for other coins in Ledger's @ledgerhq/hw-app-* packages.
  • A high level api which builds on top of the low level api but provides an improved api, optimizations for specific transport types and better usability. This is the api you'll typically want to use.

The apis are documented as jsdoc comments in low-level-api.ts and ledger-api.ts.

For a comparison of the available transport libraries, see transport-comparison.md.

Development and building the library

To run the demo page use:

yarn serve

Note that this serves the demo via https which is required for communicating with the Ledger.

To build the library:

yarn build

Keywords

nimiq

FAQs

Package last updated on 21 Nov 2024

Did you know?

Socket

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