Cointime

Download App
iOS & Android

Building A Mobile-First L2 With Celo

Repost from Greenfield Capital by Christoph Rosenmayr and Gleb Dudka, November 27th: “Building A Mobile-First L2 With Celo” The full report and all related findings are available on the official website of Greenfield Capital.

Celo is an EVM-compatible L1 with a special focus on enabling global mobile-first peer-to-peer payments while remaining carbon-negative. As core contributors of the Celo blockchain, cLabs proposed transitioning from a standalone L1 to an Ethereum L2 in July. The Celo community gave overwhelmingly positive feedback to the on-chain governance “temperature check,” voting to allow cLabs to focus on researching and refining the proposed technical implementation before an eventual hard fork of the chain to achieve the migration from an L1 to an L2 (NB: The first of two hard forks, known as Gingerbread, which helped achieve greater alignment with the Ethereum roadmap, was completed on September 26). With this article, we first want to highlight Celo’s mission and values to then understand the aforementioned technical proposal and how it would differentiate Celo from existing L2s.

With the “Building” series, we pay tribute to portfolio companies recently achieving a significant milestone or breakthrough, contributing to an open, decentralized, and more robust architecture for tomorrow’s web.

Source: cLabs Proposal

Key properties: mobile-first – native stable assets – carbon-negative

Since 2019, we have been backing Celo’s mission to provide global, transparent, and scalable peer-to-peer payments and financial infrastructure. As two-thirds of the unbanked population has a mobile phone, the introduction of industry-leading mobile-first features and the onboarding of mobile-native users have been cornerstones of Celo’s product strategy: 

  • As part of Celo’s identity protocol, validators run an attestation system, allowing the transaction of funds to any phone numbers. The funds are then escrowed until the recipient verifies control via SMS. 
  • An SDK for building native mobile apps on Celo and a strong suite of mobile-first wallets, such as Valora and Opera’s MiniPay, the latter of which gives over 350M Opera Mini mobile users throughout Africa access to Celo’s decentralized applications (dApps). 
  • Celo’s Plumo “ultralight client” uses zk-SNARKs, allowing efficient syncing on resource-constrained nodes, like mobile phones.

To further enable the global payment use case, trustworthy, natively issued stablecoins are key! Celo Stablecoins (cUSD, cEUR, cREAL) are decentralized via a hybrid overcollateralized & seigniorage-style model, in which arbitrageurs help maintain the stable peg by expanding and contracting the outstanding supply via redemptions to match demand. Gas fees on Celo can be paid with whitelisted ERC-20 tokens, including their native stablecoins improving UX for payments.

While Proof-of-Stake (PoS) consensus already consumes less energy, 20% of Celo’s epoch (block) reward has been committed to off-chain carbon offsetting since genesis. Coupled with the Celo Foundation’s bounties for regenerative design, this has made Celo the home of a growing ReFi (Regenerative Finance) ecosystem with more than 1,000 projects in over 150 countries.

Celo’s next chapter

