Skip to content

iampukar/evm-puzzles

Repository files navigation

EVM puzzles

A collection of EVM puzzles. Each puzzle consists on sending a successful transaction to a contract. The bytecode of the contract is provided, and you need to fill the transaction data that won't revert the execution.

How to play

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.

Solution

Puzzle Solution
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10