app3-apis-abi

App3 module encode and decode EVM in/output.

Usage no npm install needed!

<script type="module">
  import app3ApisAbi from 'https://cdn.skypack.dev/app3-apis-abi';
</script>

README

app3-apis-abi

This is a sub package of app3.js

This is the abi package to be used in the app3-apis package. Please read the documentation for more.

Installation

Node.js

npm install app3-apis-abi

In the Browser

Build running the following in the app3.js repository:

npm run-script build-all

Then include dist/app3-apis-abi.js in your html file. This will expose the App3ApisAbi object on the window object.

Usage

// in node.js
var App3ApisAbi = require('app3-apis-abi');

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