A set of challenges to learn offensive security of smart contracts. Featuring interesting challenges loosely (or directly) inspired by real world exploits.
Kudos to @0xToshii
Visit mrstealyocrypto.xyz
-
Install foundry: foundry-book
-
Clone this repo and install dependencies
forge install
- Code your solutions and run the associated test files
forge test --match-path test/challenge-name.sol
- In all challenges you must use the account called attacker (unless otherwise specified).
- In some cases, you may need to code and deploy custom smart contracts.