@ledgerhq/hw-app-tezos
v6.33.0
Published
Ledger Hardware Wallet Tezos Application API
Readme
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
transportTransport
Examples
import Tezos from "@ledgerhq/hw-app-tezos";
const tez = new Tezos(transport)getAddress
get Tezos address for a given BIP 32 path.
Parameters
pathstring 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
