Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

We might be taking a look at Decentralized Scalability of Smart Contract Platforms, a few of the initiatives within the crypto area that wish to clear up this dilemma, specifically – Lightning Network, Raiden, Plasma, and Lumino. Scalability is the important thing answer in the case of blockchain. If cryptocurrencies are to grow to be mainstream, then they should be as quick as centralized alternate options – if not quicker. In this information, we’ll take a look at the primary points which can be stopping cryptocurrencies from processing quicker transactions.

A quick historical past of Decentralized Scalability issues

The blockchain’s scalability issues have been effectively documented. Bitcoin and Ethereum are the 2 hottest cryptocurrencies on the planet, nevertheless, the previous can solely handle 3-7 transactions per second, whereas Ethereum can solely deal with 15-20 transactions per second. This is actually abysmal when put next with institutional options like PayPal and Visa. The cause why decentralized cryptocurrencies have lagged within the pace division is due to the best way they’re designed.

Design points hampering scalability

There are two foremost points that we are going to be wanting into:

  • Time is taken to place a transaction within the block.
  • Time is taken to succeed in consensus.


The Time Taken To Put A Transaction In The Block


Both Bitcoin and Ethereum observe a proof-of-work (POW) consensus mannequin. In a POW mannequin, there are particular individuals known as miners who use their computational energy to unravel cryptographically exhausting puzzles. If they efficiently mine these blocks, then they get a block reward for his or her bother.

So suppose Alice needs to ship four BTC to Bob, this transaction knowledge will queue up with the remainder of the opposite pending transactions contained in the mempool. Miners who efficiently mine the blocks decide up pending transactions from the mempool and put them contained in the block. The second this occurs, the transaction goes by way of and the miner collects some transaction charges for his or her companies. The downside with this method is that the miner turns into a bottleneck for this whole operation. So each time the scale of the mempool will increase, the period of time taken for a median transaction to undergo considerably will increase. Also, remember the fact that in a Bitcoin blockchain, the blocks are restricted by a 1 MB block dimension. In different phrases, there are solely so many transactions that they will put of their blocks.


Ok, so what about Ethereum?


While blocks don’t have Bitcoin’s 1 MB dimension restrict, they’re restricted by a 6.7 million gasoline restrict. A easy Ethereum transaction could cause round 21,000 gasoline. However, an advanced good contract can price much more.

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

Speaking of which, gasoline is the quantity of computational energy wanted to course of that individual transaction or good contract. Since every block has a gasoline restrict, miners can solely add transactions whose gasoline necessities add as much as one thing equal to or lower than the whole gasoline restrict of the block.


Time Taken to Reach Consensus


Bitcoin and Ethereum’s blockchain is hosted on a peer-to-peer community. This is the node distribution of the Bitcoin community:

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

While that is Ethereum’s:

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

The nodes of the community are unfold throughout a large space and have equal privileges. There isn’t any central authority and neither is there any hierarchy. It is a flat topology.


However, since there isn’t any central authority, how does a decentralized community make its choices? The reply – consensus mechanisms.


Once a miner efficiently mines a block, they should propagate it all through the community. A supermajority of the community (>⅔) should approve the legitimacy of the block. Unfortunately, what it means is that as increasingly more individuals enter the community, it turns into extra time-consuming to succeed in a consensus.

Layer 2 Decentralized Scalability –  Comparison of Smart Contract Platforms

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

So, if the innate structure of the blockchain is flawed, then it is smart to create a layer on high of the blockchain, which might enable us to undertake strategies to scale up transactions. The strategies that we are going to be speaking about as we speak – Lightning Network, Raiden, Plasma, and Lumino are all examples of layer-2 scalability options. To perceive how these options work, you might want to perceive the idea of fee channels.


A state channel is a two-way communication channel between individuals which allows them to conduct interactions, which might usually happen on the blockchain, off the blockchain. What this may do is that it’s going to lower transaction time exponentially since you might be not depending on a 3rd occasion like a miner to validate your transaction.


So what are the necessities to do an off-chain state channel?


  • A phase of the blockchain state is locked through multi-signature or some form of good contract, which is agreed upon by a set of individuals.
  • The individuals work together with one another by signing transactions amongst one another with out submitting something to the miners.
  • The whole transaction set is then added to the blockchain (in Lumino & Raiden not all transactions are saved on the blockchain).


