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.
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.
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.
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:
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.
Common European Data Spaces: Fostering Data Innovation & Collaboration in the EU
How Biometric Data Collection Can Be Dangerous — Even When Built With Blockchain
Hyperautomation: The Power of Blending AI, Blockchain, and RPA
Cybercrime on the Rise: Why Is Securing OT Systems Paramount?
For the Greater Good: Using Blockchain for Social Change
Bug Bounty Programs: How Outsourcing Can Help Your Project
DePINs: Harnessing the Power of Connectivity to Build Real-World Applications
MiCA & Other Crypto-Related Regulations: Striking the Right Balance
DEXs on Polkadot: Leveraging the Power of Substrate & Shared Security
Slot Auctions vs Coretime: What’s Changing for Polkadot Projects
DEXs: The What, The Why & The How of Decentralized Exchanges
The Potential of Tokenizing Assets: From Houses to Private Equity & Whisky
Embracing Unpredictability: The Role of Randomness in Blockchain
Uncovering Blockchain Consensus Mechanisms: Proof-of-Stake, Proof-of-Work & Beyond
Decoding CBDCs: Advantages & Challenges in the Digital Monetary Landscape
Unleashing Scalability and Speed: The Importance of Layer 2 Blockchain Solutions
Bear With Us: Blockchain Technology is Still Relevant, Even when Crypto Declines
The Imperative for Privacy in Blockchain: TEEs & Privacy-Preserving Software
How Blockchain is Benefiting Numerous Industries: From Sustainability to Brand Quality Control
KYC in Web3: How DiD is Saving the Day for Projects & Companies
Blockchain in Aerospace: Reducing Costs & Enhancing Efficiency
DAOs: How Fair can Decision-Making be and Why is Private Voting Essential?
Web3 Bounties: Rewarding Developers with Tokens
Digital Twins: Increasing Efficiency Without Compromising Privacy
AI and Blockchain: The Combo of the Future
Blockchain: Back to Basics