@logion/multiversx
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

Logion MultiverX SDK

This project provides some utility classes enabling the use of the MultiversX wallet with a logion client.

Note that only message signature is supported. So you will be able to authenticate and interact with logion off-chain services, but not submit extrinsics to the logion chain.

Usage

Install package @logion/multiversx with your favorite package manager and start siging content using the extension.

import { MultiversxSigner } from '@logion/multiversx';

const signer = new MultiversxSigner();
const address = await signer.login();

const client = LogionClient.create(...);
const account = client.api.queries.getValidAccountId(address, "Bech32");

let authenticatedClient = await client.authenticate([ account ], signer);

/@logion/multiversx/

    Package Sidebar

    Install

    npm i @logion/multiversx

    Weekly Downloads

    15

    Version

    0.1.13

    License

    Apache-2.0

    Unpacked Size

    3.88 kB

    Total Files

    6

    Last publish

    Collaborators

    • benoitdevos
    • gdethier