Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 831 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 831 Bytes

10 more EVM puzzles

Here are 10 more puzzles, inspired by the 10 EVM puzzles created by @fvictorio. These ones are harder and more focused on the CREATE and CALL opcodes. Have fun!

Each puzzle consists of sending a successful transaction to a contract. The bytecode of the contract is provided, and you need to fill the transaction CALLDATA and CALLVALUE 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.