Use Cases
DAO Governance Use Case
Reputation-weighted voting in DAOs
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reputation-weighted voting in DAOs
async function calculateVotingPower(voter, proposalId) {
const tokenVotes = await dao.getVotes(voter);
const score = await zkScore.getScore(voter);
// Governance score contributes up to 50% bonus
const reputationBonus = (score.breakdown.governance / 1000) * 0.5;
return tokenVotes * (1 + reputationBonus);
}