Cypher zer0x

Cypher zer0x

The first cross-chain Layer2 leveraging zero-knowledge technology and ring confidential transactions for Private AND Compliant blockchain transactions.

225
Built at ETHDenver 2024
Build on Linea - Prize(s)
C4

The problem Cypher zer0x solves

Cypher Zer0x addresses a fundamental issue in the blockchain ecosystem: the lack of a privacy-focused, compliant layer for transactions. By integrating natively ring Confidential transaction (RingCT) within its universal Layer 2 infrastructure, and due to it's design that combine plasma contract and zk-rollup, it offers a robust solution for users and organizations requiring both privacy and compliance in their blockchain interactions. Here are some problems solved by this solution :

-Lack of Compliant Privacy: Traditional blockchain platforms often force users to choose between privacy and compliance. Cypher Zer0x eliminates this compromise, ensuring transactions remain private and fully compliant with regulatory standards.
-Complex Cross-Chain Transactions: Interacting with multiple blockchains typically involves complex processes that can compromise privacy and security. Cypher Zer0x simplifies cross-chain transactions, making them more accessible and secure.
-Privacy Misconceptions: Privacy is to often assiociated with malicious activities. Cypher Zer0x challenges this by providing a platform where privacy is a right, not a suspicion, while staying fully compliant.

Practical Applications

Banks and financial institutions can use Cypher Zer0x for secure, private transactions, enhancing customer trust and regulatory compliance. Companies can protect sensitive commercial transactions, ensuring competitive information remains confidential. Individuals seeking privacy in their transactions, without forgoing compliance, find a safe haven in Cypher Zer0x.
Cypher Zer0x automates and integrates compliance within the deposit process, making it easier for users to adhere to regulations without additional effort. It also enables movement of assets across different blockchains, making decentralized finance more accessible and efficient.

Challenges we ran into

Integrating Polygon ID

One of the initial hurdles we faced was with the customization of the on-chain verifier provided by Polygon ID. The process was not as intuitive as we had hoped, requiring us to dedicate significant time to understanding the documentation and experimenting with various verification queries. The complexity arose from the need to comprehend how to effectively implement these queries to ensure secure and compliant KYC processes.

Solution: After numerous trials and extensive research into the documentation, we gradually gained a clearer understanding of how Polygon ID's on-chain verification worked. This deep dive into the documentation and persistent testing allowed us to fine-tune our verification queries, aligning them with our platform's privacy and compliance requirements.

On-Chain Verification Challenges

Another specific challenge was related to on-chain verification, where one of the required attributes for the smart contract (SC) was a merkelized JSON-LD provided by a Go script in the documentation. Unfortunately, we discovered that this script was non-functional, which posed a significant obstacle in our verification process.

Solution: To circumvent this issue, we decided to run local tests, which allowed us to bypass the malfunctioning Go script. Through local testing, we were able to manually generate the necessary merkelized JSON-LD, ensuring the on-chain verification could proceed as intended. This approach, while not straightforward, provided us with the workaround needed to maintain our development momentum.

Understanding Risc Zero's Complexity

The complexity of the Risc Zero stack presented another considerable challenge. Its sophisticated architecture and the intricate details required us to deep dive in the documentation to gain a comprehensive understanding of the stack. However, learning this stack helped us a lot in the final design of the solution.

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion