...by Daniel Szego
"On a long enough timeline we will all become Satoshi Nakamoto.."
Daniel Szego

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.