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

  • The U.S. Department of Government Efficiency needs “revolutionaries with super high IQs who are committed to small government reform”

    the newly established Department of Government Efficiency (DOGE) in the United States has released an official statement via their X account, thanking thousands of Americans for their interest in joining the department. However, they have made it clear that they do not need "part-time creative contributors," but rather "revolutionaries with super high intelligence who are committed to small government reform." Applicants are required to work more than 80 hours per week and focus on plain and simple cost reduction. Applicants who meet the requirements can submit their resumes via private message, and the top 1% of outstanding applicants will be personally reviewed by Elon Musk and Vivek Ramaswami.

  • SEC Chairman Gary Gensler Makes Final Lobbying Call for US Crypto Regulation

    according to institutional reports, US Securities and Exchange Commission (SEC) Chairman, Clayton, is making a final push to allow the agency to regulate the cryptocurrency market before the Trump administration's term ends and its enthusiasm for digital assets wanes. In a speech prepared for a legal conference in New York on Thursday, Clayton reiterated that the agency should focus on "road rules" applicable to cryptocurrency sales and intermediaries such as brokers and exchanges to support proper disclosure. Clayton stated that the experience of the Great Depression made decision-makers aware of the "importance of disclosure terms, as information about securities creates a public product". (Jinshi Data APP)

  • U.S. money market fund assets exceed $7 trillion for the first time

    according to data provided by Crane Data, which has long been researching the currency market fund field, as of the week of November 13th, the management assets of US currency market funds increased by about $91 billion, and the total scale exceeded $7 trillion for the first time, which is a milestone for the industry. Due to the high and reliable yield, the popularity of this industry among investors has risen sharply. Before reaching the $7 trillion mark, the scale of US currency market assets hit a historic high for several consecutive months, which refuted doubts about whether the industry could continue to be popular as Federal Reserve officials lowered interest rates from their highest level in 20 years. After US policy makers cut interest rates by 50 basis points in September and another 25 basis points this month, investors continued to pour into currency market funds, mainly because the yield of these funds is higher than other tools, especially bank deposits. Compared with banks, the speed at which these funds transmit the impact of low interest rates is often slower.

  • Franklin Templeton Expands $410 Million Money Market Fund to Ethereum Blockchain

    Franklin Templeton expanded its $410 million money market fund to the Ethereum blockchain.

  • U.S. PPI rose 2.4% year-on-year in October, higher than expected

     US October PPI rose 2.4% year-on-year, estimated at 2.3%, with a previous value of 1.8%; the US October PPI rose 0.2% month-on-month, estimated at 0.2%, with a previous value of 0%.

  • The country's first digital RMB-based intellectual property securitization product was successfully issued

    "Yongxing-Guofu-Ningbo Intellectual Property Asset Support Special Plan (Specialization and Innovation)" with Yongzheng Asset Management as the manager and Yongxing Securities as the sales organization held a listing ceremony on the Shanghai Stock Exchange. The first issue size was 138 million yuan, with a term of 1 year and a coupon rate of 2.2%. The product's priority bond rating was AAA, and it was the first knowledge-based securities product to be invested in digital RMB form nationwide, and also a breakthrough in the Ningbo knowledge-based securities project.

  • Crypto venture capital Portal Ventures completes approximately $90 million in oversubscribed fundraising

    early blockchain venture capital firm Portal Ventures is close to completing the final fundraising for its second fund, which has a size of $75 million. Founder and general partner Evan Fisher said that the fund has been oversubscribed, with subscriptions reaching $90 million. According to documents submitted to the US Securities and Exchange Commission (SEC) in August, the initial target for the fund was $70 million, but Portal later decided to raise the ceiling by $5 million.

  • BIT Mining Invests in Prosper's Native Tokens to Support New Focus on Bitcoin Mining

    ChainwireProsper, a decentralized protocol focused on bridging institutional-grade Bitcoin mining power on-chain, has announced a new investment in its native project token PROS by BIT Mining Limited. This investment aligns with Prosper's new strategic focus on Bitcoin mining and the broader Bitcoin ecosystem, which has been well-received by the community. Prosper partners with industry players to obtain various services and products to deliver institutional-grade execution in managing its mining hashrate. BIT Mining's investment represents another significant validation of Prosper's thesis by institutional backers and supports its new vision.

  • From the US election to November 13, DOGE rose by 128%, outperforming Tesla and Bitcoin

    According to market data, from November 5th to November 13th, Dogecoin had the most eye-catching increase, surpassing the more focused Tesla and Bitcoin. On November 14th, Dogecoin and Bitcoin continued to rise. As of November 13th, Dogecoin increased by 128%, Coinbase increased by 47%, Tesla increased by 31%, Bitcoin increased by 29%, the banking sector increased by 10%, small-cap stocks increased by 4.9%, the S&P 500 increased by 3.6%, and the US dollar index increased by 3.1%. In addition, long-term US bonds, crude oil, gold, and Trump media all experienced a decline.

  • Binance Labs transferred the tokens of 4 invested projects to Gate Exchange 1 hour ago

    On November 14th, according to on-chain analyst Yu Jin, Binance Labs may be preparing to sell tokens from some of its investment projects. One hour ago, Binance Labs transferred tokens from four of its invested projects (with a total value of approximately $2.79 million) to the Gate exchange. These tokens include: