The Ethernaut is a Web3/Solidity based wargame inspired from overthewire.org, played in the Ethereum Virtual Machine. Each level is a smart contract that needs to be 'hacked'.
- Install foundry
- Clone repository
git clone -b forge --single-branch [email protected]:r1oga/ethernaut.git
- Run tests
- all
forge test --silent
- specific
LevelName
:forge test --mc LevelName --silent
- all
See wiki.
Nicole Zhu.
I couldn't solve a couple of levels myself , so I cheated a bit π
(especially for the Vault and Gatekeeper One levels).
Her walkthroughs are great teaching material on Solidity.
I also reused some diagram images from her posts.
Deconstructing a Solidity Contract βPart I: Introduction by Alejandro Santander from OpenZeppelin in collaboration with Leo Arias.