The state channels might be closed at a degree that’s predetermined by the individuals, in accordance with founder Stephan Thual. It may both be:


  • Time lapsed, eg. the individuals can conform to open a state channel and shut it after 2 hours.
  • It might be based mostly on the whole quantity of transactions performed eg. shut the chain after $100 value of transactions have taken place.


A fee channel is a state channel that offers solely with funds and micropayments between events. Remember, all of the interactions on the channels are issues that would occur on the blockchain however are occurring off it. While there are lots of various kinds of fee channels on the market, the most well-liked variety, by far, are hashed timelock contracts or HTLCs.


The HTLC allows opening up of fee channels the place funds can get transferred between events previous to a pre-agreed deadline. These funds get acknowledged through the submission of cryptographic proofs.


Fine, so until now, we’ve got gained a primary understanding of the background behind these options. Now let’s deal with them one-by-one.

#1 Lightning Network

The lightning community is an off-chain, HTLC type, micropayment system which is designed to make transactions work quicker within the blockchain. It was conceptualized by Joseph Poon and Tadge Dryja of their white paper, which aimed to unravel the block dimension restrict and the transaction delay points.


Let’s take a hypothetical instance to grasp the way it works. Imagine Alice has to ship some funds to Charlie through Bob.


  • Alice opens a channel with Bob and Bob opens a channel with Charlie.
  • Suppose Alice declares that she needs to work together with Charlie.
  • Charlie declares a random quantity and generates its SHA256 hash and arms it to Alice. Basically, if Charlie chooses a quantity A then he’ll give the hash of the quantity H(A).
  • Alice sends 0.1 BTC to Bob with the situation that solely somebody who can submit the information required to get the identical hash can retrieve the fee. For Bob to misuse the funds, he might want to have the information, aka the pre-image required to generate that hash. Basically, Bob must give “A,” which he doesn’t have.
  • Bob now arms over the funds to Charlie utilizing the identical situation. Charlie finalizes the fee from Bob by handing him over the pre-image “A.”
  • Bob finalizes the fee from Alice by handing her “A.”


The following is an infographic of how all the course of works.

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

The advantages of the lightning community are as follows:


  • Fast funds: Payments are nearly instantaneous.
  • Not depending on miners: Transactions don’t must be permitted and verified by miners for it to undergo.
  • Micropayment pleasant: Earlier micropayments have been extraordinarily inconvenient on the bitcoin blockchain. Now they’re attainable because of the lightning community.
  • Multi-signature pleasant: The transactions will undergo if and provided that everybody current within the channel approves.
  • Reduces blockchain load: With so many transactions occurring of the chain, it vastly reduces the load that the primary chain has to take.
  • Decreases ready time: Since the transactions are occurring off-chain and with out miner intervention, there may be little to no ready time.
  • It helps in scalability since it’s going to enhance the variety of transactions occurring per second.

#2 Raiden

Raiden is a layer-2 answer for Ethereum. While it’s fairly much like Lightning Network, what makes it totally different is that together with transaction particulars, its state channels switch good contract particulars as effectively. The largest points hampering Ethereum transactions are as follows:


  • Block Interval Time: It takes 15 seconds to mine blocks in Ethereum.
  • Gas Price: Whether a transaction will get included within the block or not can also be immediately associated to the gasoline worth of every transaction. Usually, miners settle for transactions with greater gasoline costs and provides them particular choice by permitting them to “cut in line” so to talk.
  • Orphan Blocks: Sometimes, the miners mine empty blocks. These blocks are additionally known as “orphan blocks.” Even one of the best mining swimming pools at the moment have a 1–2% orphan block fee.


Raiden will enable two customers to transact between them, as many instances as they need, with out having to work together with a miner or the blockchain. It might be structured like a mesh-type construction operating on high of the ethereum foremost chain:

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

Advantages of the Raiden Network?


  • Usable and easy software programming interface (API).
  • Enables Ethereum scalability.
  • It can be utilized to ship any ERC20 token.
  • Enables quick and easy switch of cash.
  • Will lower the load on the Ethereum blockchain.

