Coder Social home page Coder Social logo

doto's Introduction

Defense of The Outputs

Join the battle against illegitimate disputes by defending proposed outputs on Optimism Goerli. This repository is your gateway to an effortless participation in the Fault Dispute Game (FDG).

Requirements

Make sure you have the following installed on your system:

  • docker (with docker compose)
  • foundry
  • At least 30 GB of available disk

Configuration:

Create a .env file with the following envars set:

  • OP_CHALLENGER_L1_ETH_RPC - A Goerli Goerli ETH-RPC endpoint
  • OP_CHALLENGER_CANNON_L2 - A Optimism Goerli ETH-RPC endpoint
  • OP_CHALLENGER_PRIVATE_KEY - Your Goerli account private key

Running the Defender

The Defender is a op-challenger preconfigured to participate in Fault Dispute Games created by the Fault Dispute Game Factory contract on Goerli. Once the above configs are set, simply run bash defend.sh to begin. The defend script will run the op-challenger on a single random fault dispute game. If you'd like to participate in multiple games then you should join the frontlines.

Fronline Defense

If you have sufficient disk (and CPU), you can participate in defending outputs from the frontline by participating in all disputes games. Simply run docker compose up op-challenger to join the frontline.

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.