The Next Era of L2s: Scalable zkRollups with Polygon CDK & Zeeve RaaS

zeeveinc 36 views 15 slides Jun 19, 2024
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

In the webinar "The Next Era of L2s: Scalable zkRollups with PolygonCDK & ZeeveRaaS," Dr. Ravi addresses the gap between current scaling solutions and zkRollups, highlighting their advantages. He presents PolygonCDK as key for customized zkRollups, featuring security, sovereignty, and ...


Slide Content

The Next Era of L2s
Scalable zkRollups with
Polygon CDK and Zeeve RaaS

The Gap in Scaling Solutions and Ground for ZK Rollups
High gas fees on Layer 1 chains like Ethereum:zk rollups can provide much cheaper transactions due
to mass transaction processing off-chain.
Limited scalability of Layer 1 chains in terms of TPS:zk rollups can currently achieve over 2000 TPS
theoretical throughput.
Privacy limitations on Layer 1 and Layer 2 chains:zk rollups enable private transactions using zero-
knowledge proofs.
Lack of flexible Layer 2 solutions:Many existing solutions, like state channels and side chains, have
either customizability or security issues or are not cost-effective. zk rollups are more flexible.
Limitations of optimistic rollups due to fraud proofs:zk rollups have instant transaction finality due to
validity proofs.
Lack of support for complex smart contractlogic on some Layer 2s -zkEVM will enable this on zk
rollups.
Interoperability challenges across Layer 2s:zk rollups combined with bridges can provide seamless
interoperability.

Introducing Polygon CDK as the Enabler of Customized zkRollup
Polygon CDK (Chain Development Kit) makes it easy for developers to design and launch zero -knowledge (ZK) L2s on
Ethereum, on demand.
It aims to give developers the power to choose VM (zkEVM, Miden VM, etc.), sequencer types (Centralized, decentralized),
gas tokens, and data availability solutions.
The core value props of Polygon CDK are:
ZK security:ZK proofs cannot be generated for an invalid state transition, which means secure bridging
between Ethereum and Polygon CDK chains with no 7 -day withdrawal delay.
Full sovereignty & customizability: Full design control by developers over appchains built with Polygon CDK,
including governance and other configurations. Regardless of the use case or project, developers building with
Polygon CDK may use any part of the stack they want and none of the parts they don’t.
Future interoperability:A unified LxLy bridge and interop layer will eventually allow all CDK-deployed chains to
be interoperable. This will create a unified ecosystem with atomic L2<>L2 transactions that can occur nearly
instantly.
Ethereum liquidity: Leverage ZK tech to tap Ethereum liquidity.

Polygon CDK Architecture Deep Dive
The current version of Polygon CDK is optimal for existing EVM-based dApps that need the flexibility of an appchain and
don’t require permissioned features.
Today, there are two available configurations with Polygon CDK: Rollup mode and Validium mode.
Rollup Mode Validium Mode
Fast settlement. Transaction data is posted to
Ethereum, which means greater security but slightly
higher fees than with a validium.
A good choice for appchains that want to provide
high-value users with the strongest security
guarantees or users who want visibility into what’s
occurring on-chain.
Great for public general-purpose chains, blue-chip
DeFi, etc.
Fast and cheap settlement. Transaction data is stored
off-chain, reducing the costs of posting calldata to
Ethereum.
A good choice for appchains with high-throughput
activity.
Customizable DAC: Build your own data availability
committee (DAC) to store transaction data.
Great for gaming, social apps, etc.

Different Components of a CDK Rollup (I/II)
DA, DAC, 3P DA:
In the context of L2 solutions, Data Availability refers to the assurance that the transaction data is accessible, especiallyincase of disputes or
malfunctions.
For L2 solutions, a common practice to ensure data availability is posting transaction data to Ethereum as CALLDATA.
DACs are groups of permissioned nodes that attest to the availability of transaction data needed to reconstruct the state of theL2. They are
particularly used in validium mode, where transaction data is stored off-chain to reduce costs.
3rd Party DA also can be used like Celestia, NEAR DA, Avail, etc.
Sequencer:
The Sequencer is responsible for executing, ordering, and batching transactions. It plays a key role in ensuring the integrity and finality of
transactions in the L2 network.
Currently, centralized but decentralized/shared sequencers will be supported in the coming upgrade. Like Espresso, Radius, etc.
Prover:
The Prover's primary function is to generate proofs for batched transactions. These cryptographic proofs are crucial for validating transactions
on the Ethereum mainnet.
It focuses on creating ZK proofs efficiently, using parallel computing for speed, and formatting these proofs for Ethereum mainnet compatibility

