tea
truffle-export-abi
npm i truffle-export-abi
tea

truffle-export-abi

Simple tool to extract ABI from truffle build/ directory

by Maxime Biais

1.0.1 (see all)License:MITTypeScript:Not Found
npm i truffle-export-abi
Readme

truffle-export-abi

Simple tool to extract ABI from truffle build/ directory to a single file. This is a trivial tool but it can be handy when you're debugging your contract.

Install

$ npm install -g truffle-export-abi

CLI help

Example: truffle-export-abi -d /home/user/myproject/build/contracts/ -o /home/user/myproject/build/abi.json -v
Options:
   -d / --directory: location of the build files, [build/contracts] by default
   -o / --output: output file, [build/ABI.json] by default
   -v / --verbose

Build, run, example

# Setup the project
$ npm install

I included a stripped example of a ERC721 token files, you can ru

node index.js -v -d example/ -o abi.json

Downloads/wk

120

GitHub Stars

15

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
1.0.1
latest
4yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate