I have been using solc-js in javascript to compile .sol contracts. However, many old smart contracts use older compiler versions that are specified using pragma in the smart contract source code. How can I automate the compile process using solc-js for different smart contracts written for different versions of the compilers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.