About Smart Contract
If you are a smart contract developer, you will need to consider something about the contract:
- Clean: No unused code, nonsense comment,
- Well document: Comment to all functions
- Formatted: Reformat, reformat, reformat
- Unit test all functions
- Migration for testnet and mainnet
- Avoid duplication code, avoid using too many unnecessary modifiers to reduce contract size
- Upgradable