0.4.0 • Published 15 days ago

js-moi-wallet v0.4.0

Weekly downloads
-
License
Apache-2.0 OR MIT
Repository
github
Last release
15 days ago

image

docs npm version license

latest tag issue count pulls count test status

js-moi-wallet

This is a sub-package of js-moi-sdk.

The js-moi-wallet package represents a Hierarchical Deterministic Wallet capable of signing interactions and managing accounts. It provides a convenient interface for managing multiple accounts, generating keys, and securely signing interactions.

Installation

Install the latest release using the following command.

npm install js-moi-wallet

Usage

    import { Wallet } from "js-moi-wallet";

    const initWallet = async () => {
        const mnemonic = "mother clarify push liquid ordinary social track ...";
        const wallet = await Wallet.fromMnemonic(mnemonic);
        const provider = new JsonRpcProvider("http://localhost:1600/");

        wallet.connect(provider);

        return wallet;
    };

    const wallet = await initWallet();

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.

License

© 2023 Sarva Labs Inc. & MOI Protocol Developers.

This project is licensed under either of

at your option.

The SPDX license identifier for this project is MIT OR Apache-2.0.

0.4.0

15 days ago

0.3.0-rc4

28 days ago

0.3.0-rc3

3 months ago

0.2.1

3 months ago

0.3.0-rc2

3 months ago

0.3.0-rc1

3 months ago

0.2.1-rc2

3 months ago

0.2.0

3 months ago

0.2.1-rc1

3 months ago

0.2.0-alpha3

4 months ago

0.2.0-alpha2

4 months ago

0.2.0-alpha1

4 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

10 months ago