What do you prefer - Maximum Security or Cheaper Transactions?

The Ethereum scaling solutions space has been heating up lately. Which is a good thing, because Ethereum (and its community) needs scaling as soon as possible.

As you know, Polygon's mission is to develop various kinds of Ethereum scaling solutions, from sidechains to rollups (and more).

But all these solutions come with trade-offs. There's no perfect scaling solution that would satisfy everyone and any need.

The two most popular types of scaling solutions right now are sidechains and rollups.


Sidechains are sometimes referred to as "childchains", but the "sidechain" term is more commonly used.

A sidechain is a type of blockchain. In practice, most sidechains are EVM-compatible chains, which means they use the same technology as the Ethereum blockchain (usually a Geth node software), but with some modifications. 

That's why the experience of using EVM sidechains is the same as using Ethereum. You can easily use MetaMask with any EVM-compatible sidechain, except you need to change the network in MetaMask from Ethereum to the specific sidechain.

But not all EVM-compatible chains are sidechains! For example, BSC and Tron also use EVM and Ethereum node software, but they are not Ethereum's sidechains.

For something to be a sidechain/childchain to Ethereum, it needs to have a dependence on it.

For example, the Polygon PoS Chain has all the staking management defined on Ethereum, which means it depends on Ethereum. If Ethereum stops working, Polygon cannot properly function anymore.

BSC and Tron do not have any dependence on Ethereum. They can easily exist without Ethereum. That's why these two chains are Layer 1 blockchains (L1). Polygon PoS Chain, on the other hand, is not an L1 because it cannot exist on its own. It's a sidechain (or childchain) to Ethereum because it depends on it.

The advantage of sidechains is to have high throughput (high TPS) and very low transaction fees because they can produce bigger blocks and have a shorter block time. This of course has an impact on decentralization, but it is a tradeoff that makes sense for scaling solutions to make.

> That said, Polygon PoS Chain still has a very good level of decentralization with 100+ distinct PoS validators (compared to other scaling solutions that are currently mostly completely centralized).


Similar to sidechains, rollups are also blockchains. Optimistic rollups usually use customized Geth for EVM compatibility, while ZK-rollups build their own node software from scratch, that's why they are not EVM compatible by default (more on ZK rollups in one of our future blog posts).

But what really sets rollups apart from sidechains, is that rollups store all their transactions on L1 (on Ethereum).

What's the point of doing that?

The reason to do that is to offer users the maximum security of their funds. If rollup block producers (BPs) start behaving maliciously or stop working for some reason, the rollup users are still able to get their funds back to Ethereum without needing any permission from rollup nodes.

> Besides storing transactions on L1, an important security mechanism is validity/fraud proofs. We'll talk more about that in another blog post.

There are various ways to get funds back to L1, but the most common one is an "escape hatch". It is basically a way for users to "escape" from a rollup back to L1 in case something bad starts happening on a rollup.

For an escape hatch to work permissionless, all rollup transactions need to be stored on Ethereum.

But if transactions are stored on Ethereum, why would you use a rollup chain anyway? Isn't that the same as using Ethereum then?

Not really. The key here is that transactions are only stored on Ethereum, but they are not processed on Ethereum. Processing a transaction is the bigger part of transaction costs. Storing transactions is cheap.

As we said, a rollup is a separate blockchain and you'd use it in the same way as you use Ethereum. Each time a rollup BP creates and processes a new block of transactions, it also stores it on Ethereum in order to enable the Escape Hatch mechanism. Moreover, in case all rollup nodes malfunction and lose all data, the rollup chain can be easily restored from data stored on Ethereum (it's kind of like a backup).

What's important to note here is that when a rollup block producer stores block data on L1, it does that by making a transaction on L1. This transaction includes all rollup transactions (from that block) as data. As we said, these transactions are not processed on L1, they are just stored there. But there's a limit on how much data you can store within one transaction on L1. 

As Vitalik wrote in his blog post about rollups, you could store up to 62,500 rollup transactions in one L1 block, which gives you a theoretical rollup TPS limit of around 4807 TPS. 

Note that this is a theoretical limit because it would mean that this BP's transaction on L1 takes the whole L1 block space, which is extremely unlikely to occur. Especially with multiple rollups competing for L1 block space.

A more realistic TPS limit for rollups is a lot lower, probably at around 300 TPS and likely even less until sharding arrives. Just for comparison: Polygon PoS Chain (a sidechain) has a theoretical limit of 7200 TPS, but in reality we've seen it getting closer to 1000 TPS.

