2

Using trufffle-flattener, I am trying to create a flat file merging all the related solidity based codes. After executing the flattening scripts, I see only the empty flat file getting created. Could you please assist me in resolving this issue ?

enter image description here enter image description here

1 Answer 1

8

Try to use output parameter:

truffle-flattener .\contracts\WetherCrowdsale.sol --output WetherCrowdsale_flat.sol
1
  • 1
    sudo npm install -g truffle-flattener to use above solution
    – cryptoKTM
    Aug 20, 2020 at 14:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.