Lumen Loop
All news
Articletansu.devPamphile Roy11mo ago

Anonymous Voting in Soroban

Tansu introduces anonymous voting for proposals on Soroban using zero-knowledge proofs and the BLS12-381 elliptic curve. The system employs Pedersen commitments to store encrypted votes on-chain, ensuring privacy while allowing verifiable tallies via homomorphic properties. Detailed smart contract interfaces and CLI commands are provided for setup, voting, and execution.

SorobanSmart ContractsGovernance
Lumen Loop's take

Tansu now supports anonymous voting in Soroban, leveraging zero-knowledge schemes enabled by protocol 22's BLS12-381 cryptographic primitives for homomorphic operations on curve points. Votes are transformed into Pedersen commitments C = G(v) · H(r), where v is the weighted vote and r is a unique random seed, preventing rainbow table attacks while storing commitments transparently on-chain. At tally time, sums of commitments are verified against revealed vote and seed totals without disclosing individual choices. The process involves off-chain encryption with the DAO's public key, on-chain submission of commitments, and a final proof verification in the execute function. Maintainers set up asymmetric keys and create private proposals, voters submit AnonymousVote structs, and tallies are executed post-voting period. Upcoming UI improvements will enhance usability.

Mentioned projects
1 project linked
T
TansuDeveloper Tooling
SCF
Governance

Tansu is a decentralized governance platform built on a smart contract layer to facilitate on-chain project management and versi…

View →