Categories
Crypto Guides

What are Sidechains & What is their Purpose?

Introduction

Sidechains are mechanisms that enable the transfer of existing tokens or digital assets from a blockchain platform to another blockchain platform. The tokens or digital assets can be transferred back to the original blockchain if required. The primary platform from which we transfer the assets is called the parent chain or main chain, while the other platform is called sidechain. Ardor blockchain calls the sidechain as childchain.

Sidechains have enormous potential to transform the existing issues of scalability in the blockchain platforms. The transfer need not be only digital assets or tokens, but we may transfer computing or for speeding purposes as well, depending on the processing requirements. We can have many sidechains for a single parent chain.

How do they work?

Sidechain is indeed a separate blockchain platform connected with the leading blockchain platform using a two-way peg. The two-way peg is a method to convert one digital token to another type of token like BTC to ETH. The two-way peg facilitates the transfer of digital assets at a predetermined rate. A user on the parent chain first sends coins to an output address so that they can be blocked.

To ensure that these coins aren’t spent elsewhere, a protocol is followed. Once the transaction is complete, the information is sent to all the chains. Some extra period is used to wait as well to increase security. Once this is done, the same number of coins are released in the sidechain for user access and spending. The same process can be repeated when the tokens are to be sent from sidechain to the main chain. Some other entities come into the picture to run the sidechains seamlessly. They are as below.

Federations

A federation can be called as a group or server which acts between the main chain and a side chain. The sidechain creators can decide federation members. They decide on when to lock the coins and release the coins for spending and vice versa.

Security

The core reason for anyone to move to the blockchain platform is security. So, one may question what about the security aspects in the sidechains. Even though they are connected, they are on their own in terms of security. Both platforms are individual blockchain platforms and are very secure individually.

Further, if there is any disturbance in one platform, the disturbance will not be carried out to the other. The sidechains use separate miners from the main chain. They are incentivized using merged mining. Merged mining refers to the mechanism of mining two or more cryptocurrencies at the same time based on the same algorithm.

Platforms using Sidechains 

Rootstock or RSK

RSK has two-way peg connectivity with the Bitcoin platform. RSK’s vision is to enable smart contracts functionality for bitcoin blockchain, increase scalability, thus faster transactions. Miners are rewarded through merged mining. As of now, the platform supports 100 TPS.

Liquid

Liquid sidechain proposes instant movement of funds between exchanges without waiting for the delay in confirmation from the bitcoin blockchain. This is the first commercial sidechain developed by Blockstream.

Advantages of Sidechains

  • Enhances the scalability of the mainchain, thus increasing the number of transactions per second.
  • Need not create a sidechain again and again; once created, they can be used for any purpose.
  • They enable the communication between two different coins, which helps in the testing of beta coins in the sidechain before the official launch.

Conclusion

The scalability issues of blockchain technology are addressed in different ways, but sidechains are very promising. The communication between two different cryptocurrencies paves ways to multiple features. Transactions costs and time will be reduced as the burden is less for the mainchain. The concept is going to create a massive change in the blockchain technology in the upcoming future.

Categories
Crypto Daily Topic Cryptocurrencies

What Is Rootstock (RSK): Understanding The Most Popular Bitcoin Blockchain

Bitcoin technology has played a phenomenal role in revolutionizing the global finance industry. Finance industry players, retail companies, and individuals understand this, hence its massive adoption across all industries. But Rootstock (RSK) sidechain developers believe that Bitcoin blockchain could be doing more. And that limitations in scalability, transaction processing, and lack of support for smart contracts the dominant cryptocoin is facing today are its biggest hindrances.

RSK developers also believe that the pioneer blockchain is money-dominated, implying that people concentrate more on Bitcoin Value than the technological revolution it promises the finance sector. And to address these issues, RSK labs sought to create a Bitcoin sidechain – Rootstock, also known as the ‘SMARTER BITCOIN.’ According to the company, the Sidechain will help Bitcoin overcome these limitations and boost its functionality and interoperability.

But what is RSK, and what progress has it made in making these feasible?

What Is RSK?

RSK is a Bitcoin sidechain connected to the BTC blockchain by a two-way peg. It can also be said to be an innovative virtual machine (RVM), tethered to the root of bitcoin blockchain with the aim of introducing the smart contract concept to the pioneer blockchain while effectively boosting its scalability. Plus, its through RSK sidechain that the crypto community will be able to create and run Bitcoin blockchain-backed smart contracts.

How does RSK hope to achieve these?

Ideally, the RSK sidechain seeks to marry the functionalities of the Ethereum blockchain with the security and efficiency of the bitcoin blockchain. To make this possible, the smart contract sidechain is tethered to the main blockchain by a two-way peg. This ensures that the side chain runs parallel to the main blockchain and that there is interchangeability of assets between both parent and side chain. It also has the backing of a semi-trusted third party that oversees the reliability of all transactions between RSK sidechain and Bitcoin blockchain in the execution of these smart contracts.

Hybrid federation to actualize smart contracts:

The semi-trusted-third-party (STTP) comprises of 25 highly accredited crypto community members of proven crypto knowledge and unquestionable integrity. And they serve as an interlink between RSK sidechain and Bitcoin blockchain, where they determine when to lock or release smart contract funds.

