scti
v0.1.2
Published
cli tool to convert truffle json abi to solidity abstract/interface contract
Downloads
12
Maintainers
Readme
scti
solidity contract to interface
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