Emanuele Ricci
Emanuele Ricci
2 min read
Let’s play OpenZeppelin Ethernaut CTF — learning Solidity security while playing!
The Ethernaut is a Web3/Solidity based war game created by OpenZeppelin.
Each level is a smart contract that needs to be ‘hacked’. The game acts both as a tool for those interested in learning Ethereum, and as a way to catalog historical hacks in levels. Levels can be infinite, and the game does not require to be played in any particular order.
How to play
If you want to play it by your own, just go to the Ethernaut website and start solving the challenges.
Otherwise, you could clone my own personal repository, remove the solutions in the test
folder and build your own! I have explained in the README file how to do it, and it should be pretty easy.
Solutions to each puzzle
Each day I will publish the solution to a new challenge, so stay tuned.
- The Ethernaut Challenge #1 Solution — Fallback
- The Ethernaut Challenge #2 Solution — Fallout
- The Ethernaut Challenge #3 Solution — Coin Flip
- The Ethernaut Challenge #4 Solution — Telephone
- The Ethernaut Challenge #5 Solution — Token
- The Ethernaut Challenge #6 Solution — Delegation
- The Ethernaut Challenge #7 Solution — Force
- The Ethernaut Challenge #8 Solution — Vault
- The Ethernaut Challenge #9 Solution — King
- The Ethernaut Challenge #10 Solution — Re-entrancy
- The Ethernaut Challenge #11 Solution — Elevator
- The Ethernaut Challenge #12 Solution — Privacy
- The Ethernaut Challenge #13 Solution — Gatekeeper One
- The Ethernaut Challenge #14 Solution — Gatekeeper Two
- The Ethernaut Challenge #15 Solution — Naught Coin
- The Ethernaut Challenge #16 Solution — Preservation
- The Ethernaut Challenge #17 Solution — Recovery
- The Ethernaut Challenge #18 Solution — Magic Number
- The Ethernaut Challenge #19 Solution — Denial
- The Ethernaut Challenge #20 Solution — Shop
- The Ethernaut Challenge #21 Solution — Dex
- The Ethernaut Challenge #22 Solution — Dex Two
- The Ethernaut Challenge #23 Solution — Puzzle Wallet
- The Ethernaut Challenge #24 Solution — Double Entry Point
- More to come…