Modulo-P Open Cardano ZK Tooling for Anonymous Voting and Private Applications
The open-source stack combine Cardano-Semaphore, private voting, Proof of Innocence and reusable setup infrastructure, reduce the cryptographic groundwork wey dey required to build zero-knowledge applications for Cardano.
By SongMarketCap
Modulo-P don present open-source zero-knowledge stack wey Cardano developers fit use build anonymous membership, private voting and privacy-preserving compliance applications. Agustín Salinas outline the work during Cardano Developers Office Hours #68 on July 10, trace how dem take develop am from early Plutus V2 and Hydra experiments reach reusable Aiken contracts and shared cryptographic setup infrastructure.
The components no be single consumer product. Dem be separate building blocks wey developers fit integrate into applications wey need proof of identity, membership or transaction properties without exposing the private data wey dey under.
Cardano-Semaphore Bring Anonymous Membership come Aiken
Modulo-P begin experiment with zero-knowledge proofs for Cardano for 2023, before the network get the Plutus primitives wey efficient verification need and before Aiken mature reach widely used smart contract language.
The team first verifier big and computationally expensive, make Cardano Layer 1 no suitable for the initial implementation. Development move go Hydra, where Modulo-P create zero-knowledge version of Mastermind wey allow one participant prove say clue valid without revealing the hidden combination.
Plutus V3 later introduce native BLS12-381 cryptographic functions, while Aiken significantly shorten compilation and development cycles. Modulo-P use those capabilities release ak-381, Aiken implementation of Groth16 verifier, followed by Cardano-Semaphore.
Semaphore na zero-knowledge protocol wey originate for the Ethereum ecosystem. E allow user prove say dem belong to defined group without revealing which member dem be.
Cardano-Semaphore implement that model through Aiken smart contracts. Verified member fit submit anonymous signal wey represent vote, preference, message or other application-specific input. The protocol check say the sender get valid private identity, belong to the authorized group and never submit the same type of signal before.
The implementation give Cardano applications reusable privacy layer instead make each team design anonymous membership and duplicate-prevention logic by themselves. Potential uses include private surveys, organizational decisions, anonymous endorsements and governance systems where participation must dey restricted without publicly connect each action to wallet or identity.
Private Voting and Proof of Innocence Put the Tools Into Use
Modulo-P don use Cardano-Semaphore as foundation for voting application wey dey run for Cardano Preprod environment.
The current implementation support one-person, one-vote model. Participants dey prove say dem belong to eligible group, cast anonymous ballot and commit to the choice wey dem submit without exposing which registered member select am.
Salinas talk say the architecture fit adapt to weighted voting and different question formats. Those configurations depend on how individual application define group membership, voting rights and the rules wey govern each voting window.
The voting application follow earlier Project Catalyst initiative wey fund the Cardano implementation of Semaphore and anonymous signaling. The Fund 11 project receive 100,000 ADA and dem list am as complete, with outputs wey dem design to be fully open source.
Second application, Proof of Innocence, na collaboration between ENCOINS, Modulo-P and Eryx Cooperative.
Proof of Innocence allow user demonstrate say funds no connect to defined set of malicious transactions without disclose the specific transaction, originating address or private history wey dem use generate the proof.
Privacy protocol fit apply the mechanism when user wan withdraw funds. Instead make dem publish entire transaction path, the user go generate zero-knowledge proof wey show say the relevant deposit or commitment no dey inside the protocol blacklist.
Project Catalyst allocate 150,000 ADA to the initiative. The project dey listed as complete and cover research, zero-knowledge circuits, smart contracts, testing and final documentation. The output still remain proof of concept, no be production compliance service yet.
This distinction important for developers wey dey evaluate the code. The implementation demonstrate how selective verification fit work for Cardano, but commercial deployment still need audited contracts, reliable data sources, clearly defined blacklist governance and integration with the application wey dey process private transactions.
Reusable Powers of Tau Parameters Reduce ZK Setup Work
Efficient proof systems like Groth16 need trusted setup before applications fit generate and verify proofs securely.
During Powers of Tau ceremony, multiple participants dey contribute secret randomness to shared set of cryptographic parameters. Each participant must destroy their private contribution after dem include am. The final output go remain secure as long as at least one contributor complete that process honestly, because nobody fit reconstruct the full secret.
Modulo-P and ENCOINS organize Cardano-focused Powers of Tau ceremony with approximately 40 community participants. Salinas talk say the sequential contribution process last around 20 days.
The initiative receive 87,141 ADA through Project Catalyst and complete four milestones wey cover preparation, ceremony execution, public portal and final delivery. The resulting parameters fit dey reused by compatible Cardano applications, remove the need to repeat the first phase of the setup for every new circuit.
Groth16 applications still require second setup phase wey tie to the application specific circuit. Contributors from the Cardano and Ethereum zero-knowledge communities dey develop Brebaje to simplify that stage.
The protocol-agnostic tool intend to help teams create ceremony, coordinate contributions, publish the participant record and preserve auditable account of the process. Brebaje still dey under active development and e never be finished production service.
Modulo-P now dey prioritize stronger documentation, security review and easier developer workflows instead of to dey expand the number of experimental tools every time. Cardano teams fit already begin with public Groth16 verifier code, Cardano-Semaphore contracts, completed Proof of Innocence reference implementation and reusable Phase 1 parameters. The remaining work dey specific to each application, including circuit design, any required second-phase ceremony, audits and production integration, instead of to rebuild the complete zero-knowledge foundation.