Layer 2 Scaling Solutions
Market Recap
Ethereum Continues Upwards While Elon Musk Stops Bitcoin in its Tracks
Layer 2 Scaling Solutions
Today we will explore layer 2 scaling solutions. With the high cost of Ethereum gas fees at the moment, we decided it was an appropriate topic to delve into.
But Why Do We Need Layer 2's In The First Place?
All blockchains have their limitations. They make tradeoffs to provide a specific service to their end-users. Vitalik Buterin, the creator of Ethereum, has dubbed it the blockchain trilemma.
The triangle above helps you visualise the trilemma. Blockchains, as they currently stand, can only be designed to emphasise two of the three sides. You can be secure and decentralised, scalable and secure or decentralised and scalable. Blockchains like Bitcoin and Ethereum currently are secure and decentralised. Still, they lack substantial scalability and therefore opens up the opportunity for others to improve the service, but there is always a tradeoff.
Who Needs Layer 2's?
Firstly you need to match the use case to the blockchain. Specific use cases like gaming or gambling require fast transaction times, and Ethereum doesn't currently cater to these.
In addition to this, as the number of people using the Ethereum blockchain has grown, it has started to reach the upper limits of its transaction capacity. As a result, the transaction costs on the Ethereum Network have increased significantly. It has made some applications unnecessarily expensive to use. This limitation has provided the opportunity for other projects to step in and help the base chain, in this case, Ethereum, scale and improve its transaction speed and transaction throughput.
The other reason people have decided to leverage layer 2 solutions is for privacy. Businesses and companies may not want all their data published and visible to a global audience. Therefore they can create a permissioned layer that they can access and conduct business on while still leveraging the benefits of the layer 1 network.
What Is A Layer 2?
Layer 2's sit on top of their parent blockchain. These layer 2 solutions can be run by anyone, whether it be a business or a large group of individuals. The way it works from a high level, in general, is that users of the network will broadcast their transactions to the people running the layer 2 software instead of the underlying blockchain. They will then batch the transactions into groups and then "anchor" them to the underlying blockchain (layer 1), where they are now irreversible. Reducing the load on the layer 1 blockchain makes it easier to create cheaper and faster applications.
Layer 2 Designs
Just how base layer blockchains have to make tradeoffs when it comes to their design, so will layer 2's. There are different ways to design scaling solutions, which we will dive into below:
Rollups
Rollups are one of the most popular methods and have been touted as the best method before the launch of ETH 2.0 by Vitalik Buterin.
Rollups will execute transactions outside the layer 1 blockchain and then post the data back to layer 1, where consensus is reached. The transaction data is included in layer 1 blocks and will inherit the security of the underlying blockchain. In order to further increase security, the people computing rollups are required to put us some form of financial collateral that will be taken away if they are caught trying to game the system.
Sidechains
A sidechain is its own blockchain; it runs "parallel" to the layer 1 chain. There is a lot of flexibility to this approach as you can choose your own consensus mechanisms and rules. However, this introduces security concerns because you now need to trust the people running the consensus, and it becomes less decentralised. However, this can be appropriate for enterprises and other use cases when you trust all those involved in consensus.
State Channels
State Channels allow participants to transact any number of times off-chain while only submitting two on-chain transactions to the layer 1 network. In order to do this, one must "lock" a certain amount of funds in a special smart contract that requires two or more people to "sign" the transaction to process it. Once you have deposited funds into the smart contract and all parties sign saying they are happy to go ahead, you can now perform as many transactions as you want between one another off-chain (keeping a detailed record). Once everyone has finished making their transactions, the balance owed by everyone will be netted off, and once all parties are happy, they will "sign" the transaction, which will trigger the smart contract to make a payout to your wallet plus or minus what is owed. There is usually a high cost in setting up and settling a state channel, so it is not useful for the occasional transaction. Still, it can be very effective when there is a high volume of transactions expected between parties.
Plasma
Plasma chains are a bit more complicated. A plasma chain is also a separate blockchain (similar to sidechains), but it is anchored to the Ethereum main chain and uses fraud proofs like rollups to ensure that the chain remains truthful. These smaller or "child" chains are essentially smaller copies of their layer 1 counterpart, and there can be hundreds and thousands created. There are several cons to using this method, including longer withdrawal times and the need to rely on operators to store the data.
Below you will find a summary of the different approaches and their designs (don’t worry, you don’t need to understand all of it):
All the above scaling solutions come with their own benefits and tradeoffs. We have seen layer 2 projects finding momentum and have become an investable theme in the general digital asset industry. Projects like Polygon have appreciated over 7000% this year alone. The trick is that you want to preserve the decentralisation and security of the base chain.
Yet, it remains to be seen if the introduction of ETH 2.0 negates the need for scaling solutions or if they can complement one another and create a world where scalability is really just an afterthought in blockchain design.
Notable Articles and News Stories This Week:
UBS Considers Offering Crypto Investments to Wealthy Clients
Swiss giant UBS has announced it is in the "early stages" of plans to offer digital asset exposure to its high net worth clients. The move to allow clients access to digital asset investments is a sharp turnaround from September last year when they labelled bitcoin as an unattractive safe-haven investment due to its volatility. Access to digital assets is only one of the initiatives it is considering. One other important area of focus for them is the use of blockchain technology to improve their business processes, and they plan to invest heavily in it going forward.
Read more about it here
Renaissance Technologies Amassed $140M Position in Mining Stocks In Q1
The quantitative hedge fund behemoth Renaissance Technologies has significantly increased its exposure to the digital asset ecosystem in the last few months. They currently sit with over $140 million in mining stocks spread between Riot Blockchain ($61.8 million), Marathon ($75 million) and Canaan ($4.2 million). They have had exposure to these stocks previously, but never over $1 million to any individual one, so it marks a significant step into the industry for Renaissance.
Read the story here
Bank of England Official: It's 'Probable' UK Will Launch a Digital Currency
Sir John Cunliffe, a Bank of England official, has stated that it is "probable" that the state will issue some form of digital cash in order to retain citizens confidence in the availability of public money. According to Sir Cunliffe, "The knowledge that under stress depositors have the option to switch into state money may be important in preventing a more general loss of confidence in money". The alternative he sees is depositors moving into "private" money such as stablecoins issued by tech companies because they are likely "to have greater functionality and lower transaction costs than the current commercial bank digital money offering and could quickly attract a large number of users".
Read the story here or access the full speech here
Curated Articles
Bitcoin, Mining, and Elon Musk
Anthony Pompliano dives into the recent move by Tesla to stop accepting BTC as payment for its cars and dispels some fallacies surrounding bitcoin mining.
Whilst we all have the option to look, to seek to understand, it’s often easier not to. Bitcoin, Ethereum and distributed ledger technology are complex systems that require significant due diligence. At Etherbridge, we aim to lower the barriers to understanding this fast-growing digital economy.
If you are interested in staying up to date, please subscribe to our newsletter at etherbridge.co
This is not financial advice. All opinions expressed here are our own. We encourage investors to do their own research before making any investments.