Skip to main content
This guide provides step-by-step instructions for setting up the configuration and monitoring options for op-challenger. The challenger is a critical fault proofs component that monitors dispute games and challenges invalid claims to protect your OP Stack chain. See the OP-Challenger Explainer for a general overview of this fault proofs feature.
From the Karst upgrade, cannon-kona is the respected fault-proof game type, replacing op-program. Configure op-challenger with the cannon-kona trace type and a kona-client absolute prestate — a challenger still running the cannon / op-program trace type past Karst will not defend your chain. Separately, op-geth reached end-of-support on 2026-05-31; run op-reth as your L2 execution client. See the op-geth deprecation notice.
The challenger is responsible for:
  • Monitoring dispute games created by the fault proof system
  • Challenging invalid claims in dispute games
  • Defending valid state transitions
  • Resolving games when possible

Prerequisites

Essential requirements

Before configuring your challenger, complete the following steps:
1

Deploy OP Stack chain with fault proofs enabled

  • L1 contracts deployed with dispute game factory
  • Fault proof system active on your chain
  • Access to your chain’s contract addresses
  • Generate an absolute prestate for your network version - This is critical as the challenger will refuse to interact with games if it doesn’t have the matching prestate
2

Set up required infrastructure access

  • L1 RPC endpoint (Ethereum, Sepolia, etc.)
  • L1 Beacon node endpoint (for blob access)
  • L2 archive node with debug API enabled
  • Rollup node (op-node) with historical data
3

Prepare configuration files

  • rollup.json - Rollup configuration file
  • genesis-l2.json - L2 genesis file
  • prestate.json - The absolute prestate file generated in step 1

Software requirements

  • Git (for cloning repositories)
  • Go 1.21+ (if building from source)
  • Docker and Docker Compose (optional but recommended)
  • Access to a funded Ethereum account for challenger operations

Finding the current stable releases

To ensure you’re using the latest compatible versions of OP Stack components, always check the official releases page: OP Stack releases page This guide is verified against the following versions:
  • op-challengerop-challenger/v1.9.3 (look for the latest op-challenger/v*).
  • op-rethv2.2.5 (look for the latest op-reth release). op-reth is both the sequencer’s execution client and the archive node the challenger reads withdrawal proofs from.
  • kona-client — the absolute prestate is built from a tagged kona-client/v* release (e.g. kona-client/v1.6.0-rc.1). Use the tag matching the prestate registered on your chain; for governance-approved upgrades the version is named in the upgrade notice. See the kona-client prestate tutorial.
Always check the release notes to ensure you’re using compatible versions with your chain’s deployment. Using the op-challenger and kona-client versions named in the upgrade notice (or the latest matching releases) is the supported path.

Software installation

For challenger deployment, you can either build from source (recommended for better control and debugging) or use Docker for a containerized setup.

Build and configure

Building from source gives you full control over the binaries and is the preferred approach for production deployments.Clone and build op-challenger

Verify installation

Check that you have properly installed the challenger component:

Configuration setup

1

Organize your workspace

After building the binaries, create your challenger working directory:
2

Copy configuration files

3

Set up environment variables

You’ll need to gather several pieces of information before creating your configuration. Here’s where to get each value:L1 network access:
  • L1 RPC URL: Your L1 node endpoint (Infura, Alchemy, or self-hosted)
  • L1 Beacon URL: Beacon chain API endpoint for blob access
L2 network access:
  • L2 RPC URL: Your op-reth archive node endpoint
  • Rollup RPC URL: Your op-node endpoint with historical data
Challenger wallet:
  • Private key for challenger operations (must be funded)
Network configuration:
  • Game factory address from your contract deployment
  • Network identifier (e.g., op-sepolia, op-mainnet, or custom)
Copy and paste in your terminal, to create your env file.
Important: Replace ALL placeholder values (YOUR_ACTUAL_*) with your real configuration values.
4

Understanding key configuration flags

Create challenger startup script

Create scripts/start-challenger.sh:

Initializing and starting the challenger

Start the challenger

Verify challenger is running

Monitor challenger logs to ensure it’s operating correctly:
The challenger should show logs indicating:
  • Successful connection to L1 and L2 nodes
  • Loading of prestates and configuration
  • Monitoring of dispute games

Monitoring with op-dispute-mon

Consider running op-dispute-mon for enhanced security monitoring:
  • Provides visibility into all game statuses for the last 28 days
  • Essential for production challenger deployments

Next steps