6.24.2-next.1 • Published 7 months ago

@ledgerhq/hw-app-multiversx v6.24.2-next.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

GitHub, Ledger Devs Discord, Developer Portal

@ledgerhq/hw-app-multiversx

Ledger Hardware Wallet Multiversx JavaScript bindings.


Are you adding Ledger support to your software wallet?

You may be using this package to communicate with the Multiversx 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

MultiversX

MultiversX API

Parameters

  • transport Transport
  • scrambleKey (optional, default "eGLD")

Examples

import MultiversX from "@ledgerhq/hw-app-multiversx";
const multiversx = new MultiversX(transport)

getAppConfiguration

Get MultiversX app configuration.

Examples
const result = await multiversx.getAppConfiguration();
const { contractData, accountIndex, addressIndex, version } = result;

Returns Promise\ an object with a contractData, accountIndex, addressIndex, version

getAddress

Get MultiversX address for a given BIP 32 path.

Parameters
  • path string a path in BIP 32 format
  • boolDisplay boolean? optionally enable or not the display
Examples
const result = await multiversx.getAddress("44'/508'/0'/0'/0'");
const { publicKey, address } = result;

Returns Promise<{publicKey: string, address: string}> an object with a address

setAddress

Set MultiversX address for a given BIP 32 path.

Parameters
  • path string a path in BIP 32 format
  • display boolean? optionally enable or not the display
Examples
const result = await multiversx.setAddress("44'/508'/0'/0/0");
result : Buffer;

Returns any an object with a address

6.24.2

7 months ago

6.24.2-next.1

7 months ago

6.24.2-next.0

7 months ago

6.24.1

7 months ago

6.24.1-next.0

7 months ago

6.24.1-nightly.1

7 months ago

6.24.1-nightly.0

7 months ago

6.24.0

8 months ago

6.23.1-nightly.0

9 months ago

6.24.0-next.0

9 months ago

6.23.0

9 months ago

6.23.0-nightly.1

9 months ago

6.23.0-nightly.0

9 months ago

6.23.0-next.0

9 months ago

6.22.0

10 months ago

6.22.0-next.0

10 months ago

6.22.0-next.1

10 months ago

6.22.0-nightly.0

10 months ago