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

  • RWA platform Re completes new round of financing of US$7 million, led by Electric Capital

    Re, a tokenized reinsurance RWA platform, has completed a new round of funding of $7 million, led by Electric Capital. It is reported that the project had completed a seed round of funding of $14 million at the end of 2022. Re's goal is to support $200 million in premiums by the end of this year.

  • Crypto prediction market Polymarket has raised $70 million in two rounds of funding

    Peter Thiel's venture capital firm, Founders Fund, is investing in the cryptocurrency prediction market Polymarket. A spokesperson for Polymarket stated that the company has raised $70 million in two rounds of financing, with the latest round led by Founders Fund. The company's supporters also include Ethereum co-founder Vitalik Buterin, and it has been attracting users to predict the outcomes of various events, with bets on the 2024 US presidential election becoming the most popular contract on its platform.

  • ChainML raises $6.2m in seed extension funding for community-governed AI platform, Theoriq

    ChainML, a Silicon Valley-based AI and ML development and research lab, has raised $6.2m in seed extension funding for its AI platform called Theoriq. The funding round was led by Hack VC and included participation from several other venture capital firms. The company plans to use the funds to expand its development efforts and continue building community-governed AI systems based on principles of social evolution and blockchain technology. CEO Ron Bodkin expressed excitement about the potential for unlocking new potentials for AI integration within the decentralized space.

  • Zeta Markets Raises $5 Million in Token Funding Round

    Solana DEX Zeta Markets raised $5 million in a new round of funding led by Electric Capital. Other investors in this round of funding include Digital Asset Capital management company, Selini Capital, and Airtree Ventures. Angel investors include Solana's Anatoly Yakovenko, Helius' Mert Mumtaz, Tensor's Richard Wu, Pyth's Genia Mikhalchenko, Wintermute's JMR Luna, and Bonk's Nom also participated in this round of funding.

  • Tornado Cash Developer Alexey Pertsev Sentenced to 64 Months in Prison

    On Tuesday, a Dutch judge ruled that Tornado Cash developer Alexey Pertsev was guilty of money laundering. The court sentenced Pertsev to 64 months in prison. In August 2022, Tornado Cash was blacklisted by the US government, and this is the first time the developer has been sentenced to prison in the Netherlands. At the time, the US Treasury Department claimed that Tornado Cash was a key tool for the North Korean hacker group Lazarus. The Lazarus group is linked to the $625 million hack of Axie Infinity's Ronin Network and other major cryptocurrency thefts.

  • Dutch court finds Tornado Cash founder Alexey Pertsev guilty of money laundering

    A Dutch court composed of three judges has ruled that Tornado Cash developer Alexey Pertsev committed the crime of laundering $1.2 billion in illegal assets on a cryptocurrency mixing platform. It is expected that the panel will also sentence 31-year-old Russian resident Alexey Pertsev on Tuesday, and Pertsev's lawyer will have 14 days to appeal the judge's ruling. Experts say that this ruling will reshape the privacy protection process in the decentralized finance field and have a "chilling effect" on the development of open-source software that provides financial privacy protection tools for users.

  • Cross-border money laundering group laundered HK$88 million, 8 people arrested

    The Hong Kong Police Commercial Crime Bureau locked onto a cross-border money laundering group in November 2023. The investigation found that the group recruited mainlanders to open puppet bank accounts in Hong Kong from September 2023 to March 2024. They used various types of fraud, such as telephone scams, nude chat scams, investment scams, and job scams to defraud victims. The victims were instructed by the fraudsters to deposit the stolen money into the puppet accounts controlled by the criminal group. The group would then withdraw the stolen money from the puppet accounts in cash and buy cryptocurrencies on the over-the-counter (OTC) market. They would also open accounts on overseas cryptocurrency platforms with false identities and deposit the cryptocurrencies purchased with the stolen money before transferring them to multiple cryptocurrency wallets to launder the criminal proceeds. The police also pointed out that the group used 72 local puppet bank accounts to launder more than HKD 88 million in criminal proceeds, of which HKD 6.7 million was related to 48 fraud cases. As of yesterday, the police arrested 7 men and 1 woman aged between 26 and 51 for conspiring to launder black money. They claimed to be a lifeguard, photographer, telephone programmer, salesperson, and unemployed. Six of them were core members, and two were puppet account holders.

  • Sharp Alpha Advisors Raises $25M for Second Fund Targeting Early Stage Software Companies in Sports, Gaming, and Entertainment Industries

    New York-based venture capital firm Sharp Alpha Advisors has secured $25 million for its second fund, which will primarily invest in early stage software companies in the sports, gaming, and entertainment sectors. The fund aims to invest between $1 million and $2 million in 15 startups that fall under the category of "competitive entertainment," such as technology firms catering to sports betting, fantasy sports, streaming platforms, and video games. Sharp Alpha has already invested in London-based technology startup C15 Studio, which operates and distributes streaming channels for Formula 1 and One Championship, and plans to make further investments over the next three to five years. Additionally, the firm has a sidecar vehicle for limited partners to invest more money in individual companies within the fund.

  • Russian authorities plan to impose heavy fines on cryptocurrency miners operating in residential apartments

    Russian authorities have proposed imposing huge fines on cryptocurrency miners suspected of operating in residential properties. The authorities may also consider revising the Code of Administrative Offenses to hold those who abuse electricity accountable.

  • TheoriqAI Completes $6.2 Million Super-Seed Round of Financing, Led by Hack VC

    On May 14th, TheoriqAI, a modular AI agent infrastructure, announced on X platform that it has completed a $6.2 million Super-Seed round of financing. Hack VC led the investment, with participation from Foresight Ventures, HTX Ventures, Figment Capital, HASH CIB, Inception Capital, Antalpha Ventures, NewTribe Capital, Stateless Ventures, Bitscale Capital, Construct Ventures, Hypersphere, IOSG Ventures, LongHash Ventures, HashKey Capital, SNZ Holding, Chainlink.