useful-solidity-patterns

This repo is an ongoing collection of useful, and occasionally clever, solidity/EVM patterns that actually get used in the wild.

These bite-sized guides are written in approachable terms so engineers of all skill levels can understand them. Every guide comes with a concise, self-contained, working code example and tests to demonstrate the pattern. New patterns are added weekly.