A Deep Dive Into Cardano
Cardano is a proof of stake, smart contracts blockchain. Its native cryptocurrency is called ADA and the smallest unit of ADA (1/1,000,000 ADA) is called a Lovelace. This is in tribute to the first recognized computer programmer, Ada Lovelace.
Cardano prides itself in the rigorous academic process used to develop various aspects of the blockchain. Its website claims that Cardano is “the first blockchain project to be developed from a scientific philosophy, and the only one to be designed and built by a global team of leading academics and engineers”.
I like to say that blockchain is the new religion and the consensus algorithm is its God. It is clear that Cardano has dedicated significant academic resources in developing its consensus algorithm, Ouroboros. Ouroboros is a provably secure proof of stake algorithm developed by a team of IOHK scientists led by Prof. Aggelos Kiayias. The algorithm is backed by a peer reviewed paper. According to Charles Hoskinson, the founder of Cardano, Ouroboros’s paper was rewritten 8 times!
The extent to which the academic process has influenced Cardano’s development currently does not extend beyond Ouroboros. The team has published a set of other papers, one for a scalable and decentralized randomness algorithm, one for an efficient and decentralized poker protocol, and one for secure sidechains. Besides the randomness algorithm, which is used in Ouroboros to select stake winners, Cardano has not incorporated the ideas of the other papers, yet.
Cardano is built as a layered blockchain. The Cardano Settlement Layer (SL) is where account balances and transactions are managed. It uses the UTXO model and is supposed to be the most secure part of the blockchain. The SL is kept apart from the computational layer where smart contracts are executed. This layered architecture gives the system the flexibility to be more easily maintained and allow for upgrades by way of soft forks. In Ethereum, the settlement layer and the computational layer are intertwined.
Cardano’s properties of academic rigour and provable safety are unique in the cryptocurrency space and a huge selling point for the platform to enterprise customers. Companies looking to deploy blockchain technology want a guarantee of safety and Cardano is the only cryptocurrency with a consensus algorithm backed by a peer reviewed paper with provable safety.
Cardano’s history
Cardano’s ICO took place in 4 stages between September 2015 - January 2017 with heavy Know Your Customer (KYC) requirements. It was marketed as an “investment to retire on” to primarily Japanese investors; in fact, 95% of the buyers were of Japanese origin, primarily in the 35-55 age bracket. 2.56% of buyers were Korean, and 2.39% were Chinese. The ICO oversaw a total sale of approximately 26,000,000,000 of the 45,000,000,000 maximum supply of ADA tokens. At the conclusion of the ICO a total of approximately $63 million USD was raised; this puts the price at an average of $0.00242 per ADA, and the market capitalization immediately after the ICO at approximately $109 million USD. (source)
While 26,000,000,000 ADA was sold in the ICO, an additional 5,185,414,108 ADA were distributed to IOHK, Emurgo, and the Cardano Foundation.
A total of 31,112,484,646 ADA was made available at Cardano’s launch.
Current state of Cardano
Cardano lays out three eras in its timeline: the Testnet Era, Bootstrap Era, and Reward Era. The Testnet Era is pretty self-explanatory, Cardano is deployed on a test net.
The Bootstrap Era is when Cardano SL is deployed on the main net BUT it is centralized in order to maintain security. Only a fixed, predefined set of users have control over the system. The assumption is that security is poor in this era since people are slow to redeem their ADA coins. For the first few months, stakeholders who jointly possess the majority of the ADA stake are mostly not online yet. The blockchain can be easily attacked if only a small amount of ADA is staked. As consolation to the community, Ouroboros will not provide any block rewards.
Cardano is currently in the Bootstrap Era.
The Reward Era is when the network is in a completely decentralized and trustless mode. According to Cardano’s website, “the system will receive regular software updates moving forward, and a massive amount of new features will be released” in this era. These features would include upgrades to Ouroboros, Cardano’s consensus algorithm, an implementation of Cardano’s control layer, and sidechains.
IOHK and the Cardano Foundation
IOHK, or Input Output Hong Kong, is the engineering company implementing Cardano and the Cardano Foundation is the promotor, educator, and standard body for the blockchain and its apps. In October, Hoskinson stated that IOHK had nearly 100 employees and contractors, three research engineers, and operate in nearly ten countries.
Charles Hoskinson is the founder of IOHK and subsequently Cardano and the Cardano Foundation. Hoskinson has a long history as a blockchain entrepreneur. He was initially the CEO of Ethereum before being fired. Reasons of the firing are complicated. Ethereum at the time was 6 months old with a $15 million market cap.
Hoskinson then founded IOHK and IOHK subsequently led the development of Ethereum Classic. Ethereum Classic came to be when Ethereum hard forked after the major DAO hack. A small portion of the community was against this idea and maintained the original chain, which is now known as Ethereum Classic. For IOHK to lead the development of Ethereum Classic suggests that Hoskinson might have some bad blood with members of the Ethereum Foundation, likely from earlier disagreements that resulted in his ousting.
While IOHK continues to lead Ethereum Classic’s development, its primary focus is now on Cardano. Hoskinson aspires for Cardano to be a compelling alternative to Ethereum and he plans to do so by building a blockchain that was designed for scale, security, and upgradeability from day one.
Ouroboros
Ouroboros is Cardano’s proof of stake consensus algorithm. Proof of stake was chosen over proof of work since it’s more efficient and it’s way more expensive to perform a 51% attack.
The name Ouroboros comes from the name of an ancient symbol depicting a serpent or dragon eating its own tail. The symbol originated in ancient Egyptian iconography. The name is fitting for this algorithm, since Ouroboros operates in epochs.
Each Ouroboros epoch contains a fixed number of slots. Each slot represents a new block. The slot leader is an account staking ADA that is responsible for creating the block. Epochs last for 5 days (source). Slot leaders for an epoch are chosen during the previous epoch. An account’s chance of being chosen is directly tied to the amount of ADA it’s staking.
An account can only participate in staking if it has at least 1% of the total supply of ADA (source). For the accounts that don’t meet that criteria, staking pools will exist so everyone is compensated for owning ADA. This high minimum staking requirement gives rise to concerns of centralization. I outline the concerns below.
Ouroboros will initially provide both newly minted ADA and transaction fees as block rewards. When the total supply of ADA reaches 45,000,000,000 block rewards will consist only of transaction fees.
According to IOHK/Cardano Foundation, Ouroboros is the first provably secure proof of stake algorithm. The team behind Cardano has mathematically proven that the algorithm is safe from all the known proof of stake attack methods including grinding attacks, nothing-at-stake attacks, and long range attacks. This safety and security should be a very powerful enterprise selling point for Cardano.
Read more about Ouroboros here.
Ouroboros Praos
Ouroboros Praos is an initiative to upgrade Ouroboros. Praos is semi-synchronous, doesn’t require a heavy MPC protocol for randomness and encourages the adoption of a quantum resistant signature scheme for input endorsers and slot leaders. Praos allows for shorter block times.
Read about Praos here.
Ouroboros Hydra
Ouroboros Hydra is another upgrade to Ouroboros that introduces sharding. Sharding allows multiple Ouroboros epochs to run at the same time which significantly increases Cardano’s throughput. One of the hardest things to figure out for sharding is inter-shard communication.
We are still a ways away from the Hydra upgrade. Expect a paper from Cardano’s team on Hydra before any serious development efforts begin.
Sidechains
Sidechains are blockchains running in parallel and independently from the main chain. Sidechains and the main chain should be able to securely transfer assets back and forth. If any problems arise in the sidechain, the main chain can confiscate the sidechain’s assets.
Sidechains significantly extend the main chain’s capabilities. Because they are separate from the main chain, they can be more centralized and faster and perform more specialized functions. By pegging themselves to the main chain, side chains can take advantage of the main chain’s security without having to adhere to the main chain’s inefficiencies.
The main problem with sidechains today is their security. There are several attacks where mainchains can be compromised through side chains. The Cardanos team has changed this by introducing a provably secure sidechain technology that fixes all known avenues of attack, opening the way for secure sidechains. They call it Non-interactive Proofs of Proof of Work (NIPoPoW). Altough the Cardano’s team is far from implementing NIPoPoW sidechains on Cardano, the technology is a significant step forward.
Blockchain performance
Cardano’s average transaction throughput is 10-15 transactions per second. This is comparable to Ethereum. Charles Hoskinson has claimed that Ouroboros can perform at more than 200 transactions per second in a lab unsharded. (source)
Project concerns
Smart contracts are not ready
Cardano’s smart contract virtual machine, the IELE virtual machine, is currently under development. According to Cardano’s roadmap, it is 33% complete.
Cardano’s smart contract language, Plutus, is also currently under development. The specification of Plutus is complete but the implementation, Plutus core, is not. According to the roadmap, it is 12% complete.
With the control layer still in the early stages of development, Cardano is currently a UTXO blockchain using a proof of stake consensus algorithm. In order for it to compete against existing decentralized smart contract blockchains like Ethereum and QTUM, Cardano needs to get out its control model ASAP in order to get its network effect going.
Ouroboros is prone to centralization
As mentioned above, an account can only participate in staking if it has at least 1% of the total supply of ADA. At the current market cap of $13 billion, one needs to have $130 million worth of ADA to participate in staking. If you assume Cardano will be successful, this number will be significantly higher. Who will be able to afford $130 million worth of ADA? Sure there will be staking pools but even staking pools encourage the centralization of wealth. Those participating in the pools will most likely have to pay fees to the pool owner.
This minimum balance requirement also means that at most 100 accounts can participate in staking and because of the power law, it will be much less than 100 accounts that will be staking. There will most certainly be a few entities with exponentially large balances of ADA and the minimum balance requirement will only serve to consolidate their power and control.
Cardano vs EOS
This topic is extremely complex. There is a long history between Dan Larimer and Charles Hoskinson. In fact, before Ethereum, Hoskinson actually worked with Larimer on Bitshares but also left on bad terms.
Check out this post by Larimer on the flaws of Cardano. Also check out Hoskinson’s rebuttal.
Summary
Cardano is a fundamentally strong cryptocurrency. Ouroboros is a very cool proof of stake algorithm. Its layered blockchain design is sound. Cardano’s security, modularity, and upgradeability will be a big boon for Cardano when it tries to attract enterprise customers.
However, Cardano has some fierce competitors and academic rigour and peer research might not be enough to win against years of main net stability and gigantic network effects. That said, Cardano is not going anywhere in the medium term and it does have a very good chance at becoming a top tier smart contracts platform.
“It’s not a sprint, it’s a marathon” - Charles Hoskinson