#3 Plasma Chain

Plasma, together with lightning community/Raiden, will introduce an entire new layer to the Ethereum structure:

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

Plasma is a sequence of contracts that run on high of the basis chain (the primary Ethereum blockchain). If one have been to check the structure and the construction, then consider the primary blockchain and the plasma blockchains as a tree. The foremost blockchain is the basis whereas the plasma chain aka youngster blockchains are the branches.

Decentralized Scalability -A Quick Comparison of Smart Contract Platforms: Lightning Network, Raiden, Plasma and RIF Lumino Payments

This vastly reduces the load on the primary chain. Periodically the branches maintain sending reviews to the primary chain. In truth, you possibly can view the Root Chain because the supreme court docket and all of the branches because the subordinate courts which derives its powers from the primary court docket.


All the department chains can situation their very own distinctive tokens which might incentivize chain-validators to care for the chains and to make sure that it’s fault-free. Each department has its personal unbiased knowledge and when it does have to submit some knowledge to the primary chain, it doesn’t dump all its contents, it simply submits the weblog header hash to the primary chain.


Not solely does plasma save up a whole lot of area in the primary chain, but it surely additionally will increase the transaction course of pace exponentially. If applied correctly, this might be one of the crucial revolutionary modifications ever made to Ethereum and cryptocurrency generally.


OmiseGo, one of the crucial promising Ethereum-based initiatives, is at the moment constructing a Plasma-based product for enabling quick and seamless funds.

#four RIF Lumino

Before we speak about RIF Lumino, let’s get a greater understanding of RSK and RIF. Rootstock (RSK) is a brilliant contract platform that’s linked to Bitcoin’s blockchain by way of sidechain technology. Rootstock permits you to create purposes suitable with Ethereum (the web3/EVM/Solidity mannequin) whereas nonetheless having fun with the safety supplied by Bitcoin´s blockchain. At its very core, Rootstock is a mixture of:


  • A Turing-complete resource-accounted deterministic digital machine (for good contracts) is suitable with the Ethereum’s EVM.
  • A two-way pegged Bitcoin sidechain (for BTC denominated trade) based mostly on a robust federation.
  • A SHA256D merge-mining consensus protocol (for consensus safety counting on Bitcoin’s miners) with 30-seconds block interval. (for quick funds).


If you need to know extra about RSK, then you possibly can learn our information right here.


Rootstock may also be utilizing its tech stack – the Rootstock Infrastructure Framework Open Standard (RIFOS) to assist construct a wholesome financial system on high of Bitcoin. It’ll facilitate using blockchain technology by making it as easy for everybody as attainable. One can consider RIFOS because the third layer on high of the Bitcoin blockchain since it’s constructed on high of a sidechain (RSK) that’s present on high of Bitcoin.


Keep in thoughts the next options in the case of RIFOS:


  • As lengthy as a product is suitable with the underlying protocols, builders can seamlessly combine it throughout the RIFOS ecosystem.
  • All the person parts of RIFOS have been designed to maximise the potential advantages for many who need to supply their infrastructure companies throughout the protocol’s ecosystem.
  • All the parts are protected by the safety supplied by the Bitcoin Network.
  • Its protocols will embody mechanisms to set off community results and economies of scale.
  • Most of the companies operating in RIFOS might be consumed using a single token (RIF).


One of the areas the place RIFOS is at the moment engaged on is “payments” with its Lumino undertaking. Lumino is fairly much like Raiden because it sends transactions and good contract particulars over the state channels. However, the distinction is that whereas Raiden has been constructed for Ethereum, Lumino has been constructed of RSK, and by extension, Bitcoin. The Lightning Network and Lumino might seem as rivals, nevertheless, the truth is that they complement one another and are working collectively to offer one of the best service attainable to Bitcoin customers.


Conclusion- Decentralized Scalability

Via the implementation of layer-2 mechanics, will probably be attainable for cryptocurrencies to realize a whole lot and 1000’s of transactions per second. Scalability has all the time been one of many largest issues within the crypto area. However, initiatives like Lumino, Lightning Network, Raiden, and Plasma have proven us that we lastly have the means to unravel this downside as soon as and for all and obtain actual mainstream adoption.



Comments (No)

Leave a Reply