arrow-up
Crypto Basics

What Are Cryptocurrency Layer 2 Scaling Solutions?

By
Published on:
June 25, 2021

Layer 2 solutions are designed to increase the speed and efficiency of blockchains. Take a look at their different forms and how they work in this guide.

What Are Cryptocurrency Layer 2 Scaling Solutions?

Table of Contents

Blockchain technology offers tremendous benefits – decentralization, trustless interactions, high levels of security and immutable record-keeping. It has enabled a booming cryptocurrency ecosystem to develop and has underpinned consistent technological innovation. However, one of the main problems with many blockchain networks is their scalability. Scaling problems are an issue when the amount of data passing through the blockchain hits a limitation due to the insufficient capacities of the blockchain. 


In an ideal case, a blockchain would be able to handle an infinite number of transactions per second, also referred to as throughput or with the acronym TPS. However, the Bitcoin main chain can only handle around 3-7 TPS. In comparison, Visa can process about 20,000 TPS using the centralized VisaNet electronics payment network. The difference lies in the level of decentralization and privacy that Bitcoin and other blockchains aim to provide. It takes a good deal of time and processing power to replace a simple centralized system. Each transaction must be accepted, mined, distributed, and validated by a global network of nodes


To solve these problems, blockchain developers are working to improve the scope of what a blockchain can handle. That means allowing for a higher number of transactions per second and faster processing times. This would make the common goal of the blockchain community a reality: to make cryptocurrencies and blockchain-based systems accessible to everyone in a convenient, secure and efficient manner. 

Why Are Scaling Solutions Necessary?

Scaling solutions can tackle the aforementioned problems by providing respite for the blockchain without needing to increase block sizes or introduce other measures that would tamper with the technology’s capacity for decentralization and high levels of security.


Layer 1 Scaling Solutions

Layer 1 blockchain solutions help to improve the base protocols (E.g. Bitcoin’s proof-of-work, or PoW) by changing how they operate as regards processing data. For example, the Ethereum network is now moving to a proof-of-stake (PoS) consensus algorithm. This new method of mining supports faster transaction speeds and more efficient energy use in the mining process. 


Sharding is another layer 1 scaling solution that breaks down the job of authenticating and validating transactions into smaller pieces. It spreads the workload better across the peer-to-peer (P2P) network to bring in more computing power from more nodes. This all allows for blocks to be completed faster.


However, layer 1 solutions aren’t the only avenue available to scale blockchains. Layer 2 solutions to scaling establish an additional protocol that is built on top of blockchains like those of Ethereum and Bitcoin. 


Layer 2 scaling solutions increase throughput without tampering with any of the original decentralization or security characteristics that are integral to the original blockchain. 

What Is a Sidechain?

Sidechains are in fact something of a hybrid between layer 1 and layer 2 solutions to scaling. A sidechain is another blockchain that is linked to a main chain such as Bitcoin’s. They are linked with a two-way peg (2WP) that is a protocol that allows for the open transfer of cryptocurrency from the main chain to a layer two chain that requires a degree of third-party trust.


One example of a sidechain is the Liquid Network, attached to Bitcoin’s main chain. Like other layer 2 scaling solutions, it aims to tackle scalability problems by offloading some of the validation and transaction processing processes to another blockchain. This frees up the main chain to take on a greater number of transactions. 


What Is a Parachain?

Parachains are short for “parallel chains.” As you can imagine, these chains run parallel to one another in a system of interconnected blockchains. They are all created within the same framework, which allows them to have the same security attributes, and they are all connected to the central relay chain. However, they can all also act independently to address their specific applications. This is the central idea behind Polkadot. Parachains allow for very fast transactions as the distribution is efficiently spread to handle workloads. 


What Is Ethereum 2.0? 

Ethereum 2.0 refers to the Ethereum network’s shift to a more sustainable PoS-based system that supports sharding and other scalability features. This set of improvements will increase the scalability of Ethereum and put it on par with other leading blockchains when it comes to throughput. Ethereum investors can stake their coins to earn rewards in return for their contribution to validation efforts.


What Is a Hashgraph?

Hashgraphs leave the realm of blockchain and are considered a different technology altogether. However, they are very similar insofar as they are also a distributed ledger technology (DLT). Moreover, unlike blockchain, hashgraph has been patented, and the only ledger out there that uses it is Hedera Hashgraph. Hedera touts itself as the third-generation of public ledger technology, following Bitcoin and Ethereum. It supports incredible scalability at 10,000 TPS, lower fees, less energy usage and lower processing times.


Layer 2 Scaling Solutions

Layer 2 scaling solutions must inherit the underlying security of the main chain. Whereas sidechains may use other networks or validators to secure the chain, layer 2  differentiates itself by inheriting its security directly from the main chain. The main layer 2 solutions are zero-knowledge rollups and optimistic rollups


Layer 2 scalability engines and solutions like Starkware, Optimism and Arbitrum provide scaling for blockchains so that a growing number of exchanges and platforms are able to use networks like Ethereum


Zero-Knowledge Rollups 

Zero-knowledge rollups – aka ZK-Rollups – are bundles of data that are collateralized by a smart contract on the main chain while they are transported off-chain for processing and computing. They are able to produce a block in around a minute, with the ability to process 2,000 TPS. Zero-knowledge means that all verifiers can know they have the same information without it actually being disclosed. 


Optimistic Rollups 

Optimistic rollups run on Ethereum’s base layer so that a huge number of smart contracts can be run without overburdening the network. They still benefit from the exact same levels of security as the Ethereum main chain. Data aggregators will compute merkle roots to achieve increased transaction speeds. However, they offer less throughput than Plasma and ZK Rollups. 


Plasma

Ethereum’s Plasma layer 2 solution uses child or secondary blockchains that will assist the main chain in verification. Plasma chains are similar to smart contracts or parachains from Polkadot. However, they are structured differently in a hierarchy to take transactions from the main chain to free up work and improve salability. 


Bitcoin Lightning Network

The Bitcoin Lightning Network is one of the best-known layer 2 solutions for Bitcoin. Like other layer 2 solutions, it takes transaction bundles from the main chain to be dealt with off-chain before transferring that information back. The Lightning Network also brings smart contracts to Bitcoin, which is a big improvement to the network overall.  


This article contains links to third-party websites or other content for information purposes only (“Third-Party Sites”). The Third-Party Sites are not under the control of CoinMarketCap, and CoinMarketCap is not responsible for the content of any Third-Party Site, including without limitation any link contained in a Third-Party Site, or any changes or updates to a Third-Party Site. CoinMarketCap is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement, approval or recommendation by CoinMarketCap of the site or any association with its operators. This article is intended to be used and must be used for informational purposes only. It is important to do your own research and analysis before making any material decisions related to any of the products or services described. This article is not intended as, and shall not be construed as, financial advice. The views and opinions expressed in this article are the author’s [company’s] own and do not necessarily reflect those of CoinMarketCap.

Author(s)

Kevin Dwyer

I'm a technical writer and journalist covering cryptocurrency and tech. I believe blockchain can build a better world - I'm here to report on how we get there.

Join the thousands already learning crypto!

Join our free newsletter for daily crypto updates!

Email submitted!
Oops! Something went wrong while submitting the form.

Related Articles