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

6.29.0 • 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

Package Sidebar

Install

npm i @ledgerhq/hw-app-tezos

Weekly Downloads

890

Version

6.29.0

License

Apache-2.0

Unpacked Size

56.5 kB

Total Files

18

Last publish

Collaborators

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