@@ -7,43 +7,72 @@ description: Learn about the integration of OP Stack with Celestia.
77[ Optimism] ( https://optimism.io ) is a low-cost and lightning-fast Ethereum
88L2 blockchain, built with [ the OP Stack] ( https://stack.optimism.io/ ) .
99
10- [ Celestia] ( https://celestia.org ) is a modular consensus and data network,
10+ [ Celestia] ( https://celestia.org ) is a modular consensus and data availability (DA) network,
1111built to enable anyone to easily deploy their own blockchain with
1212minimal overhead.
1313
14- ## About the integration
14+ Together, they allow developers to create rollups that
15+ post data to Celestia and settle on Ethereum.
1516
16- _ Discover how to integrate existing blockchain frameworks
17- like the OP Stack with Celestia in this category._
18-
19- ::: tip
20- Tested on a machine with 8GB RAM, 160 GB SSD,
21- Ubuntu 22.10, and a 4 core AMD CPU.
22- :::
17+ ## About the integration
2318
2419This is a ** beta integration** and we are working on resolving
2520[ open issues] ( https://github.com/celestiaorg/optimism/issues ) .
2621
2722[ Optimism] ( https://www.optimism.io/ ) uses Ethereum as
28- a data availability (DA) layer. Currently, settlement and DA for
23+ a DA layer. Currently, settlement and DA for
2924Optimism are on Ethereum, both onchain. ` op-batcher ` batches up
3025rollup blocks and posts to Ethereum.
3126
32- ### Table of contents of the category
27+ The integration of OP Stack with Celestia underneath for DA
28+ allows rollup operators to reduce overhead that is associated with posting
29+ data as ` calldata ` on Ethereum. Instead, ` op-batcher ` batches up
30+ rollup blocks and posts them to Celestia's DA network.
3331
34- - [ Bubs testnet] ( ./bubs-testnet.md )
35- - [ Deploy a smart contract on Bubs testnet] ( ./deploy-on-bubs.md )
36- - [ Deploy a GM Portal dapp on Bubs testnet] ( ./gm-portal-bubs.md )
37- - [ Deploy an OP Stack devnet] ( ./optimism-devnet.md )
38- - [ Deploy an OP Stack devnet on Celestia] ( ./optimism.md )
32+ The handling of data is accomplished in two ways. First, data is written
33+ to the data availability (DA) layer i.e. in this case Celestia, then the
34+ data commitment is written to the ` op-batcher ` . When reading ` op-node `
35+ simply reads the data back from the DA layer by reading the
36+ data commitment from the ` op-batcher ` first, then reading the
37+ data from the DA layer using the data commitment. Hence, while
38+ previously ` op-node ` was reading from ` calldata ` on Ethereum,
39+ but now it reads data from Celestia.
3940
40- ## Celestia and OP Stack repository
41+ There are a few tools involved in the data handling process. ` op-batcher `
42+ batches up rollup blocks and posts them to Ethereum. ` op-geth ` handles
43+ execution, while ` op-proposer ` is responsible for state commitment
44+ submission.
45+
46+ By using Celestia as a DA layer, existing L2s can switch from posting
47+ their data as ` calldata ` on Ethereum, to posting to Celestia.
48+ The commitment to the block is posted on Celestia, which is
49+ purpose-built for data availability. This is a more scalable than
50+ the traditional method of posting this data as ` calldata ` on monolithic chains.
51+
52+ ### GitHub repository
4153
4254Find the
4355[ repository for this integration] ( https://github.com/celestiaorg/optimism/ )
4456at ` https://github.com/celestiaorg/optimism ` .
4557
46- ### What are Optimism and the OP Stack?
58+ ## Category contents
59+
60+ This category will guide you through interacting with existing OP Stack rollups
61+ with Celestia underneath, then how to start your own devnet
62+ with a modified version of ` optimism-bedrock ` that uses Celestia as a
63+ DA layer.
64+
65+ _ Discover how to integrate existing blockchain frameworks
66+ like the OP Stack with Celestia in this category._
67+
68+ - [ Bubs testnet] ( ./bubs-testnet.md ) : learn about
69+ the first testnet made with OP Stack with Celestia underneath
70+ - [ Deploy a smart contract on Bubs testnet] ( ./deploy-on-bubs.md )
71+ - [ Deploy a GM Portal dapp on Bubs testnet] ( ./gm-portal-bubs.md )
72+ - [ Deploy an OP Stack devnet] ( ./optimism-devnet.md )
73+ - [ Deploy an OP Stack devnet on Celestia] ( ./optimism.md )
74+
75+ <!-- ### What are Optimism and the OP Stack?
4776
4877Optimism, an Ethereum L2 blockchain, is powered by the OP Stack,
4978which is also the foundation for the
@@ -61,47 +90,7 @@ blockchain infrastructure to governance systems. This software suite aims
6190to simplify L2 blockchain creation and support the Optimism ecosystem's
6291growth and development.
6392
64- Learn [ more about Optimism] ( https://www.optimism.io/ ) .
65-
66- ### What is Celestia?
67-
68- Celestia is a modular consensus and data network, built to enable anyone to
69- easily deploy their own blockchain with minimal overhead.
70-
71- Celestia is a minimal blockchain that only orders and publishes transactions
72- and does not execute them. By decoupling the consensus and application
73- execution layers, Celestia modularizes the blockchain technology stack
74- and unlocks new possibilities for decentralized application builders.
75- Learn more at [ Celestia.org] ( https://celestia.org ) .
76-
77- ## OP Stack and Celestia
78-
79- This category will guide you through how to start your own devnet
80- with a modified version of ` optimism-bedrock ` that uses Celestia as a
81- DA layer.
82-
83- The handling of data is accomplished in two ways. First, data is written
84- to the data availability (DA) layer i.e. in this case Celestia, then the
85- data commitment is written to the ` op-batcher ` . When reading ` op-node `
86- simply reads the data back from the DA layer by reading the
87- data commitment from the ` op-batcher ` first, then reading the
88- data from the DA layer using the data commitment. Hence, while
89- previously ` op-node ` was reading from calldata on Ethereum,
90- but now it reads data from Celestia.
91-
92- There are a few tools involved in the data handling process. ` op-batcher `
93- batches up rollup blocks and posts them to Ethereum. ` op-geth ` handles
94- execution, while ` op-proposer ` is responsible for state commitment
95- submission.
96-
97- By using Celestia as a DA layer, existing L2s can switch from posting
98- their data as ` calldata ` on Ethereum, to posting to Celestia.
99- The commitment to the block is posted on Celestia, which is
100- purpose-built for data availability. This is a more scalable than
101- the traditional method of posting this data as ` calldata ` on monolithic chains.
102-
103- If you'd like to go modular, bedrock has
104- made it easy to swap this out!
93+ Learn [more about Optimism](https://www.optimism.io/). -->
10594
10695## Next steps
10796
0 commit comments