web3-won-abi
v1.0.1-beta.36
Published
Web3 module encode and decode EVM in/output.
Downloads
3
Readme
web3-won-abi
This is a sub package of [web3.js][repo]
This is the abi package to be used in the web3-won
package.
Please read the [documentation][docs] for more.
Installation
Node.js
npm install web3-won-abi
In the Browser
Build running the following in the [web3.js][repo] repository:
npm run-script build-all
Then include dist/web3-won-abi.js
in your html file.
This will expose the Web3WonAbi
object on the window object.
Usage
// in node.js
var Web3WonAbi = require('web3-won-abi');
Web3WonAbi.encodeFunctionSignature('myMethod(uint256,string)');
> '0x24ee0097'