Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

web_anmo-utils

anmotech5ISC1.12.14

Quality Tracing Chain JavaScript API

Quality Tracing Chain, JavaScript, API

readme

web_anmo-utils

This is a sub package of web_anmo.js

This contains useful utility functions for Dapp developers.
Please read the documentation for more.

Installation

Node.js

npm install web_anmo-utils

In the Browser

Build running the following in the web_anmo.js repository:

npm run-script build-all

Then include dist/web_anmo-utils.js in your html file. This will expose the Web3Utils object on the window object.

Usage

// in node.js
var Web3Utils = require(web_anmo-utils);
console.log(Web3Utils);
{
    sha3: function(){},
    soliditySha3: function(){},
    isAddress: function(){},
    ...
}