Miss any of our Open RFC calls?Watch the recordings here! »

@aeternity/ledger-app-api

0.2.0 • Public • Published

æ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

Install

npm i @aeternity/[email protected]

Version

0.2.0

License

Apache-2.0

Unpacked Size

48.3 kB

Total Files

16

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar