abi-to-wrap
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Abi to wrap

Abi to wrap is a node.js console app that can read an Ethereum smart contract abi file and generate Polywrap wrapper code for schema and AssemblyScript modules.

Run without cloning the repo:

  1. Install with "npm install -g abi-to-wrap"
  2. run "wrap-persistence-node {command}"

Run with cloning the repo:

  1. Clone the repo
  2. Run "nvm install && nvm use"
  3. Run "yarn" to install dependencies
  4. Run "yarn dev {command}" to run the commands with ts-node

The following commands are supported:

  • gen: Generate wrapper code from ABI (params: -a (path to abi file), -o (path to output dir))
  • help: Display help for command

Package Sidebar

Install

npm i abi-to-wrap

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

29 kB

Total Files

46

Last publish

Collaborators

  • nerfzael