Different Components of a CDK Rollup (II/II)
Synchronizer:
Keeps the node’s local state in sync with the Ethereum mainnet by monitoring events and updating the local state accordingly.

Let's Talk Numbers: Traction Data for CDK
Polygon CDK is getting adopted massively within Web3 builders, with 20+ CDK chains already announced.
•Immutable
•OKX
•Near
•Astar
•Canto
•Gnosis Pay
•Palm Network
•Aavegotchi
•CapX
•WireX
•IDEX
•Nubank
•Nexon
•GameSwift
•Powerloom
•Manta Network
•Reya Network
•As Match
One of their most recent partnership is with Flipkart for their fire drops:
They will use Polygon CDK for launching an Ethereum ZK L2 for its Firedrops: a web3 loyalty program. Features
include rewards like mystery boxes and digital coupons.
This is important for the Web3 ecosystem in India. It not only has the potential to attract the top fintech
entrepreneurs in India to build Web3 but also might encourage many other top enterprise and consumer
brands to build their Appchains.

Example Use Case 1: DeFi
Canto: Canto is building with Polygon Labs to migrate to a ZK L2 on Ethereum–powered by Polygon Chain Development Kit
(CDK). This ZK chain will be dedicated to Real World Assets to support the next wave of application-layer adoption via
neofinance.
Reya Network:Reya is utilizing Polygon CDK to integrate the best parts of CeFi & DeFi seamlessly.
Reya Network will benefit from enhanced capital efficiency & liquidity, reduced execution risks, and improved throughput.
Combined with the off-chain speed and user experience of Reya exchange, you have Ce -DeFi.
IDEX: IDEX has created XCHAIN, a zkEVM Layer 2 network that will allow us to achieve UX and cost parity with CEXs without
sacrificing security.
XCHAIN will serve as the backbone of IDEX’s perpetual futures exchange, enabling traders to finally have performance and
security with complete self-custody.

Example Use Case 2: Gaming
Immutable:
Running currently on Starknet Engine,
Immutable is being built using the
Polygon ZK Tech stack. The integration of
Immutable zkEVM, powered by Polygon
CDK, pushes the boundaries of scalability
without compromising on security.
Gameswift:
GameSwift evolved from a single game
into a huge gaming infrastructure
leveraging Polygon’s ZK technology.
They have launched their own modular
chain powered by CDK.
Aavegotchi:
Originally created as on-chain 2D
Pixel art, Aavegotchi is now
transitioning to full metaverse, AR, VR
ready. They are launching ‘Gotchi
Chain’ using Polygon CDK.
Dogechain:
This chain aims to bring Gaming and
NFTs to this meme coin users.
Dogechain has gone live with the
governance proposal vote to migrate
Dogechain from PoS blockchain to
Polygon CDK. This will enable the chain
to leverage the power of zkEVM.

Example Use Case 3: Payments/Rewards
Fuse Networks:They are a business and consumer-friendly blockchain ecosystem for mainstream adoption of web3
payments.
With Polygon CDK, they are deploying a ZK Rollup on existing L1 infrastructure, enabling enhanced transaction processing and
efficiency.
This will revolutionize Web3 payments by creating a network that offers low transaction costs, instant clearing, high
throughput, and a decentralized validator set.
WireX: Wirex is a global leader in enabling crypto payments and is now using Polygon CDK to build an application-specific
blockchain focused on handling just the payments.
Wirex’s initial use cases for the CDK chain will be non-custodial visa cards integrated with the Account Abstraction (AA)
feature.
Gnosis Pay:Gnosis DAO has announced the launch of Gnosis Pay, a decentralized payment network powered by Polygon
zkEVM and CDK. This enables devs to integrate traditional payment methods with web3, and users can spend digital assets
directly from their wallets using a Visa debit card.

