ΞthernautDAO is common goods DAO aimed at transforming developers into Ethereum developers.
They started releasing CTF challenges on Twitter, so how couldn't I start solving them?
- Created by ΞthernautDAO
- ΞthernautDAO Discord
- Foundry
- Foundry Book
curl -L https://foundry.paradigm.xyz | bash
foundryup
git clone git@github.com:StErMi/ethernautdao-ctf.git
cd ethernautdao-ctf
git submodule update --init --recursive
- Go to Alchemy or Infura
- Create an account
- Get an RPC URL for Goerli
# exa
5868
mple forge test --match-contract TestCoinFlip
forge test --match-contract <testname> --fork-url <your_rpc_url> --fork-block-number <blocknumber> -vv
Replace the following parameters
<testname>
with the name of your contract's name for the test<your_rpc_url>
with the RPC URL you just grabbed from Alchemy or Infura<blocknumber>
with a valid Goerli block number that allow you to run the test. Usually, a block after the deployment transaction block is fine
All Solidity code, practices and patterns in this repository are DAMN VULNERABLE and for educational purposes only.
I do not give any warranties and will not be liable for any loss incurred through any use of this codebase.
DO NOT USE IN PRODUCTION.