Skip to content

anishnaik/evm-puzzles-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

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), open puzzles/puzzle_1.js, and fill the values of the solution. In the first puzzles you'll only need to fill the data variable, but later you might need to change the value too.

After filling the solution, check if it's valid by running npx hardhat run puzzles/puzzle_1.js. You'll get a message saying if the puzzle was solved or not. That's it. And if you solve it, continue with the next ones :)

You can use evm.codes's reference and playground to work through this.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published