The Beginner’s Guide to Zcash

The Beginner’s Guide to Zcash

Zcash is a cryptocurrency that offers anonymity by shielding sender and recipient addresses and transacted amounts. Shielded transactions are possible thanks to the power of innovative zero-knowledge cryptography, namely zk-SNARKs

What is Zcash?

Zcash (ZEC) is a peer-to-peer digital currency that offers an option of anonymous shielded transactions. It leverages recent advancements in cryptography to bring a privacy-centric alternative to Bitcoin.

At the core of Zcash is the Zerocash protocol which improves on the Zerocoin protocol proposed by Matthew D. Green back in the 1980s. Zerocoin employed a sophisticated mathematical technique called zero-knowledge proofs. Zerocash builds on its predecessor and introduces a new form of zero-knowledge cryptography called zk-snarks.

Zcash was launched on October 28, 2016. Its founder is an American computer security expert Zooko Wilcox-O’Hearn. Before launching Zcash, Zooko was a fan of Bitcoin but wished it offered a higher degree of privacy. He took the bitcoin code and integrated it with the Zerocash protocol developed by the Zerocoin team.


Zero-knowledge cryptography enables the prover to prove to the verifier the knowledge of certain information without disclosing it. In other words, you can prove to someone the fact you know a secret without actually telling it. To understand the intuition behind zero-knowledge cryptography, we will draw an analogy.

Imagine, you have a superpower that allows you to instantly know the number of leaves on a tree. Your friend does not believe you and you want to prove it to him without telling him the number of leaves. Besides, telling him the number of leaves will not do much, since your friend will have no way of verifying it other than counting the leaves himself.

You and your friend come up to a tree. You quickly count the number of leaves and close your eyes. Then you give your friend a choice of pulling a leaf off the tree. When you open your eyes, you count the leaves again and if there is one missing, you tell your friend that you know he did pull a leaf. Your friend says that there was a 50% chance that you simply guessed it. So you do it again. Now the chance was only 25%. You can repeat the procedure as many times as it takes to convince your friend. In the end, you prove to your friend that you do in fact have the superpower without telling him the number of leaves or how your superpower works. This, in principle, is how zero-knowledge proofs work. If you want a more thorough analogy, read How to Explain Zero-Knowledge Protocols to Your Children.

The acronym zk-SNARK stands for zero-knowledge succinct non-interactive argument of knowledge and is a variant of zero-knowledge cryptography. The zk-snark protocol does not need the prover and the verifier to interact, hence non-interactive. The word ‘succinct’ indicates that the process is fairly easy and short to perform.

The Ceremony

To ensure the security of the Zcash network and prevent the creation of counterfeit ZEC, the Zcash team held the Ceremony of generating zk-snark public parameters (essentially ‘randomness’), which is similar to generating a public-private key pair. During the Ceremony, six trusted persons, including founder Zooko, each generated a piece of the key-pair. Then the pieces were assembled into the public key which enabled the secure operation of the Zcash network, while the pieces of the private key were destroyed.

Along with the multi-party generation of the pieces, the participants took a number of other precautions such as the use of air-gap computers, i.e. computers that were never connected to the Internet. The necessary data was passed to these computers by burning it to DVD discs from separate computers receiving the data over the Internet.

This was only the initial ceremony and, to reinforce the integrity of the network, subsequent ceremonies will include hundreds of participants.

Zcash transactions

Transactions in Zcash work much like they do in Bitcoin where one has to use their entire balance as an input of a transaction. So, making a transaction in ZEC means:

  • referencing all past transaction outputs associated with the sender’s address;
  • using them as an input of a new transaction;
  • specifying the recipient’s address and the amount to be sent;

The rest of the balance then returns back to the sender as the second output. It is, however, advisable to use a new address, otherwise it would make easier for someone to build an identity behind the address by analysing transaction patterns.

There are two types of addresses in Zcash. Z-addresses (z-addrs) are private and start with a ‘z’, t-addresses (t-addrs) are transparent (public) and start with a ‘t’. Both address types are interoperable, meaning funds can be moved around between z-addrs and t-addrs. This means that there can be four types of transactions:

A Z-to-Z transaction appears on the blockchain but no one besides the transacting parties can read the transaction details such as the sender address, the recipient address, the amount sent or the memo field. The owner of the z-addr can disclose the transaction details, if they wish so.

Mining Zcash

