scti

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i scti

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

5.39 kB

Total Files

4

Last publish

Collaborators

  • rmi7