Common Solidity Patterns
This is a list of common Solidity patterns, converted and explained to match Gno best practices.
Examples
- Basic Counter - Increment and decrement a counter stored in a contract.
- Only Owner can change - Simple example of ownership over a contract.
- State Lock - Modifiers.
- More common examples coming soon!
Note
If you have experience with Solidity, or a common pattern is missing from this list, please add more examples to the Monorepo!