Please describe your proposed solution.
Currently many companies are looking into blockchain adoption for use-cases like commemorative NFTs point systems, DID, traceability and more. However, all of these require private data to avoid GDPR violations, which make them hard to manage with open systems like blockchains. Similarly, a lot of decentralized games are interested in similar concepts as they allow building games with information asymmetry like fog-of-war which is an important game mechanic. Additionally, the verifiability of ZK proofs also means that these could eventually be used to cheaply implement DeFi-focused components to games written with Paima (things that resemble casinos)
Currently there is no good way to build these use-cases in the Cardano ecosystem, but fortunately Paima Engine (a framework for creating web3 apps and games) has a fairly clear path to adding these primitives. Notably, as a L2 solution, it has a lot more flexibility in adding new cryptographic primitives which are always hard to add directly to the Cardano L1
Paima Engine allows writing onchain apps with Javascript, making them fairly easy to write for all developers. For the ZK circuit component, we’ve decided to partner with ZekoLabs. The reason is because they also allow writing ZK circuits in Javascript (so it feels like a unified experience for developers), and their system is based on Mina which is also compatible with Ouroboros and so it is a friendly project towards the Cardano community
Notably, the plan for integration will have the following steps:
- Allow running ZK proofs locally and associating their results to Stateful NFTs.
- Allow monitoring ZK appchains and merging their state into a Paima app
How does your proposed solution address the challenge and what benefits will this bring to the Cardano ecosystem?
This will benefit the Cardano ecosystem by unlocking many ZK-based use-cases that are seeing massive growth in the crypto ecosystem
How do you intend to measure the success of your project?
- Number of projects associating ZK proofs to Stateful NFTs
- Number of projects using ZK appchains
Please describe your plans to share the outputs and results of your project?
We will share a template that shows how to integrate ZK proofs into your app / game