js-moi-manifest
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

image

docs npm version license

latest tag issue count pulls count test status

js-moi-manifest

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

The js-moi-manifest package encodes and decodes data according to the MOI Manifest specification, facilitating interaction with logic objects. It simplifies the process of encoding and decoding data structures, making it easier to work with MOI logic objects.

Installation

Install the latest release using the following command.

npm install js-moi-manifest

Usage

    import { ManifestCoder } from "js-moi-manifest";

    const encodedManifest = ManifestCoder.encodeManifest(manifest)
    console.log(encodedManifest)

    // Output
    /*
        0x0e4f065 ... 50000
    */

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.

Package Sidebar

Install

npm i js-moi-manifest

Weekly Downloads

18

Version

0.4.0

License

Apache-2.0 OR MIT

Unpacked Size

155 kB

Total Files

33

Last publish

Collaborators

  • sarva-npm