Lines

L2 in Blockchain: TEE Sidechains vs ZK Rollups

Industry InsightsDecember 15, 2022
New image

Scaling Blockchain with Layer 2 Solutions

Traditional blockchain networks are made of a mainnet. However, to solve big issues such as lack of scalability and high volumes of energy usage, layers were created on top of the said main one. This additional infrastructure is called Layer 2 (L2). It offers developers a more scalable, fast, and less costly logic.

Let’s say L1 is the network’s “nervous system”. Computations processed in L2 can be independent of the mainnet, allowing for faster and sometimes even autonomous processes. If you are in one part of town and the bridge to the other side is jammed, taking a ferry would get you there faster. That’s the basic idea of L2 solutions.

One of the main reasons for the emergence of these was to try solving some major issues of blockchain technology: lack of scalability and high fees, especially when there were too many transactions taking place at the same time in the mainnet.

Rollups: Optimistic & Zero-Knowledge

Ethereum has created its own Layer 2 version, called rollups. Simply put, a rollup is a set of transactions compressed into one, and then acknowledged by the mainnet as a single transaction, which means their execution will be processed faster. This alleviates pressure from the mainnet, making the whole process faster, and cheaper. The execution process is independent of L1 while still relying on it for security, data fetching, and funds.

There are two popular kinds of rollups: optimistic and Zero-Knowledge (ZK). While optimistic ones are easier to set up and use, ZK’s are less prone to attacks. They depend on cryptographic proofs to instantly verify if said transaction is valid, while optimistic ones work on an assumption basis, automatically granting the transactions as valid, allowing batches to be processed without any computation.

Sidechains: Pegged Connection

A sidechain is also a Layer 2 solution, but it’s independent of the mainnet. These separate blockchains have their own consensus protocols and have their security measures defined by their validators. They are naturally more centralized, but just like rollups, sidechains are great to speed up transactions and relieve pressure from the mainnet. A sidechain connects to the main chain through a two-way peg, meaning there’s a data exchange: once assets are unlocked in the sidechain, the same amount is locked in the main chain.

Integritee: Powering Sidechains with TEEs

At Integritee, we’ve developed sidechains that support multiple validators operating within Trusted Execution Environments (TEEs) — a hardware-encrypted area of a CPU securing data in use. The added value of our sidechains is that once verified, all validators can trust each other because they are operating within a secured area — the TEE — thus enabling sub-second block times with up to 2,000 TPS on each sidechain. In combination, this provides a cumulative capacity of up to 1 million TPS over the entire Integritee Network for well-shardable use cases.

Computations done inside TEEs can be independent and isolated from the mainnet, thus providing developers with a set of attractive benefits: scalability, confidentiality, and the flexibility of choosing which privacy features they wish to add. Integritee is using TEEs to provide builders with more scalable, secure, and autonomous deployments. When building with us, you will:

  • Be able to keep what you choose hidden through cryptographic keys
  • Prevent third parties from seeing or tampering with the information stored inside
  • Search for encrypted and sensitive data
  • Execute and deploy code with complete privacy.
  • Public auditability — through remote attestation — that what’s running inside the TEEs is, in fact, what you believe.

If that content was helpful, subscribe to our channel and get informed about new articles around Confidential Computing and Web3 and updates of Integritee.L2 in Blockchain: TEE Sidechains vs ZK Rollups.

You Might Also Like

New image
Industry InsightsSeptember 13, 2023

Blockchain in Aerospace: Reducing Costs & Enhancing Efficiency

New image
Industry InsightsAugust 17, 2023

Series 1 – All you need to know about TEEs | Episode 3 – TEE Technologies

New image
Industry InsightsAugust 03, 2023

Series 1 – All you need to know about TEEs | Episode 2 – TEE Use Cases

New image
Industry InsightsJuly 11, 2023

Series 1 – All you need to know about TEEs | Episode 1 – Introduction to TEEs

New image
Industry InsightsMay 11, 2023

Web3 Bounties: Rewarding Developers with Tokens

New image
Industry InsightsApril 27, 2023

Digital Twins: Increasing Efficiency Without Compromising Privacy

New image
Industry InsightsJanuary 31, 2023

AI and Blockchain: The Combo of the Future

New image
Industry InsightsAugust 16, 2022

Blockchain: Back to Basics

New image
Industry InsightsJuly 27, 2022

From Web 2.0 to Web3: A Step Forward

New image
Industry InsightsJuly 07, 2022

XCM Integration: What Is It and How Does It Work?

New image
Industry InsightsJune 20, 2022

Here’s What You Need to Know About XCM Integration on Polkadot

New image
Industry InsightsJune 15, 2022

How Can Integritee Help Prevent Fraud Schemes?

New image
Industry InsightsMay 16, 2022

How Integritee combines the benefits of Web2 and Web3 technologies

New image
Industry InsightsMarch 08, 2022

Event Series: Learn How Integritee Is Taking Gaming to the Next Level With Ajuna

New image
Industry InsightsFebruary 23, 2022

TEE 101: How Intel SGX works and why we use it at Integritee

New image
Industry InsightsOctober 14, 2021

Confidential Computing Will Secure Our Secrets in Web3

New image
Industry InsightsAugust 12, 2021

Divided We Fall? – Why Crypto Exchanges Should Work Together

Lines