Skip to content

Latest commit

 

History

History
 
 

hw-app-tezos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Github, Ledger Devs Slack

@ledgerhq/hw-app-tezos

Ledger Hardware Wallet Tezos JavaScript bindings.

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