fvictorio/evm-puzzles

A collection of EVM puzzles

JavaScript

847

13 commits

updated Aug 4, 2023

See the code

README

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.

ethereum
evm
hardhat

fvictorio/evm-puzzles

A collection of EVM puzzles

JavaScript

847

13 commits

updated Aug 4, 2023

See the code

README

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.

ethereum
evm
hardhat

Significant stargazers

Rootul P

285 followers · starred Mar 2022

Arsenii Kulikov

257 followers · starred Apr 2023

zhiqiangxu

249 followers · starred Apr 2023

brockelmore

874 followers · starred Mar 2022