Home

Awesome

paradigm-ctf 2021

My solutions for Paradigm CTF 2021.

📚 Writeup: https://cmichel.io/paradigm-ctf-2021-solutions/

Solved Challenges:

Running challenges

Most challenges can be run in a local hardhat environment by forking mainnet and deploying the setup contract. Challenges are implemented as hardhat tests in /test.

To fork the mainnet, you need an archive URL like the free ones from Alchemy.

Development

npm i

You need to configure environment variables:

cp .env.template .env
# fill out

# run challenge farmer
npx hardhat test test/farmer.ts