0.1.1 • Published 7 years ago
tweb3-mit-abi v0.1.1
tweb3-mit-abi
This is a sub package of tweb3.js
This is the abi package to be used in the tweb3-mit package.
Please read the documentation for more.
Installation
Node.js
npm install tweb3-mit-abiIn the Browser
Build running the following in the tweb3.js repository:
npm run-script build-allThen include dist/tweb3-mit-abi.js in your html file.
This will expose the Web3MitAbi object on the window object.
Usage
// in node.js
var Web3MitAbi = require('tweb3-mit-abi');
Web3MitAbi.encodeFunctionSignature('myMethod(uint256,string)');
> '0x24ee0097'-