Polygon Labs ethDenver CTFs
- Clone the repository
- Set a valid RPC URL in the .env file as specified in the .env.example file
- Install Docker
- build the Docker image with
docker build -t polygon-ctfs .
- run the Docker container with
docker run -it --rm -v "/${PWD}:/polygon-ctfs" polygon-ctfs bash
- Code your solution in the
Attacker.sol
file (inside each challenge's folder in the test folder) - Run the challenge with
forge test --mt ChallengeNameChallenge challenge-name
. If the test is executed successfully, you've passed!