Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daltyboy11/more-evm-puzzles
10 More EVM Puzzles
https://github.com/daltyboy11/more-evm-puzzles
ethereum evm-bytecode solidity
Last synced: about 2 months ago
JSON representation
10 More EVM Puzzles
- Host: GitHub
- URL: https://github.com/daltyboy11/more-evm-puzzles
- Owner: daltyboy11
- Fork: true (fvictorio/evm-puzzles)
- Created: 2022-05-02T02:44:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T19:19:31.000Z (about 1 year ago)
- Last Synced: 2024-08-03T16:09:39.620Z (5 months ago)
- Topics: ethereum, evm-bytecode, solidity
- Language: JavaScript
- Homepage:
- Size: 153 KB
- Stars: 169
- Watchers: 5
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-huff - more-evm-puzzles
README
# 10 more EVM puzzles
Here are 10 more puzzles, inspired by the 10 EVM puzzles created by [@fvictorio](https://github.com/fvictorio/evm-puzzles). 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`](https://www.evm.codes/)'s reference and playground to work through this.