zama-blind-voting

Community

Build confidential DAO voting on Zama

Authorleomanza
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It enables confidential DAO governance by preventing plaintext vote disclosure and vote manipulation on-chain.

Core Features & Use Cases

  • Deploy fhEVM blind voting contracts to Zama (devnet or local mock) so proposals can be registered and votes can be cast securely.
  • Cast encrypted votes with FHE using euint32 (approved/rejected) and homomorphically accumulate tallies with FHE.add() without exposing individual choices.
  • Finalize and publish results via TEE-only control so only the authorized Phala TEE can decrypt aggregates and publish the approved/rejected outcome.
  • Settle outcomes back to NEAR governance by forwarding the verdict to the coordinator using coordinator_resume.
  • Use Case: A DAO wants paid, privacy-preserving deliberation where multiple workers cast encrypted votes and the DAO receives only the final tallies and verdict.

Quick Start

Ask the coordinator to activate confidential voting mode by setting task_config.voting_mode to "confidential" so it deploys DeliberaVoting on Zama and orchestrates encrypted voting, TEE finalization, and NEAR settlement.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: zama-blind-voting
Download link: https://github.com/leomanza/delibera.xyz/archive/main.zip#zama-blind-voting

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.