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:
- Data submission: The batcher calls
publishTxToL1which retrieves batch data from the channel manager - Celestia storage: For Celestia-enabled chains,
celestia_storage.Putsubmits the blob to Celestia using a configured namespace - Commitment recording: A commitment identifier (version byte + blob ID) is generated and recorded on Ethereum
- Data retrieval: When
op-nodeneeds 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