...by Daniel Szego
quote
"Simplicity is the ultimate sophistication."
Leonardo da Vinci

Wednesday, December 6, 2017

Solidity and Truffle Tips and Tricks - file and contract names


If you use Ethereum development with Solidity and Truffle, always have one .sol solidity file for each contract and be sure that the file name is exactly the same as the contract name, including small and big capitals. Otherwise you get some exciting error messages like "could not find artifacts for  ... from any sources". This is especially true if you use the solidity test suit with Truffle.