Unlike Bitcoin that uses SHA-256 which can only be brute-forced, Zcash uses Equihash, a proof-of-work mining algorithm based on the Generalized Birthday Problem. One of Equihash’s distinctive features is that it is not as computation-intensive as SHA-256 but it is quite demanding in terms of RAM. Designed to be ASIC-resistant and to democratize mining, Equihash was eventually cracked. Today Equihash ASICs are manufactured by Bitmain.

It is worth noting that 20% of all miner rewards are allocated to the Founders Reward as a way of supporting the ongoing development of Zcash. Starting from October 2020 the Founders Reward will be removed, and miners will be receiving 100% rewards. Block rewards are halved every four years, the current block reward is 12.5 ZEC with the average block time of 2.5 minutes. The total supply of ZEC is capped at 21 million coins.


Official website


Zcash Company twitter

Zcash documentation

Zcash subreddit


Zcash protocol specification

What are zk-SNARKs?

Reddit FAQ thread

the Ceremony

Wikipedia page


Why Equihash?



85.65 USD -2.56%
0.00977600 BTC 13.48%
Volume, 24h
360,893,850 USD
563,431,290 USD

Related news

Chainalysis Releases Suspicious Transaction Alerts For Cryptocurrencies

Chainalysis has released a new service that would alert interested individuals and firms when a suspicious crypto transaction is processed by one of the major blockchain networks. The […] The post Chainalysis Releases Suspicious Transaction Alerts For Cryptocurrencies appeared first on UseTheBitcoin.
Use The Bitcoin

Is Litecoin Mining Profitable for an ‘Average Miner’?

The discussion on Litecoin [LTC] mining power has been of paramount importance because of the reduction of rewards to the miners. Litecoin [LTC] halving occurred on 5th August 2019. Around two weeks after the halving the mining power has reduced by about 30%, increasing the block time for Litecoin. Litecoin Block-Time Chart (Source) For a given network characteristic (‘difficulty’ which calibrates itself according to the network), the Litecoin block times vary w.r.t. to the hashing power. A lower hash power implies a longer time to create blocks. Charlie Lee, the creator and lead developer of Litecoin [LTC] was, however, not concerned about it. He tweeted about the reducing hash rate saying, Since Litecoin blocks are 4 times faster than Bitcoin’s, the network can handle a sudden decrease in a hash rate much better. If 75% of hashrate disappears overnight, Litecoin just acts like Bitcoin for 2 wks (10 mins blks) and then diff retargets and everything is back to normal. Hence, the network would eventually readjust itself. Although, the increasing average block time is a negative sign for the network as a whole. Nevertheless, the Litecoin hash rate at the time of halving had reached an All-Time High. The speculation in price was highly favourable to the miners at the time. Litecoin Mining Hashrate (Source) The reduction in reward and the decrease in price has adversely affected the profitability of miners. The hash rate has decreased 40% from its All-Time high above 500 Terra Hashes. The price of Litecoin [LTC] has decreased by about 30% from the time of halving. Moreover, LTC/USD 1-Day Chart on Bitstamp (TradingView) Mining Profitability According to a previous estimate by Charlie Lee, mining Litecoin [LTC] would have been profitable even after halving. However, according to our estimates, it seems that the decision taken by miners to leave the network is justifiable. This is the profitability calculation from his estimates in June. At the time, Litecoin was trading at around $126, with mining rewards effectively double from now.   LTC Mining Profitability in June and future estimates by Charlie Lee Nevertheless, the difficulty has decreased by 22% as well. Hence, the mining rewards for existing miners would increase accordingly as well. Hence, according to the current difficulty level, the mining revenue before halving would have been $12.61. However, since the price has decreased by 43%, this corresponds to revenue of $7.11 per today’s price ($72). Moreover, since the rewards have been halved the revenue would be $3.55. At the electricity cost of $2.65, it is reaching the break-even cost of running operations for an ‘average miner.’ Furthermore, since mining is primarily a large scale business with a probabilistic rise in the future, the tipping point for miners motivated to operate their systems would be the break-even cost. Last but the least, the first half of the year has been highly profitable for Litecoin [LTC] miners. Moreover, the sentiments around Litecoin [LTC] are also positive with the privacy developments with the cryptocurrency. Miners could expect a slow-down in the near future. However, price movements and network strength would continue to affect profitability. Do you think Litecoin [LTC] mining is a sustainable long term business? Please share your views with us.  The post Is Litecoin Mining Profitable for an ‘Average Miner’? appeared first on Coingape.

Hot news

By continuing to browse, you agree to the use of cookies. Read Privacy Policy to know more or withdraw your consent.