Skip to Content
Welcome to our new docs! šŸŽ‰
BuildStacksOP alt DA

OP Stack with Celestia DA

Overview

The OP Stack integration with Celestia enables rollups to post transaction data to Celestia instead of Ethereum, while still settling on Ethereum. This reduces costs and improves scalability by using Celestia as a modular data availability layer.

How it works

The op-batcher component batches rollup blocks and submits them to Celestia rather than posting calldata to Ethereum:

  1. Data submission: The batcher calls publishTxToL1 which retrieves batch data from the channel manager
  2. Celestia storage: For Celestia-enabled chains, celestia_storage.Put submits the blob to Celestia using a configured namespace
  3. Commitment recording: A commitment identifier (version byte + blob ID) is generated and recorded on Ethereum
  4. Data retrieval: When op-node needs data, it reads the commitment from Ethereum, then fetches the actual blob from Celestia

Celestia fork differences

The Celestia forkĀ  of OP Stack includes:

  • Direct blob submission to Celestia with namespace-based organization
  • Fallback mechanisms for DA failures (supporting both blob data and calldata alternatives)
  • Commitment-based references using Celestia block heights

Resources

Feel stuck? Go to our Discord!

Last updated on