I'll use this repo to track my approach to hack each level of The Ethernaut
Folders Structure:
- instance: level files from the contract instances
- test: test of the exploit locally
- script: exploit for each level in the actual chain
- broadcast: transactions record in sepolia
Wallet Used: Sepolia: 0x9606e11178a83C364108e99fFFD2f7F75C99d801
a.k.a. 0xJayPi.eth
- 00.Hello Ethernaut
- 01.Fallback
- 02.Fallout
- 03.CoinFlip
- 04.Telephone
- 05.Token
- 06.Delegation
- 07.Force
- 08.Vault
- 09.King
- 10.Reentrance
- 11.Elevator
- 12.Privacy
- 13.GatekeeperOne
- 14.GatekeeperTwo
- 15.NaughtCoin
- 16.Preservation
- 17.Recovery
- 18.Magic Number
- 19.Alien Codex
- 20.Denial
- 21.Shop
- 22.Dex
- 23.Dex Two
- 24.Puzzle Wallet
- 25.Motorbike
- 26.DoubleEntryPoint
- 27.Good Samaritan
- 28.Gatekeeper Three
- 29.Switch
- To test the code locallly:
forge test --mc ExploitLevel#
- To run the code in sepolia:
forge script script/Level#.exp.sol:ExploitLevel# --broadcast --rpc-url $SEPOLIA