Select Page

Doc's Daily Commentary

Mind Of Mav

Layer 2 & Scalability: Still Hype or Now Substance?

 

One of the most common criticisms of the early Blockchain solutions was that they were slow. That slowness was often combined with large transaction fees. 

A few logical leaps later, and some came of the conclusion that, “Blockchain is a terrible technology and a bad vision for the future”, or something to that effect.

The problem was. they weren’t wrong, at least in their narrow focus on negative effect rather than overall benefit, but it was the elephant in the room.

Hence, the solution came from a few buzzwords you’ve probably encountered before: scalability and layer 2 solutions.

But, what are they really? What progress has been made since scalability was all the rage a few years ago? Let’s explore!

Scalability has arguably been the sharpest thorn in the flesh of both DApp developers and users. Most popular public blockchain networks are unable to scale up transactions when network traffic increases. Any time an

application built on Ethereum gets popular, transaction fees on the network go up to tens of dollars! 

Layer 2 (or L2) solutions have come up as a practical solution to this scalability mess. As opposed to Layer 1 (L1) solutions, which try to improve the performance of the blockchain protocol itself, L2 solutions run on top of the L1 blockchain. They inherit the security properties of the underlying blockchain and provide greater throughput (or transaction processing capacity), lower transaction fees and faster transaction confirmations.

Over the years, blockchain projects have employed L2 scaling techniques such as State channels, Sidechains, Plasma and ZK Rollups to various degrees of success. In this article, we’ll look at popular L2 scaling techniques along with some of the recent developments in the field of L2 scaling.

Payment (State) Channels

When it comes to Bitcoin scaling, the first name that comes to mind is Lightning Network. The project employs payment channels, which allow the majority of transactions to be settled off-chain, leaving only the final state of the nodes to be recorded on the blockchain.

Payment channels are a subset of what are known as state channels, which can support not only payments but also general ‘state updates’ and data broadcast.

Since only the participants that are involved in the transaction are required to know all its details, it is unnecessary to record every single transaction in the blockchain. The involved parties can keep on transacting through the state channel, and only when the channel is closed are the final state of the nodes broadcasted to the network and recorded as a single on-chain transaction.
 
Lightning Network uses a ‘punishment’ payment channel, which allows either participant to sign transactions offline that output different amounts to the two parties. If a participant attempts to broadcast old states, he/she is punished by the protocol by allowing the other participant to obtain all the funds in the channel.

Lightning Network reduces the need to open a channel with every party on the network that is involved in the transaction, further reducing the number of on-chain transactions and reducing the cost and time
required for transactions.

By using payment channels, the Lightning Network allows for exceptionally low fees and promises massive scaling across the network. This can result in lower on-chain stresses and lead to emerging use cases (such as instant micropayments).
 

Sidechains

Matic Network has been a trusted name when it comes to L2 scaling solutions on Ethereum for considerable time now. To increase throughput, Matic creates a two-way peg between the main blockchain and Matic’s proprietary sidechain, dividing the workload between the two.

Users can transfer mainchain coins to coins on this sidechain to complete transactions. Once all transactions are confirmed on the sidechain, the coins are transferred back to the mainchain, thus enabling users to utilise the advantages of the sidechain without changing the main chain’s protocol. Since the sidechain can allow more powerful customized smart contracts and higher transaction speeds, transactions can be settled much faster on the sidechains.
 
Matic’s scaling technology comprises of an adapted version of Plasma with PoS based sidechains. Plasma refers to a framework that allows the creation of ‘child’ blockchains which use the main Ethereum chain as a trust and arbitration layer. The child (or side) chains can be configured to match the demands of specific applications, further improving efficiency and throughput.
 
There are security concerns for sidechains, however, as they typically have much less computing power to maintain consensus as compared to the main chain. This opens up the possibility of miners in the main chain to attack the sidechain.
 
In a recent update, Matic announced that the project is re-branding to Polygon, where they would experiment with other scaling techniques like ZK Rollups and Optimistic Rollups. Polygon also plans to work on implementing inter-chain communication protocols and create an Internet of blockchains based on Ethereum.
 
xLumi

V Systems, a blockchain infrastructure project aimed at providing high network throughput and security for Web3.0 applications, recently launched their own version of payment channels. Known as xLumi, this modified version of payment channel can power fast and secure micropayments on the blockchain.

Unlike traditional bidirectional payment channels, xLumi allows funds to be transferred in only one direction. Payment transactions can happen offline by letting the payer sign a transaction and passing it to the recipient; the recipient, on his/her part, has to broadcast the payer’s signature to the blockchain to make sure that the payer had actually intended the transaction.
 
Since the amount paid to the recipient can only increase, the unidirectional payment channel ensures that only newer states are broadcast. This makes sure that the payer cannot cheat by signing an offline transaction and then withdrawing all the funds from the channel.
 
Participants can agree upon the expiration time within which the recipient has to broadcast an update before the opening of the payment channel. xLumi transactions can happen offline, which enables repeated payments to be done without paying any transactions\ fees. This allows users to make high-frequency low-volume micro-payments free of cost.
 
As compared to Lightning Network’s punishment payment channels, xLumi ensures that the correct state of the payment channel is maintained without punishing malicious parties. This drastically reduces the complexity of payment channels, along with the number of interactions and storage of keys required for every transaction.
 
ZK Rollup

