Cointime

Download App
iOS & Android

Falling into the Optimism rabbit hole: Bedrock, OP Stack, and Superchain

Validated Project

TL;DR

  1. Bedrock is an epic software update that Optimism put everything they learned. Optimism started splitting the code into three parts to become a rollup framework -- Consensus, Execution, and Proof.
  2. OP Stack is a rollup framework that allows anyone to plug different modules for rollup’s three parts based on the Bedrock update’s modularization.
  3. Superchain is a collective of chains that use OP Stack. Superchain provides a single-chain experience for users by leveraging a single set of sequencers.

Intro

Hey there! We are TiP. We build stuff that scales Ethereum.

Bedrock update is coming to Optimism, but none of our team knew Bedrock exactly. We couldn’t also find a blog that explains Bedrock exactly. Everyone is talking about block time and gas cost, but we felt it’s more than block time or gas cost.

We started to dig deeper into Bedrock and fell into the Optimism rabbit hole. It was amazing. This article takes you down the same rabbit hole we fell: the big picture of Optimism connecting Bedrock, OP Stack, and Superchain.

Me at 2 am googling OP on the bed

Bedrock

Bedrock is a) an epic software update that Optimism put everything they learned while operating the chain, and b) a gentle announcement that Optimism is not just a single rollup but also a rollup framework.

Software Update

Bedrock contains a bunch of enhancements. Here are some of the key topics -

We see modularization as the 👑 crown jewel of the Bedrock update.

Modularization

Optimism had a monolithic codebase which caused a big problem. Engineers couldn't have flexibly modified the code because the entire codebase is tangled. Therefore, Optimism decided to separate the proof system, which had the most dependencies on the system.

After Optimism initiated the modularization, amazing things happened. The new codebase was so intuitive that the community could’ve forked the code and implemented a whole new rollup, such as Minecraft rollup and Game boy rollup. Modularization ended up enabling the community to accessibly build variations of Optimism rollup and advance the rollup community at the end of the day.

As a result, the Optimism team built a bedrock for the OP Stack.

OP Stack

