Skip to main content

Introduction to OP Stack integration

Optimism is a low-cost and lightning-fast Ethereum L2 blockchain, built with the OP Stack.

Celestia is a modular consensus and data network, built to enable anyone to easily deploy their own blockchain with minimal overhead.

About the integration

Discover how to integrate existing blockchain frameworks like the OP Stack can integrate with Celestia in this category.


Tested on a machine with 8GB RAM, 160 GB SSD, Ubuntu 22.10, and a 4 core AMD CPU.


This is a beta integration and we are working on resolving open issues. The current testnet this setup is compatible with is the Arabica devnet.

Optimism uses Ethereum as a data availability (DA) layer. Currently, settlement and DA for Optimism are on Ethereum, both on-chain. op-batcher batches up rollup blocks and posts to Ethereum.

Table of contents of the category

Celestia and OP Stack repository

Find the repository for this integration here or at

What are Optimism and the OP Stack?

Optimism, an Ethereum L2 blockchain, is powered by the OP Stack, which is also the foundation for the Optimism Collective committed to the impact=profit principle. This rewards individuals for their positive contributions to the collective.

Optimism addresses crypto ecosystem coordination failures, like funding public goods and infrastructure. The OP Stack fosters collaboration and prevents redundancy by creating a shared, open-source system for developing new L2 blockchains within the proposed Superchain ecosystem.

As Optimism evolves, the OP Stack will adapt to include components from blockchain infrastructure to governance systems. This software suite aims to simplify L2 blockchain creation and support the Optimism ecosystem's growth and development.

Learn more about Optimism here.

What is Celestia?

Celestia is a modular consensus and data network, built to enable anyone to easily deploy their own blockchain with minimal overhead.

Celestia is a minimal blockchain that only orders and publishes transactions and does not execute them. By decoupling the consensus and application execution layers, Celestia modularizes the blockchain technology stack and unlocks new possibilities for decentralized application builders. Lean more at

OP Stack and Celestia

This category will guide you through how start your own devnet or testnet with a modified version of optimism-bedrock that uses Celestia as a DA layer.

The handling of data is accomplished in two ways. First, data is written to the data availability (DA) layer i.e. in this case Celestia, then the data commitment is written to the op-batcher. When reading op-node simply reads the data back from the DA layer by reading the data commitment from the op-batcher first, then reading the data from the DA layer using the data commitment. Hence, while previously op-node was reading from calldata on Ethereum, but now it reads data from Celestia.

There are a few tools involved in the data handling process. op-batcher batches up rollup blocks and posts them to Ethereum. op-geth handles execution, while op-proposer is responsible for state commitment submission.

By using Celestia as a DA layer, existing L2s can switch from posting their data as calldata on Ethereum, to posting to Celestia. The commitment to the block is posted on Celestia, which is purpose-built for data availability. This is a more scalable than the traditional method of posting this data as calldata on monolithic chains.

If you'd like to go modular, bedrock has made it easy to swap this out!

Next steps

Now that you understand the integration, you can start learning about the Taro testnet, built with OP Stack and Celestia! This testnet is a great way to explore the possibilities of this integration and test your applications in a live environment.