ZK Rollup is a relatively new L2 scaling technology. Loopring, a protocol for developers to build high-throughput, non-custodial, orderbook-based exchanges on Ethereum, leverages on ZK Rollups. As proof of concept, Loopring has created a DEX that achieves 2,000+ TPS using ZK Rollups.

In cryptography, a Zero- Knowledge Proof (ZK Proof) is a method by which one entity (the ‘prover’) can prove to another identity (the ‘verifier’) that they have the knowledge of particular information without revealing the information itself. ZK proofs are the fundamentals on which various privacy techniques have been developed.

Meanwhile, a Rollup is an L2 scaling solution similar to Plasma, allowing hundreds of side chain transactions to be processed offline with only a single hash of the side chain block being included in the main blockchain. However, while Plasma creates one transaction per transfer, ZK Rollups bundle hundreds of transfers into a single transaction.

In ZK Rollup, all funds are held by a smart contract on the main chain while it performs computation and storage off-chain. Validity of the side chains is ensured by ZK proofs, which enables the protocol to compress the aggregated transactions and reduces the amount of information that is written in the main chain.

Recently, Loopring unveiled gasless transfers from L2 to L1 environment. With this feature enabled, users will no longer be constrained by being only able to transact with other L2 protocols; they would now be able to transfer assets from Loopring L2 accounts to any Ethereum L1 wallet.

So, is L2 the way ahead?

While a bunch of new blockchain projects are adapting the L2 way of life, not everyone is convinced that L2 is the way ahead. ParaState, a Polkadot project which provides a smart contract virtual machine for writing Ethereum-compatible smart contracts in popular programming languages and running them on Polkadot, believes that L2 is inferior to L1 scaling.

In many cases, L2 solutions require developers to learn and use new programming languages to builds DApps on the new chain. Moreover, use-case scenarios which involve interaction with multiple L2 protocols built on
the base chain can dampen the user experience while also leading to higher transaction fees overall.

ParaState believes that L1 solutions are inherently more secure, feature-rich, and stable. Unlike popular scaling solutions like Matic, ParaState wants developers to make use of all the tools and features available on Ethereum.

Harmony, a fast, secure and highly scalable blockchain for deploying Web3.0 applications, is another such example. By integrating sharding with PoS consensus mechanism, Harmony provides fast finality (<2s) through its L1 framework itself.

So, hopefully you know a little more about what scalability has become in a short amount of time, and how it’s still a massively promising area of development. As a disclaimer, I own none of the projects discussed.

 
 

The ReadySetCrypto "Three Token Pillars" Community Portfolio (V3)

 

Add your vote to the V3 Portfolio (Phase 3) by clicking here.

View V3 Portfolio (Phase 2) by clicking here.

View V3 Portfolio (Phase 1) by clicking here.

Read the V3 Portfolio guide by clicking here.

What is the goal of this portfolio?

The “Three Token Pillars” portfolio is democratically proportioned between the Three Pillars of the Token Economy & Interchain:

CryptoCurreny – Security Tokens (STO) – Decentralized Finance (DeFi)

With this portfolio, we will identify and take advantage of the opportunities within the Three
Pillars of ReadySetCrypto. We aim to Capitalise on the collective knowledge and experience of the RSC
community & build model portfolios containing the premier companies and projects
in the industry and manage risk allocation suitable for as many people as
possible.

The Second Phase of the RSC Community Portfolio V3 was to give us a general idea of the weightings people desire in each of the three pillars and also member’s risk tolerance. The Third Phase of the RSC Community Portfolio V3 has us closing in on a finalized portfolio allocation before we consolidated onto the highest quality projects.

Our Current Allocation As Of Phase Three:

Move Your Mouse Over Charts Below For More Information

The ReadySetCrypto "Top Ten Crypto" Community Portfolio (V4)

 

Add your vote to the V4 Portfolio by clicking here.

Read about building Crypto Portfolio Diversity by clicking here.

What is the goal of this portfolio? 

The “Top Ten Crypto” portfolio is a democratically proportioned portfolio balanced based on votes from members of the RSC community as to what they believe are the top 10 projects by potential.
 
This portfolio should be much more useful given the ever-changing market dynamics. In short, you rank the projects you believe deserve a spot in the top 10. It should represent a portfolio and rank that you believe will stand the test of time. Once we have a good cross-section, we can study and make an assessment as to where we see value and perhaps where some diamonds in the rough opportunities exist. In a perfect world, we will end up with a Pareto-style distribution that describes the largest value capture in the market.
 
To give an update on the position, each one listed in low to high relative risk:
 
SoV/money == BTC, DCR
Platforms == ETH, XTZ
Private Money == XMR / ZEC / ZEN
DeFi == MKR / SNX and stablecoins
 
It is the most realistic way for us to distill the entirety of what we have learned (and that includes the RSC community opinion). We have an array of articles that have gradually picked off one by one different projects, some of which end up being many thousands of words to come to this conclusion. It is not capitulation because we all remain in the market. It is simply a consolidation of quality. We seek the cream of the crop as the milk turns sour on aggregate.

Current Top 10 Rankings:

 

 

Move Your Mouse Over Charts Below For More Information

Our Discord

Join Our Crypto Trader & Investor Chatrooms by clicking here!

Please DM us with your email address if you are a full OMNIA member and want to be given full Discord privileges.