Cardano(ADA) in detail - with examples

in cardano •  11 months ago

What is a sidechain?

First and second generations of Blockchains

Imagine that you have a few bitcoins and you want to use them in smart contracts, will this be possible for you? Right now the answer is "No", because the first generation of bitcoin blockchain lacks features such as smart contracts. you might ask yourself: why do I need to use Bitcoin for such purpose? I am going to use Ethereum which is more advanced and is known as a second generation blockchain, and I can easily use smart contracts on its blockchain. I have to say that your conclusion is partly true, but note that you made a hidden trade off here (And I don’t mean changing Bitcoin to Ethereum), by changing the Blockchain of Bitcoin to Ethereum you are basically giving away a more secure chain to get into a less secure yet more functional chain (because of complex programing language that Ethereum has, it is more prone to having unseen bugs). Therefore, in the first and second generations of the block chain, it is practically impossible to have both security and features like smart contracts simultaneously.

The third Generation of Blockchains

Now imagine that you can keep your Bitcoins (without turning them into Ethereum) and also be able to use Ethereum’s fully featured blockchain and its capabilities such as “smart contract " and " shorter block time” (Ethereum around 15 seconds), and eventually return them to the Bitcoin blockchain if needed. The above example is the sidechain concept, The Ethereum blockchain is represented here as a sidechain for the Bitcoin network. Third generation focuses on implementation of Sidechain technology on Blockchain with the goal of increasing functionality, the ability to connect to other networks, the ability to update without the need for hardline and ... without compromising on security. the Cardano project (ADA) With a special and Academic look at the concept Sidechain is trying to design two blockchains to work side by side for a fully featured yet secure solution, lets continue to completely understand what Cardano is.
Cardano (Cardano-ADA)

The Cardano project is designed to have two blockchains called CSL (Cardano Settlement Layer) And CL (Computation Layer), CSL will be used as Mainchain and CL as Sidechain.

CSL (Cardano Settlement Layer)
CSL is where ADAs will be produced, this chain does not support many features which makes it more secure because all the features will be tested, and simplicity is another reason for calling it a secure chain.
CL (Computation Layer)
CL works as a sidechain for the Mainchain(CLS), CL has more features like smart contracts, and because of the complexity in implementation of the chain, it naturally is less secure than CSL.
Mainchain & Sidechain interaction
You can transfer your ADAs to Sidechain and use the benefits of CL chain, and if necessary, reinstate them back to Mainchain and ensure its security. This is exactly the tradeoff we were talking about earlier, you can keep your ADAs in a safer environment with fewer capabilities, or bring them to a riskier environment with more features and a complex programming language like Plutus.
Transmission between CSL and CL
Suppose we want to transfer 1000 ADAs from the mainchain to the sidechain, to do this, it is required to create a transaction in CSL and send 1000 ADAs to an address that no one has the ability to access (burn ), After confirmation of the burning of the corresponding ADAs ( some confirmations after burning) by the core nodes of the network (Minters who are the creator of the coins), a Coinbase Transaction will be created on Sidechain and the amount of 1000 ADAs will be generated and sent to the person who burned associated ADAs. Obviously, in order to create a coin on a peripheral network, a proof is needed from the main network, which in this case is "the hash of the whole blockchain after the block in which the burning of ADA's confirmed" for example, in POW (Proof of Work) based networks, since POW is big in size, the proof of Proof of Work(POPOW) will be implemented (Cardano is based on POS).


Transmission process from Sidechain to Mainchain is the opposite with the additional Firewall Property

Firewall (Firewall Property)

Maybe you're wondering what happens to if sidechain gets compromised? Is it possible to create infinite number of ADAs in CL? To answer this I have to tell you a firewall feature is designed to always consider a rule, which is the number of ADAs transmitted to the mainchain from the sidechain cannot be higher than ADAs burned and transferred to sidechain earlier, in other word you cannot create more ADAs and send them to mainchain than you burned that mainchain.


For example, if the entire project history shows that 1,000,000 ADAs had been transferred from mainchain to sidechain, this property would only allow transferring up to 1,000,000 ADAs from sidechain to mainchain, even if the sidechain is compromised, there will be no risk to the funds available on the mainchain.

The features of the Cardano project are as follows:

  1. Based on POS (Sustainability)
  2. Ability to connect to different networks (Interoperability)
  3. High-performance in high-volume transaction - transactions will be performed on both chains (Scalability)
  4. Ability to be upgraded without hard fork (Upgradability)

(Items 2-3-4 are doable by sidechain technology)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Supper fantastic post am very impressed for you good work on steemit platform


Please Stop

In your your last 100 comments you used 41 phrases considered to be spam. You've received 5 flags and you may see more on comments like these. These comments are the reason why your Steem Sincerity API classification scores are Spam: 61.80% and Bot: 8.60%

Please stop making comments like this and read the ways to avoid @pleasestop and earn the support of the community.