Click here to Skip to main content
15,914,444 members
Everything / Truffle

Truffle

Truffle

Great Reads

by F. Aro
Your Ethereum Giveaway Smart Contract Lottery

Latest Articles

by F. Aro
Your Ethereum Giveaway Smart Contract Lottery

All Articles

Sort by Score

Truffle 

2 Feb 2021 by Richard Deeming
From a brief glance at the Truffle documentation[^], it looks like a contract cannot directly contain executable code. Instead, your code needs to be inside a function.
10 Aug 2018 by F. Aro
Your Ethereum Giveaway Smart Contract Lottery
2 Feb 2021 by Member 15062236
pragma solidity 0.6.0; contract Countries{ struct Places { string country; string state; } Places [] public places; for(i=0; i