This repository is part of a post that belongs to a small series dedicated to motivating myself while learning how the evm works. You can find the first post here.
I'll be accepting pull requests for solvable challenges on this repo, so feel free to submit your own!
If you don't want to clone the repo and go straight to the challenges, below there they are with a link directly to the playground.
Note: Some solutions to the challenges will work correctly at evm.codes, but will fail while playing, so be sure to check them both. Trust evm.codes :)
- Puzzle #1 - Is it zero?
- Puzzle #2 - AAAAAAAAAAAaaaaaaaaaaahhh!!
- Puzzle #3 - I don't need charity, thanks.
- Puzzle #4 - Who you gonna call?!
- Puzzle #5 - You never eat your stake alive.
- Puzzle #6 - Sender or owner?
Clone this repository and install its dependencies (npm install
or yarn
). Then run:
npx hardhat play
And the game will start.
In some puzzles you only need to provide the value that will be sent to the contract, in others the calldata, and in others both values.
You can use evm.codes
's reference and playground to work through this.
Write-up by tnch @ notonlyowner - Solving yet another EVM puzzle.
Write-up by Norman - Write-up for yet another EVM puzzle