What's coming out as a trend? Who should launch their own zkRollup?
To recap ZK Rollup’s Value prop:
•Very high security, provided by
base blockchain and ZK
technology
•Customization of chain
configurations
•Better TPS than single-threaded L1s
•Reasonable cost
Emerging Trends with ZK Rollups:
•NFTs, Gaming, and Metaverse
projects, like Palm Network,
Aavegotchi, Gameswift, etc
•Payment Solutions: Gnosis Pay, Wirex
•Loyalty Programs: Flipkart’s Fire drop,
•Blue chip DeFi and DEX protocols:
•Sector-specific L1 Chains, like NuBank
•General Purpose Blockchains Built
with ZK technology: Manta, Astar
Network, OKX’s X1 Chain, Celo, etc.

The Value Proposition of a RaaS Platform
RaaS provides a faster and easier deployment process through its no-code deployment panel. You can deploy a rollup chain in minutes
with default configurations rather than having to code everything from scratch.
RaaS abstracts away complexities like managing a production-grade infrastructure, hosting, configuration, integration of components,
etc. so developers can focus on their application logic.
With SDKs, the developers would have to handle ongoing management themselves.
RaaS platforms tend to be more modular, allowing integration options for third-party rollup services like decentralized sequencers,
account abstraction layers, data availability solutions, decentralized oracles, etc., to add modularity.
RaaS offers standardization so developers with less blockchain expertise can still deploy rollups. The default configurationsprovide a
good starting point.
RaaS includes monitoring, alerts, and an interactive management dashboard deployed in rollup networks. With SDKs, the developers
would have to handle ongoing management themselves.
RaaS solutions are maintained and developed by dedicated platform teams. Bug fixes, upgrades, new features etc., are handled by the
platform. With SDKs, developers have to handle all ongoing improvements.
RaaS platforms provide expert consultation to help projects make the right decisions in choosing frameworks, components, and
configurations for their specific use case. This decision support can be very valuable.
1
2
3
4
5
6
7
8

Walkthrough of building a simple zkRollup with Polygon CDK Sandbox on Zeeve
Video

The Value Add of Zeeve RaaS in One Slide
Build Optimistic and ZK Rollups:Zeeve supports OP Stack, Arbitrum Orbit, Polygon CDK, and zkStack frameworks for its RaaS. Build both Smart contract and
sovereign rollup chains as needed for your application.
1-click Sandbox:Get the benefit of 1-click Sandbox for your application-specific chain deployment. Test in DevNet with multiple configurations before moving
to Testnet/mainnet.
Official Implementation Partner:Zeeve is the official implementation partner for Polygon CDK and zkSync Hyperchains, ensuring a flawless deployment.
Integration Partners: Leverage Zeeve’s integration partnersto make your rollup stack as modular as you need. Get customized sequencer type, DA Layer,
decentralized oracles, Account Abstraction partner, Interoperability layer, etc.
Enterprise-grade security:Zeeve is an ISO, SOC2 TypeII, and GDPR-compliant platform, taking care of the security and compliance needs of web2 and web3
enterprises.
RPC APIs and Staking Infrastructure: Experience enterprise-grade nodes and RPC API infrastructure featuring load balancing, scalability, top-tier security,
and cost-optimized peak performance.
White-labeled Block Explorer: Get a white-labeled Block Explorer or integrate a 3rd-party one for comprehensive transaction data and rich queries powered
by a robust data indexing protocol.
Data Indexing Protocol: Unlock real-time access to the Ledger and Smart Contract data with our seamless integration of Subgraphs and Subquery projects
powered by dedicated indexers and APIs.
24x7 Monitoring and Enterprise SLA: We monitor your Rollup Chain 24x7x365 to guarantee 99.99% uptime, optimized performance, and scalability. You can
put your mind to rest with our Enterprise SLA.
Migration Assistance: Zeeve provides an expert team of Rollups and DevOps engineers to support you in migrating to the Rollup infrastructure without any
downtime or data loss.

Thank You
@zeevedeeptech @0xZeeve /0xZeeve
Connect with us: www.zeeve.io| Or join our social channels:
Zeeve Inc.
395 Santa Monica Place, Unit 308,
Santa Monica, California -90405
Zeeve Technologies Ltd.
2001, Regal Tower, Business Bay,
Dubai, UAE
UK Office
Level39, One Canada Square,
Canary Wharf, London E14 5AB
Zeeve DeepTech Pvt Ltd
1283, ATS Greens, Sector-93A
Noida, India 201304