mitweb3-mit-abi

0.1.0 • Public • Published

mitweb3-mit-abi

This is a sub package of mitweb3.js

This is the abi package to be used in the mitweb3-mit package.

Installation

Node.js

npm install mitweb3-mit-abi

In the Browser

Build running the following in the mitweb3.js repository:

npm run-script build-all

Then include dist/mitweb3-mit-abi.js in your html file. This will expose the Web3MitAbi object on the window object.

Usage

// in node.js
var Web3MitAbi = require('mitweb3-mit-abi');

Web3MitAbi.encodeFunctionSignature('myMethod(uint256,string)');
> '0x24ee0097'

Readme

Keywords

none

Package Sidebar

Install

npm i mitweb3-mit-abi

Weekly Downloads

1

Version

0.1.0

License

LGPL-3.0

Unpacked Size

38 kB

Total Files

13

Last publish

Collaborators

  • mittnb