Solidity Smart Contract Convention X

Nhan Cao
3 min readMar 14, 2022

Just a convention to make a good-looking contract. :3
Feel free to apply it.


- src
/active: For working contracts
/interfaces: Contains all contract interface type
/libraries: Contains all library type
/utils: Contains all utility type
XXXToken.sol: ERC20 token, ...
XXXContract.sol: Your contract implementation
/archived: For reference, sample contract, etc
/stash: Temporary contract storage. This contract can be moved to `active` for deployment