Why does the execution of smart contracts need a third party, you might ask? Well, because Bitcoin blockchain does not support the creation of smart contracts on its platform, RSK platform users needed an assurance that the Sidechain was operating in their best interests. And who to better provide such oversight and regularly audit the transactions carried out on the platform than the crème del crème of the crypto industry.

The 25 STTPs effectively form the hybrid federation that, in turn, operates the multi-signature wallet used to authorize the locking and release of funds. Each multi-sig wallet member has one vote, and it takes a simple majority to authorize the execution of a smart contract.

Two-way peg to actualize scalability and transaction speeds

The RSK Labs has been involved in the audit and analysis of both Bitcoin and Ethereum blockchains. In RSK sidechain, they have come up with a highly scalable platform that seeks to boost on-chain transaction processing speeds to 2000 in the long-run from the 3 TPS recorded by bitcoin blockchain today. They also intend to increase block confirmation speeds from 10 minutes per block to less than 10 seconds per block. To achieve this, RSK Labs developers utilized the GHOST protocol used on the Ethereum blockchain to speed up transaction processing speeds, and the DÉCOR+ block reward sharing protocol.

Note that RSK is a sidechain and will not be modifying the bitcoin blockchain code. How then does its scalability and transaction speeds impact Bitcoin? Well, the 2-way peg ensures the two blockchains run parallel to each other, and share assets like the blockchain database. This implies that if a transaction is recorded on the sidechain block, it automatically records on the main bitcoin blockchain, effectively eliminating chances of duplication. The tokens are also interchangeable, where 1 BTC = 1 SBTC (the token used on the RSK sidechain network).

RSK key features and components

Virtual machine:

RSK is to bitcoin, what EVM is Ethereum. A virtual machine through which bitcoin smart contracts can be executed. RSK, however, goes a notch higher to provide a platform on which the crypto community can create Bitcoin-based decentralized apps. And this effectively earns it the title –SmartBitcoin.

No commercializing tokens:

The fact that RSK is a sidechain that complements the Bitcoin blockchain means that its tokens won’t be commercially available. They will be restricted within the RSK to boost network operations like DApps creation. And to allow for easier interchangeability, 1 SBTC will always hold the same value as 1BTC. Let’s say you had 5 BTC and that you wanted to transact but want to leverage the speed and efficiency of the RSK sidechain. You simply exchange them for an equivalent amount of SBTC, and once done, convert your SBTC balance back to BTC.

Transactions not fully trustless:

The fact that Bitcoin’s blockchain does not support the creation of smart contracts on its native network necessitates the use of the Hybrid Federation interlink. When you exchange your BTC for SBTC or vice versa, your coins are locked in a multi-signature wallet within the 2-way peg. The federation, consisting of 25 highly accredited crypto community members, holds the keys to the multi-sig wallet. And locking and releasing funds held in the wallet only requires the authorization of a simple majority.  It provides a semi-trustless oversight over the funds as opposed to the fully independent, trustless, and automated oversight needed in a smart contract.

Merge-mining security:

 Bitcoin miners don’t need special applications or hardware to mine SBTC tokens. The RSK token mining applications are completely compatible with the bitcoin mining infrastructure. And as Bitcoin mining halves and block confirmation become harder, SBTC mining is a well-timed incentive.

The bridge between bitcoin and Ethereum:

RSK also supports the Turing Complete Programming language used by Ethereum Virtual Machine (EVM) and Ethereum DAPPs. This makes it possible for Ethereum blockchain users to easily migrate their systems to the RSK network. It is a viable option for Ethereum users, uncertain about the efficiency and reliability of the upcoming shift by Ethreum from proof of work to proof of stake.

What is the future of RSK?

Federation transitions to a drivechain/sidechain model?

Currently, RSK transactions over the 2-way peg are audited by the semi-trustless federation. Moving forward, however, and as the Sidechain gains traction and usage, RSK hopes to shift the custody of the locked coins on the 2-way peg to the merge-miners. A significant move aimed at reducing the need for trust.

RSK Educate:

RSK also looks forward to educating the crypto community on the effectiveness of its innovative Sidechain. To this end, RSK has published all the whitepapers related to this project and even created a blog where they share tips and educate the masses on how to interact with the Sidechain.

Why hasn’t RSK picked?

When RSK made public their intention to create and actualize the implementation of smart contracts, every crypto community member expected a flawless process. In its stead, RSK Labs, the developers of RSK sidechain, decided to include the semi-trustless federation of signees to maintain custody of the coins exchanged between Bitcoin main net and Sidechain.

The inherent risk associated with such an arrangement, especially considering their small and compromisable size of just 25 participants,  have seen the crypto community shy off the platform. Most of these lie in wait of the proposed upgrade to the 2-way link that elbows out the federation in favor of BTC and SBTC merge miners. 

Bottom line

It is about time Bitcoin blockchain took advantage of its massive industry support and incorporated smart contract features. And the Rootstock sidechain is here to give the blockchain its much-needed push towards execution of smart contracts. By adopting RSK, users of the already dominant legacy coin stand to benefit from such features only available with the newer blockchain models as faster transaction processing speeds, a DApps building platform, and the ability to execute bitcoin blockchain-backed smart contracts. Looking at the Bitcoin community, however, one can’t help but notice the pockets of resistance and doubts forming around the effectiveness and reliability of the Sidechain. And these are majorly attributable to its reliance on the federation of signees as custodians of the locked coins. Only time will tell if this will change once RSK migrates to verification by merge-miners.