WHAT’S THE DIFFERENCE BETWEEN THE ETH AND EOS CRYPTOCURRENCIES?
Knut Andre, cryptocurrency investors with years of experience and a graduate student that studied business and international economics, answers the question on Quora: What’s the difference between the ETH and EOS cryptocurrencies?
Chapter 1: What is a smart contract?
For those who are very new to the ideas of cryptocurrencies and blockchain technology, it is first of all most important to understand exactly what a blockchain is. Essentially, a blockchain is a decentralized system, at the heart of which is a public ledger. A ledger is basically a way to account for the current state of the system (e.g. how much cryptocurrency is held in each account). Along with the public ledger, blockchain technology includes a consensus mechanism which dictates how the decentralized computer (i.e. the network of computers running the blockchain) updates the current state of the public ledger.As a fun piece of history, a cryptographer named Nick Szabo realized in 1994 that a decentralized ledger system could be used to execute smart contracts (also called self-executing contracts). Mr. Szabo actually coined the phrase “smart contracts” with the goal of incorporating contract law practices into the design of electronic commerce protocols operating between strangers across the internet.
Smart contracts can facilitate the transfer and exchange of money or property in a transparent way, all while avoiding the services of a middleman.Smart contracts also define all of the obligations and potential penalties involved in an agreement, much like traditional contracts do, but the smart contract platform also automatically enforces all of these obligations and penalties. These smart contract platforms essentially allow the development of decentralized applications to run on the network. Ethereum is currently by far the largest and most successful platform for decentralized applications, but the new platform EOS will seek to solve several of the challenges faced by the Ethereum network.
Chapter 2: Design philosophy
One of the key differences between EOS and the Ethereum network is in the design philosophy behind the networks. The Ethereum network could almost be described as application-agnostic, i.e. it is specifically designed as a neutral platform for all potential applications. In this way, as stated by the Ethereum Design Rationale document on github: Ethereum has “no features”, refusing to build in “even very common high-level use cases as intrinsic parts of the protocol.” This rationale reduces bloat among applications, but it also requires many different applications to reuse code, and efficiency gains for app developers could certainly be realized if certain more common functionalities were provided by the platform itself.
In contrast to this approach, EOS recognizes that many different applications require the same types of functionalities and seeks to provide those functions, such as implementations of the cryptography and app/blockchain communication tools needed by many applications. With this philosophy, EOS will feature the introduction of generalized role-based permissions, a web toolkit for interface development, self-describing interfaces, self-describing database schemes, and a declarative permission scheme. It is my understanding that these functionalities, provided by EOS, will be especially powerful for simplifying user account generation and management, as well as security issues like declarative permissions and account recovery.
Chapter 3: Consensus mechanism and governance
Another significant difference between EOS and Ethereum is in the blockchain consensus mechanism and overall blockchain governance approach. Whereas Ethereum uses Proof-of-Work (and will soon switch to hybrid Proof-of-Work/Proof-of-Stake), EOS will use Graphene technology that utilizes the Delegated Proof-of-Stake (DPOS) consensus mechanism. This choice has significant importance for commercial scalability, which will be addressed in the next chapter.
One issue with the current Proof-of-Work implementation behind the Ethereum network is the difficulty in fixing broken applications. For example, recently the DAO suffered a critical bug/hack/failure. It’s important to note, that those with the “code-is-law” mentality consider the DAO hack to be a “feature”, not a failure, and that users simply should have been more responsible to understand the code more carefully. In any case, the DAO failure showed that broken applications on Ethereum either result in investors facing potentially substantial losses or in disruptive hard forks. With the current Proof-of-Work consensus mechanism of Ethereum, each hard fork also results in a risk of spawning multiple competing chains, as happened with the Ethereum, Ethereum Classic split following the DAO failure. Furthermore, in order to fix a broken application, a disruptive hard fork is required which disrupts the entire Ethereum network.In contrast, EOS includes a mechanism to freeze and fix broken or frozen applications. For example, if the DAO had been implemented on EOS, it could have been frozen, fixed, and updated without disrupting the other EOS applications. Furthermore, the DPOS consensus mechanism of EOS has no potential for spawning multiple competing chains during a hard fork. This is evidenced by the 18 successful hard forks experienced by the Steem network, which also runs on Graphene technology. Furthermore, EOS will include a legally binding constitution that establishes a common jurisdiction for dispute resolution, and it will also include self-funded community benefit applications that will be selected by stake-weighted voting.
Chapter 4: Scalability
In order to consider a platform as commercially viable, scalability is of utmost importance. This is one key area where EOS and Ethereum will differ. Currently, the Ethereum network is limited by the single threaded performance of a CPU. Early test networks achieved 25 transactions per second (in somewhat optimized conditions), which could likely be increased to 50 or 100 tx/s with optimizations. However, under load from real applications, the current transaction limit of the Ethereum network is likely 10 tx/s or less. In the past, the network has been overwhelmed and overloaded with transactions to the point that all but the highest-fee transactions were rejected. This is especially obvious during recent Initial Coin Offerings, such as the Status ICO, in which the network was completely overwhelmed and the ETH tokens suffered a massive flash crash. Note that Vitalik Buterin has laid out a roadmap to “unlimited scalability” which heavily relies on the concept of sharding. As far as I understand (which is NOT well), sharding is a technologically challenging concept that certainly increases the complexity and attack surface of the network, and potentially lowers the security of the network. I am in no way discounting sharding as a viable approach to successfully scale the Ethereum network, and it is likely that it will be successfully implemented to achieve reasonable gains in scalability.
However, in terms of scalability, EOS will have two significant advantages over the Ethereum network, and once implemented, EOS will likely be on the only platform that can handle truly commercial-scale decentralized applications. First, EOS will rely on Graphene technology, which has been shown in stress tests to achieve 10,000-100,000 transactions per second. Secondly, EOS will use parallelization to scale the network, likely up to millions of transactions per second. If these benchmarks are realized, EOS should be able to support thousands of commercial scale DAPPs. EOS will use asynchronous communications and separate authentication from execution to achieve speedups, and because it will have no transaction fees, EOS also does not require counting operations.
Chapter 5: Denial-of-service attacks
Related to the scalability of the network, it is also important to discuss potential attack vectors to the network. In this chapter, I will briefly discuss the potential for denial-of-service type attacks. This type of attack is when a malicious attacker spams a network with traffic in order to prevent legitimate traffic from getting through. It is my understanding that the Ethereum network has been proven to be vulnerable to such DOS attacks, while EOS should be invulnerable to such attacks.
In the Ethereum network, it is well-known that miners preferentially select high-fee transactions to add to the blockchain. Since there are finite bandwidth and computing power in the network, it is easy to imagine a scenario in which the network is spammed with many high-fee transactions, effectively blocking out many lower-fee legitimate transactions. You might think that typically this would be an expensive attack to execute on the network, but there are situations where there are financial incentives to do so. For example, with the recent Status ICO, it was effectively a race to contribute funds to the ICO smart contract in order to effectively receive the ICO tokens at a huge discount. This created an incentive for wealthy players to spam the network with high-fee transactions in order to ensure that their transactions went through. However, this creates a serious weakness for the Ethereum network, since a single application or smart contract can effectively freeze out the entire network.In contrast, EOS should not be vulnerable to DOS attacks. The ownership of EOS tokens gives users a proportional stake in the network bandwidth, storage, and computing power. Therefore, spammers can only consume the proportion of the network that their EOS tokens entitle them too. DOS attacks may be possible in a given application, depending on the app’s design, but those attacks can never disrupt the entire network. Startups with a very small stake invested in the network will have guaranteed, reliable bandwidth and computational power, even if many other malicious actors try to spam several large network apps.
Chapter 6: Economics of the networks: burning fees vs. owning a stake
Finally, I want to briefly discuss the different economic models of the EOS and Ethereum networks. Essentially, this is a comparison between and ownership model and a rental model. With Ethereum, gas fees are required in exchange for every calculation, storage operation, and bandwidth utilization. Furthermore, the required fees fluctuate and can spike prohibitively high as miners preferentially select transactions with the largest fees. This was especially obvious during the recent Status ICO, in which $100 gas fees were still too small, even for trivial transactions. Furthermore, as discussed in the previous chapter, this economic model creates a scenario in which rich actors can potentially freeze the entire network by flooding it with high-fee transactions. Furthermore, this model requires developers and startups to continuously burn gas fees throughout development and deployment of their applications.
In contrast, EOS will utilize an ownership model, in which holding EOS tokens gives users a proportional share in the network bandwidth, storage, and processing power. This means that if someone owns 1% of the EOS tokens, they will always have access to 1% of the network bandwidth, regardless of the load on the rest of the network. In this way, small startups and developers can purchase a relatively small part of the network in order to receive reliable, predictable network bandwidth and computing power, and simply purchase more EOS tokens when they need to scale up their application. Furthermore, since the network will have zero transaction fees, there is no network development cost, except for the initial purchase of EOS tokens. However, these can of course always be sold in order to reclaim the initial investment if desire.
Conclusion
Of course, I am a strong believer in Graphene-based technologies, largely because of their impressive scalability and minimal transaction fees. I recognize this post has had an obvious EOS bias, but keep in mind that Ethereumcurrently has a viable product with a market cap of ~$30 Billion, while EOS is still under development with a current market cap of $0. If you want my honest opinion, I am bullish on both EOS and Ethereum, and I believe once EOS is launched, both platforms will still have tremendous room to grow. Plus do not consider anything in this post to be investment advice, and remember to always do your own due diligence and research!