Giter Site home page Giter Site logo

ethernautdao-ctf's Introduction

EthernautDAO CTF - Foundry edition

What is EthernautDAO CTF

Ξ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?

Acknowledgements

How to play

Install Foundry

curl -L https://foundry.paradigm.xyz | bash

Update Foundry

foundryup

Clone repo and install dependencies

git clone [email protected]:StErMi/ethernautdao-ctf.git
cd ethernautdao-ctf
git submodule update --init --recursive

Get a Goerli RPC URL to fork the network

  • Go to Alchemy or Infura
  • Create an account
  • Get an RPC URL for Goerli

Run a solution

# example 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

Disclaimer

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.

ethernautdao-ctf's People

Contributors

stermi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.