0.1.2 • Published 5 years ago

scti v0.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

scti

solidity contract to interface

License Version Download

given a truffle json file, convert the abi to a Solidity abstract contract/interface.

Usage

without install

npx scti ~/my-truffle-project/build/json/MyContract.json

with install

npm i -g scti
scti ~/my-truffle-project/build/json/MyContract.json

Output

The output will be printed to stdout, which you can redirect to a file:

npx scti ~/my-truffle-project/build/json/MyContract.json > MyContractInterface.sol

License

MIT