Advanced · Eleven compiled listings checked against OpenZeppelin 5
Advanced Solidity: design contracts that survive contact with reality
Pack storage and measure gas, build state machines, factories and role systems, reason about proxies and upgrades, verify signatures, write invariants and threat-model your own design. Every task is checked and explained.
- Advanced
- About 16 hours
- 6 modules
- 13 hands-on activities
- Lifetime access
After this course you can design, review and plan the release of non-trivial smart contract systems.
The lessons, labs and quizzes open when you buy this course or choose it from a plan that includes courses. You can try one sample activity below without an account. Log in as a student to save your work, earn XP and badges, and get your completion recorded.
What you will be able to do
Optimise with evidence
Storage layout, gas measurement and safe savings.
Use proven patterns
State machines, pull payments, clones and roles.
Understand proxies
delegatecall, collisions, initialisers and UUPS.
Work with signatures
ECDSA, EIP-712 and replay protection.
Your learning roadmap
Each module has short lessons, hands-on practice and a quiz. Finish the practice and the quiz to complete a module.
- Open Storage, packing and gas
Storage, packing and gasStart here
You can predict storage slots, pack variables, choose calldata and unchecked blocks wisely and measure the gas saved.
- About 2.5 h
- 3 lessons
- 2 practice activities
- 7-question quiz
- Preview
Design patterns for contracts
You can implement a state machine, pull payments, a clone factory and roles, and explain when each fits.
- About 2.5 h
- 3 lessons
- 2 practice activities
- 7-question quiz
Projects you will complete
A packing and gas calculation
What a storage layout costs.
See where: A packing and gas calculationA state machine design
Stages, actions and risks.
See where: A state machine designA threat model
Assets, actors, threats and mitigations.
See where: A threat modelAn upgradeable vault design
Roles, layout, signatures, upgrade policy and tests.
See where: An upgradeable vault design
Practice tools built into the course
Compiled code listings
Contracts verified with solc against OpenZeppelin 5.
Spreadsheet lab
Gas, savings and batching calculations.
Document editor
Designs, plans and threat models.
Try a sample activity
A five-minute sorting activity. No account needed.
How you finish the course
- Finish the required labs in each module: they are checked automatically and explained when something is missing.
- Pass each module quiz (70% or more). Short tests inside the lessons give instant feedback.
- Complete the vault design and the final assessment.
Questions
Does the platform run my Solidity or tests?
No. The labs check your design, analysis and calculations. You run the code in your own tools, and the lessons show what to run.
What should I know first?
You should be comfortable with basic Solidity and the Ethereum model, for example from the earlier courses in this series.
Will it make my contracts safe?
It teaches habits that reduce risk. Contracts holding real value still need professional audits, legal advice and ongoing monitoring.
Ready when you are
Start with the first module. You can stop and come back at any time.