npm.io
0.9.3-4 • Published 7 years ago

app3-utils

Licence
LGPL-3.0
Version
0.9.3-4
Deps
6
Size
31 kB
Vulns
3
Weekly
0
Stars
1

app3-utils

This is a sub package of app3.js

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

Installation

Node.js

npm install app3-utils
In the Browser

Build running the following in the app3.js repository:

npm run-script build-all

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

Usage

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