Search code examples
soliditysmartcontractstruffle

How to generate the standard-JSON solc Input file with truffle?


How to generate the standard-JSON solc Input file with truffle?

I searched all internet (of course Truffle docs), found nothing.

I need this standard-JSON input file for contract source verification (do not want to flatten files).


Solution

  • I wrote a Truffle plugin for this porpuse:

    https://github.com/mhrsalehi/truffle-plugin-stdjsonin