Source: Introducing the OP Stack (https://optimism.mirror.xyz/fLk5UGjZDiXFuvQh6R_HscMQuuY9ABYNF7PI76-qJYs)

OP Stack is a rollup framework that allows anyone to plug different modules for rollup’s three parts -- Consensus, Execution, and Settlement. It could be possible thanks to Bedrock’s modularization!

OP Stack allows you to build various kinds of chains! You can build an EVM chain that uses ZK-proof and stores data to the blob on Ethereum; or a Game Boy chain that uses fault-proof and stores data on your desktop computer. I’m not joking; it’s happening!

Optimism defined consensus, execution, and settlement as a mental model representing the rollup’s technical stack. This means you can make your new rollup by combining a consensus module, an execution module, and a settlement module, like a burrito!

The wordings are pretty hard. But don’t you worry, Anon. In short, the Consensus Layer saves, retrieves, and interprets the data; the Execution Layer executes interpreted data; and the Settlement Layer checks if everything is valid.

Consensus Layer

The Consensus Layer is responsible for storing, retrieving, and interpreting data. It contains two layers -- the Data Availability Layer and the Derivation Layer.

The Data Availability Layer is responsible for storing and retrieving the chain’s data. It’s data storage for your rollup. You can put the rollup’s data on Ethereum calldata, Ethereum blob, IPFS, or even your desktop computer.

The Derivation Layer is responsible for interpreting the data retrieved from the Data Availability Layer.

FYI, S represents State and DA represents Data Availability in the formula.

Source: Modular Rollup Theory Through the Lens of the OP Stack by Kelvin Fichter (https://youtu.be/jnVjhp41pcc?t=596)

Execution Layer

The Execution Layer is responsible for the execution. It takes interpreted data from the Consensus Layer, executes it, and generates the following status of the chain.

You can use various execution engines—for example, EVM (of course), Game Boy, and Minecraft. The sky is the limit!

Source: Modular Rollup Theory Through the Lens of the OP Stack by Kelvin Fichter (https://youtu.be/jnVjhp41pcc?t=828)

Settlement Layer

The Settlement Layer is responsible for settling the chain. The Settlement Layer checks if the data and execution are right by putting everything all together. If the Settlement Layer verifies everything is correct, then the chain is settled to the next state.

You can use various methods to build the Settlement Layer—for example, Fault Proof and Validity Proof.

Source: Modular Rollup Theory Through the Lens of the OP Stack by Kelvin Fichter (https://youtu.be/jnVjhp41pcc?t=1206)

Superchain

Source: Optimism’s OP Stack by Karl Floersch (https://youtu.be/HiU-g8XHi5s?t=1290)

Superchain is a collective of chains that uses OP Stack. From the revealed information, Superchain leverages OP Stack’s modular architecture and a single shared sequencer set, allowing a) atomic cross-chain composability between chains and b) trustless rollup maintenance.

If we dare speculate Optimism’s intention for a Superchain, we see intentions to make a rollup like a smart contract. With a smart contract, a deployer doesn’t have to maintain their own infra to run their own code. But the code frictionlessly runs on the nodes; most importantly, the code executor doesn’t have to trust the deployer.

Similarly, when there is a shared Superchain sequencers set that commit to sequence and execute rollups on behalf of the deployers, both rollup deployers and users are happy. Because deployers don’t have to maintain their infra and put efforts into deploying a rollup, and users don’t have to trust the deployer. Nothing was compromised from the initial vision of trustless computing but only scales enough to serve everyone on the internet.

Therefore, with Superchain, we get a world where builders can build a new rollup by combining modules, deploy a rollup easily like a smart contract, and don’t have to maintain a thing; users can interact easily with other rollups as if they are using single big chain (single-chain experience); the trustless execution is guaranteed because nodes are well-decentralized.

Of course, realistically, we have some to-dos to make the Superchain possible. Here are some notable to-dos for the Superchain.

  • Multiple chains run on a sequencer. We call it M:1 problem.
  • Multiple sequencers that run a single chain. We call it 1:N problem.
  • Combining 1:N and M:1 for the M:N network.
  • A communication protocol between rollups for atomic transactions between rollups.
  • Diverse modules and implementations for Consensus Layer, Execution Layer, and Settlement Layer.

Each to-do is quite a topic, but I know we can make it. We are talking about Optimism, my friends!

In conclusion

As a team commits to scaling Ethereum, Superchain is a mission that flutters our hearts. The most amazing part is that Optimism is a public good for the community’s public benefit. The entire codebase is under the MIT Licence, which allows everyone to contribute new ideas and redistribute freely.

Optimism is building days and nights for everyone’s public benefit. They are especially working harder at the moment since Bedrock is merging to test net soon. When each feature is shipped, we are getting one step closer to the Superchain.

Lastly, I would like to thank the Optimism team for building an amazing product for the community. Their positive impact is not something I’ve ever seen in my life.

Let’s stay optimistic!

Comments

All Comments

Recommended for you

  • Bitcoin native application platform Arch developer completes $7 million seed round of financing, led by Multicoin Capital

    Bitcoin native application platform Arch developer Arch Labs announced the completion of a $7 million seed round of financing, led by Multicoin Capital, with participation from Portal Ventures, OKX Ventures, Big Brain Holdings, CMS Holdings and Tangent.

  • Tokenization platform AgriDex completes $5 million Pre-Seed round of financing

    AgriDex, a tokenization platform on the Solana blockchain, announced the completion of a $5 million Pre-Seed round of financing, led by Endeavor Ventures, with participation from African Crops Limited, Oldenburg Vineyards, and former Goldman Sachs and Citadel executive, Hank Oberoi. It is reported that AgriDex is expected to launch its platform and token, AGRI, in the third quarter of this year. According to its white paper, AgriDex has reserved 5% of the total token supply, or 50 million tokens out of 1 billion tokens, for airdrops.

  • UXUY Completes $7 Million Pre-A Round of Financing, with Investments from Binance Labs, Bitcoin Magazine, and Other Institutions

    UXUY, the next-generation decentralized multi-chain trading platform incubated by Binance Labs, announced the completion of a $7 million Pre-A round of financing. Since its establishment, its total financing amount has exceeded $10 million. UXUY is an important builder of the Bitcoin ecosystem, and more than 100,000 traders use Bitcoin Lightning Network services through UXUY. UXUY's current round of financing has received investment from well-known institutions in Asia, North America, and Europe, such as Binance Labs, UTXO Management (Bitcoin Magazine), JDI Ventures, Bixin Ventures, SWC Global, Matrix Partners, CMS Holdings, Dewhales Capital, Comma3 Ventures, Satoshi Labs, YBB Capital, GBV Capital, Web3Vision, Pentos Ventures, NGC Ventures, Alti5, Metalpha, and GSR. The funds raised by UXUY in this round will be used for the construction of the Bitcoin ecosystem infrastructure, and will be committed to promoting the efficient and low-cost trading of Lightning Network Taproot Assets, Ordinals BRC-20, Runes, and other assets. Jordan, co-founder of UXUY, said: "We are pleased to be strategic partners with all investors! This year, we have successfully built a bridge between the Bitcoin Lightning Network and the multi-chain ecosystem. UXUY will continue to promote the use cases and popularization of the Lightning Network in trading scenarios, and make more contributions to the Bitcoin ecosystem." According to RootData, a Web3 asset data platform, UXUY is a next-generation decentralized multi-chain trading platform based on MPC wallets. UXUY actively participates in the construction of the Bitcoin Layer2 ecosystem, fully integrates into the Bitcoin Lightning Network and Taproot ecosystem, provides Lightning Address DID services to users, and becomes an important bridge connecting the Bitcoin and Ethereum ecosystems. As a decentralized multi-chain trading platform, UXUY provides immediate cross-chain trading services for Coin, Token, and Inscription among public chains through the establishment of uPool.

  • Taiwan's administrative agency passed four new anti-fraud laws to bring cryptocurrency traders under control

    It was announced that Taiwan's administrative management agency has passed the "New Anti-Fraud Law" to regulate cryptocurrency traders. In the future, businesses or individuals providing virtual asset services or third-party payment services must complete anti-money laundering measures and register their services or log in. Failure to do so may result in a maximum of 2 years in prison or a fine of up to NT$5 million. Businesses or individuals outside of Taiwan providing virtual asset or third-party payment services must register their companies or branches according to company law and complete anti-money laundering measures and service registration or login. Otherwise, they are not allowed to provide virtual asset services or third-party payment services in Taiwan. Qiu Shuzhen, the deputy chairman of Taiwan's financial regulatory agency, stated that there are currently around 60 to 70 cryptocurrency traders in the market, of which 25 have passed the anti-money laundering review by the financial regulatory agency. In the future, all traders will be required to declare and undergo review, and a cryptocurrency traders' association will be established for legal, administrative, and association management. Accounting professionals will also be enlisted to assist with internal control.

  • EigenLayer TVL falls back to $14.794 billion

    According to DefiLlama data, the total value locked (TVL) in Ethereum's re-staking protocol EigenLayer has fallen below $15 billion, currently at $14.794 billion.

  • The EU is considering including cryptocurrencies in the 12 trillion euro investment market, and its impact may far exceed that of US ETFs

    The European Securities and Markets Authority (ESMA) is consulting with the investment product advisory industry and experts on whether cryptocurrency assets should be included. This move could open up a broader market for cryptocurrencies, far exceeding the market size of spot Bitcoin ETFs. The plan aims to expand the scope of UCITS (EU Transferable Securities Collective Investment Scheme), with the UCITS market reaching as high as €12 trillion. If successful, this would be a key step in mainstreaming cryptocurrency assets in Europe.

  • SlowMist: The hacker who stole 1,155 WBTC may be from Hong Kong

    According to SlowMist analysis , the IP address associated with the theft of 1155 WBTC has been traced to Hong Kong (VPN use cannot be ruled out). Earlier reports indicated that a certain address was suspected to be a victim of phishing attacks and lost 1155 WBTC, worth 71 million USD. Subsequently, the fraudsters sold all 1155 WBTC and exchanged them for 22960 ETH, and used a large number of wallet addresses to send and launder the funds.

  • Web3 game developer Seeds Labs completes $12 million seed round of financing, with participation from Solana Foundation and others

    According to Cointelegraph, Web3 game developer Seeds Labs has announced the completion of a $12 million seed round financing, with participation from Avalanche's Blizzard Fund, Solana Foundation, Krust, Hashkey Capital, UOB Ventures, Signum Capital, IVC, and Emoote.It is reported that Seeds Labs, a Solana ecosystem game infrastructure developer, was established in 2021, and its Web3 game Bladerite is scheduled to be released this month.

  • The total subscription volume of Hong Kong Bitcoin ETF yesterday was 101.6, and the Ethereum ETF showed net redemption for two consecutive days

    The Hong Kong Bitcoin spot ETF had a net purchase of 101.6 bitcoins and a total holding of 4350 bitcoins on May 8th. The daily trading volume was 2.67 million US dollars, and the total net assets were 270 million US dollars. The daily BTC purchase came from Bosera HashKey and Huaxia Bitcoin ETF.

  • Trump announces he will accept cryptocurrency donations for his presidential campaign

    Donald Trump announced that he is accepting cryptocurrency as a form of donation for his presidential campaign.