Despite having similar visions and close compatibility, Ethereum’s transaction fees in the past were prohibitive for Celo’s use cases. However, as L2 rollup stacks and, more recently, DA (Data Availability) solutions have evolved, as with EigenLayer’s EigenDA, it is now possible for Celo to return home to Ethereum and gain enhanced composability as well as increased security, all while maintaining low gas fees and key features as mentioned above.  This might lead to even greater success of the Celo ecosystem, which currently sees over 3,268.2% daily active users year-to-date (TokenTerminal) and daily active users among the top 10 chains (currently ranked #6 on TokenTerminal).

We now describe Celo’s L2 migration in more detail, describing the proposed architecture, summarizing how these changes affect current Celo stakeholders, and analyzing the general value proposition for the transition.

The proposed architecture aims to initially leverage Optimism’s OP Stack with standout characteristics being a decentralized sequencer powered by Celo’s existing validators and DA with EigenDA, while focusing on maintaining Celo’s 1-block finality.

1. DECENTRALIZED SEQUENCER

In L2s, the sequencer(s) orders transactions into blocks, which can then be submitted to the DA layer. Current L2s often rely on a single centralized sequencer operated by a trusted party. This presents a single point of failure and a potential vector for censorship (however, most L2s have forced transaction inclusion mechanisms).While most L2s have committed to decentralizing their sequencer over time, we are happy to see Celo lead the charge toward decentralized sequencing. If implemented well, decentralized sequencers improve censorship resistance and liveness guarantees while maintaining Celo’s 1-block finality, resulting in an improved user experience.

cLabs has proposed to modify the existing modular OP Stack sequencer to leverage their existing set of L1 validators as sequencers. The sequencer rotates similarly to current Celo proposers and requires two-thirds of signatures from other sequencers (current validators) through the existing PBFT consensus to then post the transaction batch to the DA Layer. Rewards and hardware requirements to become a sequencer should stay similar to running a Celo validator, with the necessary addition of having to run (or have access to) an Ethereum full node.

Please keep in mind that this is an area of active research, proposed architecture might be revised. As sequencers are both proposers and block builders, an unbundling of those roles on L2s might be an interesting future area of research.

2. DATA AVAILABILITY LAYER

Data Availability (DA) refers to all transaction-related data being available to nodes on the network to independently verify transactions and compute the blockchain’s state without the need to trust one another. The DA Layer refers to the location where said data is stored. Unlike current L2s, which use Ethereum as the DA layer, cLabs proposes to use EigenDA (EigenLayer secured by ETH restakers) for the full transaction data while storing DA Certificates (pointers to full data) on Ethereum. L2 full nodes can use the pointers on Ethereum to query the full transaction data on EigenDA.

This architecture allows Celo to maintain its low gas fees ($0.01), which is key for Celo’s payment use cases compared to competitors that have opted for DA on Ethereum. EigenDA, however, can also introduce new dependencies. We look forward to seeing whether Proto-Danksharding (EIP-4844) can reduce rollup fees enough to allow Celo to utilize native DA on Ethereum while maintaining their very low fees.

3. 1-BLOCK FINALITY (PREVENTING REORGS)

Maintaining current 1-block finality is highly important as the real-world payments use case is complicated under potential reorgs since only the on-chain part of the transaction gets reverted (“delivering goods to customer but the chain reverts after he left the store”). To avoid reorgs caused by sequencers, Celo is implementing on-chain slashing, which means 1-block finality is secured by a Celo stake (via sequencers). Assuming all or most of the current Celo L1 validators transition to L2 sequencers, 1-block finality is secured by the same stake as Celo L1 currently (110 Validators elected by 270M locked CELO).

There is an additional layer of security from Ethereum and EigenDA, when blocks on Ethereum are finalized (every 2 epochs = ~13 mins). Mitigating the effect of potential Ethereum reorgs is also important to secure 1-block finality. (“What happens if assets get deposited from Ethereum > Celo, but Ethereum reverts and Celo doesn’t”). A possible solution could be only accepting transactions from finalized L1 blocks (every 2 epochs).

Summarizing the upgrade

We are excited about Celo’s L2 transition, which comes with many benefits made possible by the advancements in Layer 2 scaling infrastructure. We are thrilled to see Celo lead the innovation on both the usage of EigenDA and decentralized sequencing, which we hope will lead the way toward more decentralized L2s.

We believe those to be the most important advantages made possible by a transition from L1 > L2: 

  • Increased alignment & composability:Better tooling & libraries via the OP stack and liquidity sharing with Ethereum is simplified by a trustless L1<>L2 bridge, which helps to onboard users from Ethereum more easily. This enables developers to build better dApps.
  • Increased security:1-block finality is secured by the same stake as the current Celo L1, but there is an additional (slower) layer of security by leveraging Ethereum + EigenDA
  • Maintaining key features:The combination of an Optimistic Rollup and EigenDA allows the maintenance of key features like low gas fees and its 1-block finality, both key in enabling Celo’s (micro) payments use case.
  • Little changes to existing Celo stakeholders:Besides validators becoming sequencers, there are no further changes for existing Celo stakeholders. Users can access the same contracts and financial infrastructure. As users have become accustomed to it, maintaining their familiar UX is a key consideration in any technical upgrade.
Comments

All Comments

Recommended for you

  • Whale Transfers 1,133 BTC to Coinbase Prime, Valued at $71.48 Million

    According to Onchain Lens monitoring, a whale transferred 1,133 BTC from Coinbase to Coinbase Prime through an intermediary wallet, valued at $71.48 million.

  • U.S. AI Chip Stocks Decline Before Market Open, Intel Falls Over 3%

    On July 7, U.S. AI chip stocks experienced widespread declines before the market opened. Intel dropped over 3%, while AMD, Qualcomm, and NXP fell more than 2%. TSMC, Broadcom, and Tesla decreased by over 1%, and NVIDIA declined by 0.7%.

  • China's Central Bank Increases Gold Reserves for the 20th Consecutive Month

    As of the end of June, China's gold reserves stood at 75.44 million ounces (approximately 2,346.446 tons), an increase of 480,000 ounces (about 14.93 tons) from the end of May, which reported 74.96 million ounces (approximately 2,331.52 tons). This marks the 20th consecutive month of gold accumulation.

  • China's Foreign Exchange Reserves in June at $341.6262 Billion

    On July 7, China's foreign exchange reserves for June stood at $341.6262 billion, a decrease of $26 billion from the end of May, representing a decline of 0.75%, with expectations set at $343.2 billion.

  • U.S. Storage Stocks Drop Pre-Market, SanDisk and Micron Down Over 4%

    On July 7, U.S. storage concept stocks collectively fell in pre-market trading. Western Digital dropped over 5%, SanDisk and Micron Technology fell over 4%, Seagate Technology declined over 3%, Rambus fell over 2%, and SMI fell over 1%.

  • U.S. Stocks in Optical Communication Sector Drop Pre-Market

    On July 7, stocks in the optical communication sector of the U.S. market collectively fell pre-market. Astera Labs dropped over 4%, while Marvell Technology, Credo Technology, and AXT Inc. fell more than 3%. Tower Semiconductor, MaxLinear, Corning, Applied Optoelectronics, GlobalFoundries, Lumentum, and Qorvo all declined by more than 2%. Coherent, Nokia, Amphenol, and Broadcom dropped over 1%.

  • Pre-market Decline in U.S. Storage Stocks

    In pre-market trading, U.S. storage concept stocks experienced a widespread decline, with Micron Technology falling by 4.8%, SanDisk dropping over 4%, Corning down more than 2%, and Intel decreasing by over 3%.

  • Two Departments: Support for Reinsurance Institutions to Increase Capital and Issue Supplementary Capital Tools

    On July 7, the National Financial Supervision and Administration Bureau and the Shanghai Municipal Government released several measures to accelerate the construction of the Shanghai International Reinsurance Center. Among these measures, they proposed to enhance the quality and efficiency of the reinsurance industry, support reinsurance institutions in increasing capital and expanding shares, and issuing supplementary capital tools to improve the capacity for internal capital accumulation and external capital supplementation, thereby strengthening the reinsurance industry's capabilities. The initiative aims to guide the insurance industry to focus on major national projects, strategic emerging industries, and livelihood security, consolidating insurance and reinsurance underwriting capabilities to enhance risk protection levels. It also supports reinsurance institutions in leveraging their professional technical advantages to assist the insurance industry in reducing risk.

  • Sources: Saudi Arabia Plans to Expand Oil Pipeline to Red Sea, Increasing Capacity by 2 Million Barrels Daily to Bypass Strait of Hormuz

    On July 7, five informed sources revealed that Saudi Arabia is considering expanding the crude oil pipeline capacity to its western coast on the Red Sea, allowing Saudi Arabia and its neighbors to transport more oil without passing through the Strait of Hormuz. This east-west pipeline, built in the early 1980s, has gained strategic importance since the outbreak of the Iran war in February and the disruption of shipping in the Strait of Hormuz. The pipeline can deliver up to 7 million barrels of crude oil per day to the Red Sea port. The CEO of Saudi Aramco stated in May that approximately 2 million barrels are supplied to west coast refineries, while about 5 million barrels are for export. Sources indicate that Saudi Arabia is in preliminary discussions with some neighboring countries regarding the pipeline expansion, aiming to add about 2 million barrels of pipeline capacity per day. It remains unclear whether Aramco's planned expansion involves upgrading existing infrastructure or constructing new pipelines. One source mentioned that the expansion plan also includes a smaller refined oil pipeline. Two sources indicated that the expansion scale could range from 1 million to 2 million barrels per day, with refined oil also being considered. Another source stated that the project would take several years and cost billions of dollars, requiring adjustments to Saudi crude pricing mechanisms.

  • Citi: Tencent's WorkBuddy Gains Momentum, Maintains 'Buy' Rating

    On July 7, Citi released a research report stating that, according to the latest industry data, Tencent's AI agent product WorkBuddy has reached 20 million monthly active users (MAU) and over 13 million daily active users (DAU), with a DAU/MAU ratio between 65% and 75%. Considering the product has only been launched for a few months, user stickiness and daily engagement are performing strongly. Citi quoted Tencent's management as saying that in terms of daily active users, Tencent is leading its Chinese peers in the deployment of AI agents. Early user data reflects strong natural growth for both CodeBuddy and WorkBuddy, with high retention rates. Early users are interacting with the AI agents for long durations and with high frequency, creating a positive feedback loop. It is expected that AI products will become a key revenue source for Tencent Cloud. The firm believes that WorkBuddy's success demonstrates the strength of Tencent's ecosystem, the synergy between various productivity tools, and users' trust in Tencent's products and security. Citi maintains a 'Buy' rating on Tencent with a target price of HKD 763 unchanged.