Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

EigenDA Data Availability

This section describes the requirements to use OP Succinct Lite for a chain with EigenDA as the data availability layer. The requirements are additive to the ones required for OP Succinct Lite. Please refer to the Proposer section for the base configuration, and the Running with Docker section for general Docker guidance.

Environment Setup

Create two env files in the fault-proof directory with all required configuration variables:

  • .env.proposer for the proposer service
  • .env.challenger for the challenger service

Include all base variables from the Proposer section, plus the EigenDA-specific variable below. Use the same variable across both env files so both components can access EigenDA data if needed.

Required Variables

ParameterDescription
EIGENDA_PROXY_ADDRESSBase URL of the EigenDA Proxy REST service (e.g., http://localhost:3100). OP Succinct Lite connects to this proxy to retrieve and validate EigenDA blobs from DA certificates.

EigenDA Proxy

The EigenDA Proxy is a REST server that wraps EigenDA client functionality and conforms to the OP Alt-DA server spec. It provides:

  • POST routes: Disperse payloads into EigenDA and return a DA certificate.
  • GET routes: Retrieve payloads via a DA certificate; performs KZG and certificate verification.

See EigenDA Proxy for more details on how to run the proxy.

After running the proxy, set EIGENDA_PROXY_ADDRESS=http://127.0.0.1:3100 in the .env.proposer file.

Run Services with EigenDA DA

# Navigate to the fault-proof directory
cd fault-proof

# Start both proposer and challenger (EigenDA)
docker compose -f docker-compose-eigenda.yml up -d

To see the logs, run:

docker compose -f docker-compose-eigenda.yml logs -f

To stop the services, run:

docker compose -f docker-compose-eigenda.yml down