/mr-steal-yo-crypto-ctf-foundry

Solidity CTF challenges for mrstealyocrypto.xyz (foundry)

Primary LanguageSolidity

Mr Steal Yo Crypto CTF

A set of challenges to learn offensive security of smart contracts. Featuring interesting challenges loosely (or directly) inspired by real world exploits.

Created by @0xToshii

Play

Visit mrstealyocrypto.xyz

Primer & Hints: degenjungle.substack.com/p/mr-steal-yo-crypto-wargame

Note: main branch includes solutions, run git checkout implement to see problems without their respective solutions

Foundry Instructions

  1. Install foundry: foundry-book

  2. Clone this repo and install dependencies

forge install
  1. Code your solutions and run the associated test files
forge test --match-path test/challenge-name.sol

Rules & Tips

  • 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.