Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 772 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 772 Bytes

capture-the-ether

Solutions to capture-the-ether CTF.

Development

npm i

You need to configure environment variables:

cp .env.template .env
# fill out
  • Add the PRIVATE_KEY of your metamask demo account.
  • Add the link to your Alchemy project at ARCHIVE_URL

Hardhat

This repo uses hardhat to run the CTF challenges. Challenges are implemented as hardhat tests in /test.

Running challenges

# 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