What Is Zilliqa (ZIL)? | The Complete Guide to the High Throughput Blockchain
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
- Where to Buy ZIL
- Where to Store ZIL
- 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.
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.
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.
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.
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
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.
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.
We’re excited to announce that we are partnering with the Blockchain Virtual Reality (VR) Network (BVRN), created…
Bitcoin has been declared legal property in China after a court ruling by the Hangzhou Internet Court….
We’re excited to announce that we are partnering with the Blockchain Virtual Reality (VR) Network (BVRN), created by Live Planet, Inc. Live Planet is a pioneer of advanced media technology infrastructure, and it just announced the forthcoming launch of the first VR network built specifically for the blockchain industry. The Network will feature in-depth…