ZCash

There are so many privacy techniques, lets take a brief look at how each of them works from a higher level, looking at Zcash, Monero, Dash, Mixers (General)

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

This lesson preview is part of the newline's Introduction to Privacy on Ethereum course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to newline's Introduction to Privacy on Ethereum, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course newline's Introduction to Privacy on Ethereum

This lesson we are going to look at Zcash. Zcash works by building on top of Bitcoin and adding privacy by using ZK Snox. Zero knowledge succinct, non-arguments of knowledge. In Zcash, there are two types of addresses, transparent addresses and shielded addresses. Intransparent addresses don't offer any privacy and have similar model to Bitcoin. The shielded addresses works by putting the coins in a shielded pool. And once the coins are in the shielded pool, they can be transferred with complete privacy within the shielded pool. And no one finds out any information about the funds or where they have been transferred, who has received them and who was the sender. So the sender, receiver and the amount are all hidden within the shielded pool. Let's look at an example. For example, when Alice wants to send some currency to Bob in Zcash, and if she's using the transparent addresses, it's all public. So you can go and see that Alice actually sent a transaction to Bob and Bob received it. So everything is completely public. But what instead she can do is she can enter into the shielded pool. And if Bob is also in the shielded pool, then she can make a transfer within the shielded pool, which will allow her to hide her privacy. However, in reality, most of the uses of Zcash actually only use transparent addresses. They are classified as Z addresses and T addresses, T for transparent and Z for shielded transactions. And once you are inside the shielded pool, you can make any transfers. And as long as you don't come out of the shielded pool by deshielding, you don't do any privacy. And if you stay in the shielded pool always, then you have the complete privacy and no one finds out anything about your spending and you get complete privacy for that. [BLANK_AUDIO]