My solutions for Paradigm CTF 2021.
Solved Challenges:
- Babycrypto
- Babyrev
- Babysandbox
- Bank
- Bouncer
- Broker
- Farmer
- Hello
- JOP
- Lockbox
- Market
- Rever
- Secure
- Swap
- Upgrade
- Vault
- Yield Aggregator
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.
npm i
You need to configure environment variables:
cp .env.template .env
# fill out
# run challenge farmer
npx hardhat test test/farmer.ts