Zcash, a cryptocurrency with a focus on privacy, is undergoing a significant transformation to scale its network and match the transaction volumes of global payments giants like Visa and Mastercard. The latest development in this quest is Zakura, a new full node software that promises to revolutionize Zcash's capabilities. In this article, I will delve into the intricacies of Zakura, its role in the broader Zcash ecosystem, and the innovative solutions it brings to the table. I will also explore the challenges and opportunities that lie ahead for Zcash as it strives to achieve its ambitious goals.
The Zcash Vision and the Need for Zakura
Zcash has always been at the forefront of privacy-preserving cryptocurrencies, leveraging zero-knowledge cryptography to ensure that transactions are secure and private. However, as the network grew, it became apparent that the current infrastructure was not capable of handling the high transaction volumes required to compete with the likes of Visa and Mastercard. This is where Zakura comes in, as a pivotal component in Zcash's plan to scale and enhance its capabilities.
The dream of Zcash's developers is to support the world's payments, and they are determined to make it a reality. By aiming for a throughput of over 50,000 transactions per second, they are setting a new standard for the cryptocurrency industry. To achieve this, they need to address the current limitations of the Zcash stack, which would otherwise require an unrealistic amount of data processing power from the nodes.
Zakura: A Fork in the Road
Zakura is a fork of Zebra, the Zcash Foundation's node software, which means it started from the Foundation's official code and was rebuilt from there. This fork allows Zakura to introduce new features and improvements while maintaining compatibility with the legacy zcashd client, which is set to reach its end of life on July 18. By doing so, Zakura ensures a smooth transition for wallets and exchange integrations built against zcashd.
One of the key features of Zakura is its ability to prune, or delete old blockchain data that a node no longer needs. This significantly reduces disk usage and allows new nodes to download ready-made copies of the blockchain, which are about 11 gigabytes in size. This makes it possible for a node to start running in under two minutes, which is a massive improvement compared to the traditional method of downloading the entire history from other nodes.
Throughput Targets and Tachyon's Role
The reason for building Zakura and other components of the Zcash ecosystem is to address the arithmetic limitations that prevent Zcash from reaching the desired throughput. Mastercard and Visa process more than 50,000 transactions per second, and Zcash's current cryptography would require a node to take in and verify more than 500 megabytes of data every second to keep up. This is a significant challenge, as every private transaction carries a proof, and proofs are large.
To tackle this issue, Zcash is developing recursive proofs through Project Tachyon. This technology allows a node to verify a single proof instead of thousands, which dramatically reduces the amount of data that must be checked at consensus. Under Tachyon, the requirement for consensus data is reduced from 100 megabytes per second to 500 megabytes, which is a level that Zcash claims is technically achievable with careful engineering.
Wallet Bottlenecks and Valar's PIR Solution
Wallets have a different set of challenges when it comes to transaction processing. Because Zcash hides who a transaction is for, a wallet cannot ask a server which transactions belong to it without giving itself away. This means that wallet software is limited to processing about one transaction per second. To remove this bottleneck, Valar Group is working on private information retrieval (PIR) techniques that allow a wallet to fetch its own data from a server without the server learning which entries were requested.
Fast Block Propagation and Ironwood Upgrade
Zakura also plays a crucial role in fast block propagation, which is essential for high-volume proofs and wallet traffic to matter. Zakura includes an experimental system aimed at delivering every block to every node in under half a second, which is switched off by default for now. This feature is particularly important for the upcoming Ironwood upgrade, formally known as NU6.3, which activates on the mainnet at block 3,428,143 on July 28.
The Ironwood upgrade introduces a turnstile mechanism to cap withdrawals from the Orchard shielded pool and contain any counterfeit ZEC that may have been created via a long-standing soundness bug. This upgrade is a direct response to a flaw that nearly broke Zcash in June, and it is a critical step in restoring the reliability of the token's supply. By sealing Orchard to new deposits and trapping any fake coins inside, Ironwood ensures that honest balances can migrate out over time, while counterfeit coins are prevented from fully exiting and entering into circulated supply.
Broader Implications and Future Developments
The introduction of Zakura and the Ironwood upgrade marks a significant milestone for Zcash, as it moves closer to achieving its goal of matching the transaction volumes of global payments giants. However, there are still challenges to overcome, and the Zcash community must continue to innovate and collaborate to ensure the long-term success of the project.
One of the key challenges is the development of recursive proofs through Project Tachyon, which is still in its early stages. The team must carefully engineer the system to achieve the desired throughput without compromising on privacy and security. Additionally, the implementation of PIR techniques by Valar Group is crucial for addressing wallet bottlenecks, and the team must ensure that the solution is robust and scalable.
In the future, Zcash may explore other innovative solutions, such as the integration of zero-knowledge rollups, which could further enhance its scalability and privacy capabilities. The Zcash community must also continue to engage with the broader cryptocurrency ecosystem, as collaboration and innovation are essential for driving the industry forward.
Conclusion
Zakura is a pivotal development in Zcash's quest to scale and enhance its capabilities, and it is a testament to the creativity and determination of the Zcash community. By addressing the current limitations of the Zcash stack and introducing innovative solutions, Zakura is paving the way for a new era of privacy-preserving cryptocurrencies. As Zcash continues to evolve and innovate, it is poised to become a major player in the global payments landscape, and the future looks bright for this groundbreaking project.