The phenomenal rise in the value of Bitcoins was the trigger for the interest generated in blockchain technology. Developers keep coming up with new blockchain technologies at frequent intervals, and each is claimed as superior than the others. Here is a comparative study of the Tron, VET, NEO and Ethereum blockchains.
There are different types of cryptocurrencies available in the market, the underlying technology for which is the blockchain. The developers of each of these currencies claim that theirs is a better blockchain system. Many readers will already be aware of the Bitcoin and the Ethereum blockchains. Now we also have Tron, VET and the NEO blockchains. In this article, we will explore the differences between Tron, VET, NEO and the Ethereum blockchains.
The Tron blockchain
Tron uses a three-layered architecture — the application layer, storage layer and core layer. The Tron protocol follows Google’s Protobuf and hence it supports multi-language extensions.
The Tron blockchain does not rely on Proof-of-Work (PoW) consensus, because this consumes more power and has a very low transaction speed (TPS). It uses a Proof-of-Stake (PoS) model as a consensus mechanism.
It uses KhaosDB and stores all new fork chains within a certain period of time, thus allowing witnesses to switch active fork chains into a new main chain.
Tron’s digital token module consists of two parts:
- The config module, which allows the customisation of digital tokens by users. This is achieved by using digital configuration functions.
- The deployment module, which allows users to deploy a token or issue a token.
The cool feature of Tron is that it allows the creation of one’s own contract, irrespective of the complexity. These contracts run on Tron virtual machines. Hence, the virtual machine platform itself helps the developers to create several different dApps.
For deployment into Tron virtual machines, the following are the prerequisites:
- Oracle JDK 1.8 or later
- Tron Studio
- Solidity programming knowledge
Smart contract development in the Tron blockchain: For developing and deploying smart contracts Tron Studio source code needs to be downloaded from https://developers.tron.network/docs/download-the-code#section-tron-studio. You can follow the steps to compile the source code from https://developers.tron.network/docs/tron-studio-intro.
Here is sample code for a smart contract, developed using Solidity:
pragma solidity ^0.4.23; contract Migrations { address public owner; uint public last_completed_migration; constructor() public { owner = msg.sender; } modifier restricted() { if (msg.sender == owner) _; } function setCompleted(uint completed) public restricted { last_completed_migration = completed; } function upgrade(address new_address) public restricted { Migrations upgraded = Migrations(new_address); upgraded.setCompleted(last_completed_migration); } }
The VET blockchain
The VET blockchain of VeChain is developed by the VE Foundation, Singapore. According to the official website, “VeChain aims to connect blockchain technology to the real world by providing a comprehensive governance structure, a robust economic model as well as advanced IoT (Internet of Things) integration, and be the pioneers in real-world applications.” VET is focused on real world use cases such as supply chains, medicine and healthcare, luxury and fashion, automobiles, etc. Until the launch of VeChain Thor, VeChain was dependent on Ethereum technology for smart contract development. The following factors differentiate it from other blockchain technologies:
- Built-in governance tools
- Proof-of-authority
- Cryptocurrency disaster recovery plan
- High scalability and sidechain capability
VET uses a combination of blockchain technology and the Internet of Things (IoT) for tracking and tracing items throughout their life cycles. Each item is assigned unique identifiers (RFID tags) using IoT. Thus, each item is logged onto the VeChain blockchain, enabling each stakeholder to track the item.
The NEO blockchain
NEO is the first blockchain to be backed by the Chinese government. By using a digital identity, it aims to digitise assets. According to the NEO blockchain site:
Digital Assets + Digital Identity + Smart Contract = Smart Economy
Its consensus mechanism is based on Delegated Byzantine Fault Tolerance (dBFT), which supports a large volume of transactions per second. Randomly selected book-keeping nodes validate transactions on the network similar to Hyperledger Fabric and thus achieve consensus. It has evolved on the top of Ethereum’s blockchain model, and its developers claim that it closes the loopholes that the Ethereum contracts had. NEO developers also claim to have built a security algorithm which is known to be quantum computing proof. Thus, present day quantum computing hacks cannot break NEO’s algorithm.
NEO uses the NEOVM compiler to support several programming languages. It is crucial for network security and scalability that smart contract code gets isolated inside of the NEOVM. NEOVM is the lightweight implementation of Docker, which reduces the system resource requirements.
The following features differentiate NEO from other blockchain technologies:
- NEP5 Communications Standard: This standard allows developers to build dApps using standardised workflows and templates.
- X.509: NEO uses the X.509 digital identity standard, which is based on public key infrastructure. NEO also supports the Web of trust point-to-point certificate issuance mode. Identity verification is done with the use of facial features, fingerprints, voice, SMS, etc.
- NeoX: The use of the NeoX protocol allows NEO tokens to communicate with tokens on other blockchains.
- NeoFS: This is the InterPlanetary file system based decentralised file-sharing service.
- NeoQ: This is the quantum-proof cryptographic mechanism that protects NEO from quantum computing hacks.
NEO provides two types of digital assets:
- Global assets
- Contract assets
Smart contract development in the NEO blockchain: Here is a sample of a smart contract developed using Java:
public class HelloWorld : SmartContract { public static void Main() { Storage.Put(Storage.CurrentContext, “Hello”, “World”); } }
The storage class is a static class that manipulates the private contract storage. The Storage.Put() method allows you to store data in the private storage area in key-value format.
The Ethereum blockchain
The Ethereum blockchain structure is quite similar to the Bitcoin blockchain. Every node on the Ethereum network stores a copy of an entire transaction history. The recent state of each smart contract is stored on the nodes of the Ethereum blockchain, besides all other transactions.
There are two types of accounts on the Ethereum network:
- External accounts
- Contract accounts
Both accounts are considered as state objects and consist of the state of the Ethereum network. Memory storage and balance define the state of the contract account, while account balance defines the external accounts.
Ethereum uses a Proof-of-Work consensus mechanism, which is relatively old and used by the Ethereum and Bitcoin blockchains. It is quite slow and consumes much more power compared to the Proof-of-Stake consensus mechanism.
The table above highlights the differences between the Tron, VET, NEO and Ethereum blockchains.
In the current environment, updates on newly created blockchain technologies are received regularly and each option promises something superior to the others. It is indeed quite challenging to select any particular blockchain for development purposes.