pec-eth-abi
v1.0.5
Published
pec module encode and decode EVM in/output.
Downloads
20
Readme
pec-eth-abi
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
This is a sub-package of [pec.js][repo].
This is the abi package used in the pec-eth
package.
Please read the [documentation][docs] for more.
Installation
Node.js
npm install pec-eth-abi
Usage
const Web3EthAbi = require('pec-eth-abi');
Web3EthAbi.encodeFunctionSignature('myMethod(uint256,string)');
> '0x24ee0097'
Types
All the TypeScript typings are placed in the types
folder.