@vaporsproject/abi

Utilities and Classes for parsing, formatting and managing Vapory ABIs.

Usage no npm install needed!

<script type="module">
  import vaporsprojectAbi from 'https://cdn.skypack.dev/@vaporsproject/abi';
</script>

README

Vapory ABI Coder

This sub-module is part of the vapors project.

It is responsible for encoding and decoding the Application Binary Interface (ABI) used by most smart contracts to interoperate between other smart contracts and clients.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    ConstructorFragment,
    EventFragment,
    Fragment,
    FunctionFragment,
    ParamType,
    FormatTypes,

    AbiCoder,
    defaultAbiCoder,

    Interface,
    Indexed,

    /////////////////////////
    // Types

    CoerceFunc,
    JsonFragment,
    JsonFragmentType,

    Result,
    checkResultErrors,

    LogDescription,
    TransactionDescription

} = require("@vaporsproject/abi");

License

MIT License