@ledgerhq/hw-app-tezos
TypeScript icon, indicating that this package has built-in type declarations

6.28.5 • Public • Published

GitHub, Ledger Devs Discord, Developer Portal

@ledgerhq/hw-app-tezos

Ledger Hardware Wallet Tezos JavaScript bindings.


Are you adding Ledger support to your software wallet?

You may be using this package to communicate with the Tezos Nano App.

For a smooth and quick integration:

  • See the developers’ documentation on the Developer Portal and
  • Go on Discord to chat with developer support and the developer community.

API

Table of Contents

Tezos

Tezos API

Parameters

  • transport Transport

Examples

import Tezos from "@ledgerhq/hw-app-tezos";
const tez = new Tezos(transport)

getAddress

get Tezos address for a given BIP 32 path.

Parameters
  • path string a path in BIP 32 format, must begin with 44'/1729'
  • options {verify: boolean?, curve: Curve?, ins: number?} (optional, default {})
Examples
tez.getAddress("44'/1729'/0'/0'").then(o => o.address)
tez.getAddress("44'/1729'/0'/0'", { verify: true })

Returns Promise<GetAddressResult> an object with address, publicKey

Dependencies (4)

Dev Dependencies (9)

Package Sidebar

Install

npm i @ledgerhq/hw-app-tezos

Weekly Downloads

609

Version

6.28.5

License

Apache-2.0

Unpacked Size

54.8 kB

Total Files

18

Last publish

Collaborators

  • thomas.coudray
  • ldg-github-ci
  • aboissiere
  • vbouzon
  • gbrahm-ledger
  • sergii-shkolin
  • phenry-ledger