@ledgerhq/hw-app-tezos
v6.29.4
Published
Ledger Hardware Wallet Tezos Application API
Downloads
3,047
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
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