Please describe your proposed solution.
Privacy is a key element of every network that pursues to be safe, power balanced and censorship-resistant. These matters are even more important today with the emergence of hypervigilance and Artificial Intelligence technologies. At the moment, Cardano is by default a transparent network that lacks built-in privacy capabilities; however, the adoption of Zero-Knowledge cryptography is enhancing key aspects of the blockchain industry that were neglected in the past such as Privacy. Our proposal aims to develop an application layer that could be used directly in layer 1 and in other contexts as well. The usage of this technology will catalyze the development of new privacy-focused applications in Cardano with a broad use-cases.
The Semaphore Protocol is a privacy focused layer that was born in the Ethereum ecosystem. It allows users to demonstrate their membership in a group and send arbitrary information without revealing their identity. It uses Zero-Knowledge cryptography to achieve anonymous proof of membership and overcome the double-signaling problem. As we point out later, the protocol has proven to have a wide range of use cases, and it serves as a base layer where other types of applications can be built on top of it. Since the verification of Zero-Knowledge proofs will be possible soon with the next Plutus hard fork, the objective of this proposal is to adapt this protocol to the Cardano network.
In general, this project involves conducting research and laying the groundwork for integrating the protocol into the Cardano ecosystem. As a summary, this proposal will require first conducting preliminary technical and cryptographical research, during which we will redesign certain aspects of the protocol from Ethereum to suit the Cardano blockchain. Second, in order to bring the protocol to Cardano, the circuits of the protocol have to be precomputed in a setup process. From such a process, a proof and verification key will be derived and later used to generate the Zero-Knowedlge proofs that the protocol uses. This step involves conducting a public multi party ceremony where a multitude of participants contribute with secret values that finally compute the expected keys. We expect to arrange the first massive ZK setup ceremony in Cardano, and part of the funding of this proposal includes the task of preparing the software needed and arranging the different parties that will be contributing to this process. Once both the research and ceremony are achieved, the protocol will be able to be adapted to the Cardano blockchain.
The adaptation of the Semaphore protocol will catalyze the development of new privacy-focused applications in Cardano that were not possible before. Projects could benefit from this proposal according to their needs and use it in different contexts:
- Layer 1: Projects that need high security standards could run this protocol directly in layer 1 of the blockchain.
- Hydra protocol: Projects that require a high transaction throughput with multi-party security assumptions could use this layer on top of the Hydra protocol. At the moment our team is already developing a Hydra environment focused on Zero-Knowledge applications, and in this context developers will be able to use the Semaphore solution in Hydra.
- Off-chain: Projects that need less security assumptions could use this protocol off-chain for certain processes of their applications.
Note that this project aims to create a new product that currently does not exist on Cardano.