Hi team,
I’m exploring governance and voting primitives and looking at how fhEVM could support confidential participation (e.g. private ballots or encrypted thresholds).
Are there recommended patterns or known limitations today around encrypted condition checks or state updates for this kind of flow?
Appreciate any pointers or references.
Hey there @greenbasketlabs,
in terms of onchain governance this is the best and as far as I know only example we have so far: openzeppelin-confidential-contracts/contracts/governance at master · OpenZeppelin/openzeppelin-confidential-contracts · GitHub it’s a bit incomplete.
But you if you want to implement something you can help yourself with this: Public Decrypt single value | Examples | Protocol. So you would be collecting votes and then once you would need to reveal the voting result, you would call public decrypt.
Hope that helps,
Aurora