Truffle – How to Find the Exact Solidity Compiler Version Used by Truffle?

etherscantruffle

I'm trying to verify a contract I have compiled and deployed onto the network using Etherscan. The contract was compiled using truffle. How do I work out exactly which version of the solidity compiler to select on Etherscan?

Best Answer

I'm running Truffle 3.4.11 and running just: truffle version gives me the Solidity version as well:

truffle version                                                                                                                                                           
Truffle v3.4.11 (core: 3.4.11)
Solidity v0.4.15 (solc-js)
Related Topic