This package has been deprecated

Author message:

Ledger HW support maintained in @aeternity/aepp-sdk (see AccountLedger, AccountLedgerFactory)

@aeternity/ledger-app-api

0.2.2 • Public • Published

Deprecated

Ledger HW support maintained in @aeternity/aepp-sdk (see AccountLedger, AccountLedgerFactory).

æternity ledger app api

Build Status npm npm

Overview

This is the API to the æternity ledger app. With this API, you can communicate directly with the æternity ledger app and use embedded features such as requesting an address or signing transaction.

Each call to the API can trigger an UI response to the Ledger app, where the user will be able to validate the request.

Installation & Usage

Install the æternity ledger app api via npm

npm install @aeternity/ledger-app-api

Import the æternity ledger app api and transport u2f

import Ae from "@aeternity/ledger-app-api";
import TransportU2F from "@ledgerhq/hw-transport-u2f";

Here's an example of a api usage:

const transport = await TransportU2F.create();
const ae = new Ae(transport);
let address = await ae.getAddress(0);

Documentation

Full documentation can be found at aeternity.github.io/ledger-app-api

Package Sidebar

Install

npm i @aeternity/ledger-app-api

Weekly Downloads

5

Version

0.2.2

License

Apache-2.0

Unpacked Size

51.1 kB

Total Files

16

Last publish

Collaborators

  • hanssv
  • aebot
  • marc0olo
  • thepiwo
  • dincho
  • davidyuk