6.21.1 • Published 9 months ago
@ledgerhq/hw-app-elrond v6.21.1
GitHub, Ledger Devs Discord, Developer Portal
@ledgerhq/hw-app-elrond
Ledger Hardware Wallet Elrond JavaScript bindings.
Are you adding Ledger support to your software wallet?
You may be using this package to communicate with the Elrond 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
Elrond
Elrond API
Parameters
transport
TransportscrambleKey
(optional, default"eGLD"
)
Examples
import Elrond from "@ledgerhq/hw-app-elrond";
const elrond = new Elrond(transport)
getAppConfiguration
Get Elrond app configuration.
Examples
const result = await elrond.getAppConfiguration();
const { contractData, accountIndex, addressIndex, version } = result;
Returns Promise\ an object with a contractData, accountIndex, addressIndex, version
getAddress
Get Elrond address for a given BIP 32 path.
Parameters
Examples
const result = await elrond.getAddress("44'/508'/0'/0'/0'");
const { publicKey, address } = result;
Returns Promise<{publicKey: string, address: string}> an object with a address
setAddress
Set Elrond address for a given BIP 32 path.
Parameters
Examples
const result = await elrond.setAddress("44'/508'/0'/0/0");
result : Buffer;
Returns any an object with a address
6.21.1
9 months ago
6.21.1-next.0
10 months ago
6.21.1-nightly.0
10 months ago
6.20.0
4 years ago
6.19.0
4 years ago
6.11.2
4 years ago
6.11.0
4 years ago
6.10.0
4 years ago
6.9.1-taproot.0
4 years ago
6.7.0
4 years ago
6.3.0
4 years ago
6.2.0-bsc.5
4 years ago
6.2.0-bsc.4
4 years ago
6.2.0
4 years ago
6.2.0-bsc.1
4 years ago
6.2.0-bsc.2
4 years ago
6.2.0-bsc.3
4 years ago
6.2.0-bsc.0
4 years ago
6.1.0
4 years ago
6.0.0
4 years ago