Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
What Is Zilliqa?
Zilliqa is the first public blockchain designed to implement sharding, allowing for linear scaling as the blockchain grows in size.
To date, scalability has been an issue for existing blockchain technologies.
Right now, Bitcoin canât process all the demand for its network, and transaction fees have risen accordingly. The same goes for Ethereum where limited throughput means smart contracts can become gas-intensive. For instance, the popularity of Crypto Kitties significantly slowed Ethereum, showing the limits of the network.
Zilliqa fundamentally changes how a blockchain reaches consensus. Their sharding solution scales with the size of the network. Theoretically, thereâs no limit to the number of transactions Zilliqa could process per second. Practically, however, depending on the number of nodes on the network, Zilliqa could process tens or hundreds of thousands of transactions per second.
Zilliqa also promises to support smart contracts. Running smart contracts on a sharded network is a major technical challenge for Zilliqa.
In this guide we will cover:
- How Zilliqa Works
- Coin Supply
- Roadmap and Team
- Trading History
- Competitors
- Where to Buy ZIL
- Where to Store ZIL
- Conclusion
- Additional Resources
How Zilliqa Works
Solving the Scalability Problem
Blockchain has an inherent scalability problem. The more nodes you have on a network, the harder it is to reach consensus.
To illustrate the point, itâs helpful to think of consensus scaling in terms of people:
- With a small group of your close friends, itâs simple to make decisions. You may not always agree, but itâs straightforward to see how everyone feels.
- For a larger group of people, like an auditorium full of people, you could have people raise their hands to quickly vote. But it becomes harder to count, and you canât be sure everyone is acting honestly.
- With groups of thousands or millions of individuals, youâll need a more complex voting system that takes more energy. You also canât be sure people are acting in good faith, and itâs hard to achieve finality â the sense that everyone has voted and thereâs a clear answer.
While the analogy isnât perfect, you can see how consensus gets more complicated the larger your network is. Consensus speed/quality and network size are inversely related. When one goes up, the other goes down.
Other solutions to the blockchain scalability problem focus on moving some information off-chain. Or, they seek to increase the block size, effectively establishing consensus on more transactions with each round of consensus. These solutions may work as a stopgap, but they donât fundamentally fix the scalability problem.
To fix it, youâd need to change the architecture of the entire system so consensus speed and network size are positively correlated.
Zilliqaâs Scalability Answer
Zilliqa has found a way to process more transactions as more nodes join the network. It involves re-imagining the blockchain from scratch. Their new model implements a hybrid consensus protocol to grow the networkâs throughput with every ~600 new nodes that join.
In theory, every 600 new nodes, Zilliqaâs throughput increases by dividing the work. In practice, there are issues with broadcast if the network becomes very big (over one million nodes). Still, one million nodes is an upper bound that weâre nowhere close to reaching. As of this writing, Bitcoin has ~11,000 nodes in operation.Â
Bitcoin and Ethereumâs networks of tens of thousands of nodes can still only process 3-15 transactions per second. In contrast, tests on private testnet (AWS virtual test) have shown that Zilliqaâs network has a throughput of 1,218 tx/s when 1,800 nodes are operating. Increase the number of nodes to 3,600, and Zilliqaâs network scales to 2,488 tx/s.
Sharding: Dividing Work Across the Network
How does Zilliqa accomplish this scalability? They use a solution known as sharding. The Zilliqa protocol divides the number of mining nodes on the network into groups of 600 nodes. Each group is known as a shard.
For instance, in the testnet examples above, when operating with 1,800 nodes, the testnet divided itself into 3 shards. When operating with 3,600 nodes, there were 6 shards. As more nodes join the network, Zilliqa can further divide the network, creating more shards.
Those shards each process a fractional portion of the networkâs transactions. In simplified terms, if there are six shards, each shard would process approximately 1/6 of the networkâs transactions. The more shards there are, the more the network divides the consensus load between shards, keeping computing demands relatively stable.
Each shard processes its assigned transactions into a microblock in parallel with the other shards. At the end of the parallel processing period, known as the âDS epoch,â those microblocks get combined into a full block thatâs added to the blockchain.
The DS Committee: Managing the Shards
For each DS epoch, several nodes are randomly selected to manage the various shards. This managing committee, known as the âDS committee,â directs the network. They decide which nodes are assigned to which shard. When new transaction requests arrive, the DS committee assigns the transactions to a shard for processing. At the end of the DS epoch, the DS committee assembles the full block from the microblocks the shards created.
Finding Consensus: PoW + BFT
Zilliqa uses a hybrid consensus mechanism. When you first start mining, youâll have to complete a proof of work (PoW) hash. PoW requires computing power that guarantees that a machine can only operate one node. As such, PoW helps Zilliqa establish identity. It makes it difficult for one bad actor to create multiple identities to overwhelm the network in whatâs known as a Sybil attack. The network does not use proof of work for consensus, however.
After a node has proven its identity, it gets assigned to a shard. Within the shards, Zilliqa uses Practical Byzantine Fault Tolerance consensus. This is a higher-throughput consensus mechanism that has finality. Finality means that most of the nodes in the shard must agree on the miniblock. Once a block is confirmed by the shards and DS committee, it is the only block that can reference the block before it. There is no forking in a consensus mechanism with finality.
Zilliqa isnât the first distributed ledger to implement BFT. NEO, Tendermint, and Hyperledger use versions of the proven BFT consensus mechanism as well.
Data Flow Contracts & State Sharding
Sharding transactions is fairly straightforward. You can easily assign transaction verifications to various shards, and each verification stands on its own. There shouldnât be a need for much communication between shards.
The same is not true for running smart contracts and decentralized apps (DApps) on a sharded blockchain. The issue is smart contract actions often rely on checking other states, variables, and functions. Doing so would require lots of communication between shards. These messages back and forth would require bandwidth and processing power that would negate the benefits of sharding.
As such, Zilliqaâs contracts focus on data flow and functional programming, only. They donât allow for checking, storing, or changing states. At least, not yet.
The consensus so far is that there isnât a state sharding scheme that is secure and efficient. If you allow contracts to execute separately in various sharded states, there could be all kinds of potential attacks, challenges to reconciliation, and excessive cross-shard communication.
However, Ethereum is currently working on a state sharding solution. Itâs not clear how far along that initiative has advanced in its development.
That said, Zilliqa can still be used for DApps that require high throughput. Any DApp that needs transaction rates beyond whatâs currently possible on other blockchains could find a home on Zilliqa.
A New Programming Language
With the goal of making functional programming more standardized and secure, the Zilliqa team has developed a new programming language known as Scilla.
Scilla separates state and function. Itâs a functional programming language that draws a distinction between the communication aspects of a contract â transferring funds or calling another contract â and the actual computational work the contract does.
The new language is not Turing-complete. This means it doesnât support applications that need certain types of loops or conditional statements. However, its incompleteness allows it to be subject to formal logic proofs. This is important for security purposes. Proving contracts let users know a contract is safe in a verifiable way before using it.
Scilla helps draw the distinction between functional contracts, supported on Zilliqa, and state-dependent contracts that Zilliqa canât yet support.
Coin Supply
Zilliqa has a token for its ecosystem. Similar to other DApps platforms like Ethereum or NEO, the ZIL token serves as a mining incentive, gas for contract execution, and tender for paying transaction fees.
Initially, ZIL was an ERC-20 token based on the Ethereum blockchain. The Zilliqa mainnet launched at the end of January 2019. With that launch, ERC-20 ZIL tokens swap out for Zilliqa native tokens.Â
There are 12.6 billion total ZIL tokens, with just over 8 billion in circulation as at January 2019.Â
Roadmap and Team
Zilliqa raised the equivalent of $12 million in ETH in a private funding round near the end of 2017. After the private round, the surging price of ETH meant that private funding originally worth $12 million was soon valued at the projectâs hard cap of $20 million.
Having hit its hard cap, Zilliqa told its community that it no longer needed a public sale. Due to community interest, however, Zilliqa allocated 4445 ETH to a public sale in January 2018.
Since that time, the Scilla smart contract programming language launched in May 2018. In November, the testnet launched, so the project has invited miners and developers to participate in testing the platform.Â
The most recent major milestone was the main net launch on January 31, 2019. The initial launch is set for bootstrap mode, with mining rewards allocated but no transactions allowed. This is to safeguard the network against early attacks. Zilliqa will enable smart contract functionality and transactions during the first quarter of 2019. After that, the token swap to native Zilliqa tokens will begin.Â
Zilliqa Team
The team behind Zilliqa is largely computer science academics and PhDs.
The CEO, Xinshu Dong, has a Ph.D. in Computer Science from the National University of Singapore. Heâs a cybersecurity expert, responsible for several national security projects in Singapore. His research has also appeared at reputable conferences and in journals.
Prateek Saxena is the Chief Scientific Advisor. He has a Ph.D. in Computer Science from the University of California, Berkeley. Now, heâs a professor of computer science at NUS.
Amrit Kumar is the projectâs Head of Research. Heâs a Research Fellow at NUS. He has a Ph.D. from UniversitĂ© Grenoble-Alpes, France and an Engineerâs diploma from Ecole Polytechnique, France.
The Zilliqaâs advisory board includes the prominent figures in blockchain. They include Loi Luu, Co-founder of Kyber Network; Vincent Zhou, Founding Partner of FBG Capital; Nicolai Oster, Partner at Bitcoin Suisse AG; and Alexander Lipton, Founder and CEO of StrongHold Labs.
Trading History
ZIL has only experienced one major price spike over the year since its launch. This came in May 2018 and appears to have happened immediately prior to the Scilla programming language launch. Therefore, an announcement of the launch probably caused this spike.
Since then, the price of ZIL has held up well, considering the deeper bear market that Bitcoin and other cryptos experienced during the last months of 2018.Â
With a successful mainnet launch at the end of January, itâs possible that ZIL may see further spikes over the first months of 2019.Â
Competitors
As a high-throughput smart contract programming platform, Zilliqa does have some competition. EOS and Tron both offer similar functionality. Furthermore, Aelf is another smart contract platform using side chains for scalability. Itâs also undergoing a mainnet launch early in 2019, and could be a close competitor.Â
Where to Buy ZIL
The ZIL token is currently available on Binance and Huobi. Recently, Coinbase Pro (previously GDAX) also confirmed it will start listing ZIL tokens.Â
Where to Store ZIL
If you buy ZIL prior to the token swap in Q2 2019, then you can store them in any Ethereum ERC-20 compatible wallet. As always, we recommend cold storage in a hardware wallet such as the Ledger Nano S. After the token swap, youâll most likely have to use an official Zilliqa wallet.
Conclusion
Scalability will continue to be a problem for blockchain and distributed ledger technologies. In contrast to many, Zilliqa is an important project thatâs tackling scalability head-on. Therefore, the platform itself could prove to be an important development in blockchain. More broadly, however, expect to see Zilliqaâs open source breakthroughs in sharding technology come into use for other blockchain projects in the coming years.
Editorâs Note: This article was updated by Sarah Rothrie on January 28, 2019, to reflect the recent changes to the project.
Additional Resources
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.