So the thing that makes rollups more secure (storing transactions on L1) also limits their scalability. This means that rollups will always be more expensive than non-rollup scaling solutions, which can have a much higher TPS.

What to choose then? Lower gas fees or higher security?

Luckily, you don't have to choose just one of these. We live in a multichain world where many people are already active on multiple chains. These can be either sidechains, or rollups, or even other L1s (although we prefer chains within the Ethereum ecosystem). 

All it takes is just switching your network in MetaMask, but even that will be automated for you in the future by wallets. Some mobile wallets like Rainbow already do that.

A typical blockchain user will probably have some funds on Ethereum L1 (funds that will be rarely moved), some on sidechains (for high-frequency activities like trading), and some on rollups (for less regular activities like weekly yield farming).

What's most important is that people have a choice and can choose which solution to use based on their needs.

About Polygon

Polygon is the leading platform for Ethereum scaling and infrastructure development. Its growing suite of products offers developers easy access to all major scaling and infrastructure solutions: L2 solutions (ZK Rollups and Optimistic Rollups), sidechains, hybrid solutions, stand-alone and enterprise chains, data availability solutions, and more. Polygon’s scaling solutions have seen widespread adoption with 500+ applications hosted, ~600M total transactions processed, ~60M unique user addresses, and $5B+ in assets secured.

If you're an Ethereum Developer, you're already a Polygon developer! Leverage Polygon’s fast and secure txns for your Dapp, get started here.

Website | Twitter | Ecosystem Twitter Studios Twitter | Reddit | Discord | Telegram | Instagram

More from the Polygon Blog
The Many Lives of Tokens

Tokens are the élan vital of Web3 networks, and projects are often perceived through the price at which they trade. But token price, subject to market sentiment and speculation, is not synonymous with token value. To understand the fundamentals, we must first unpack the different ways that value accrues to tokens in the new Internet […]

Read More
Going Beyond the Green Manifesto: Our New Impact Commitment 

With Ethereum’s Merge finally upon us, we’ve been thinking about how this historic milestone will affect our sustainability efforts. Polygon’s initial commitment to become carbon neutral and eventually carbon negative was largely addressing emissions generated by our relationship with Ethereum. The Merge dramatically changes that equation. Ethereum’s transition from Proof-of-Work to Proof-of-Stake consensus, known as […]

Read More
Starbucks Taps Polygon for Its 'Starbucks® Odyssey' Web3 Experience 

Today, we are thrilled to announce that Starbucks Coffee Company is working with Polygon to provide the blockchain technology to build its recently announced Web3 experience, Starbucks Odyssey. As a result of the partnership, this new Web3-powered experience will allow Starbucks Rewards loyalty program members and Starbucks partners (employees) in the United States to earn […]

Read More
Polygon Avail’s Ability to Scale: What We Can Improve Next

The Polygon Avail Testnet is now live. As users begin incorporating Avail into their chain designs, a question that often comes up is, “How many transactions can Avail process?” This is Part Two in a three-part series of articles that will address Polygon Avail’s current performance, as well as its ability to scale in the […]

Read More
Ethereum Merge FAQ and Common Misconceptions

Ethereum’s much-anticipated transition to the proof of stake (PoS) consensus, known as the Merge, is almost upon us. It’s a momentous event with broad-ranging implications for the greater Ethereum ecosystem. So we wanted to provide a definitive list of frequently asked questions (and answers) as well as address some of the common misconceptions, both of […]

Read More
Polygon-Powered Icetea Labs Accelerator Launches With 6 Startups

Polygon has teamed up with Alpha Venture DAO and Icetea Labs to launch the inaugural Icetea Labs Accelerator Program for blockchain startups.  Working in a tight three-way partnership, Polygon is co-creating an accelerator to funnel resources, mentorship, education, and business acumen to promising Web3 companies from around the world. The startups selected for the accelerator […]

Read More
Apply to Polygon Bootcamp Africa and Kickstart Your Web3 Developer Journey

Applications are open for Polygon Bootcamp Africa, launched in partnership with Xend Finance! The eight-week intensive educational course and hackathon combo will put developers in Africa on the Web3 map.  This is Polygon’s biggest step in providing resources to developers, builders, and creators in Africa, and it comes during an important time.  An internet and […]

Read More
ZK White Paper: Efficient ZK Proofs for Keccak

As part of our ongoing efforts to inform the Ethereum community about the efforts of Polygon’s zero-knowledge (ZK) teams, we will be posting a series of technical papers by our engineers and researchers. We hope that everyone who’s interested in the inner workings of Polygon’s ZK projects, Ethereum itself, and cryptographic engineering in general will […]

Read More