Solutions to capture-the-ether CTF.
npm iYou need to configure environment variables:
cp .env.template .env
# fill out- Add the
PRIVATE_KEYof your metamask demo account. - Add the link to your Alchemy project at
ARCHIVE_URL
This repo uses hardhat to run the CTF challenges.
Challenges are implemented as hardhat tests in /test.
# run locally
npx hardhat test test/warmup/CallMeChallenge.ts
# once everything works, run all txs on ropsten testnet to gain points
npx hardhat test test/warmup/CallMeChallenge.ts --network ropsten