Title: ZK Lottery: Best practice for randomness in commitment-reveal schemes?
Hey team! Building a ZK-SNARK lottery on Sui. Currently using ECVRF for winner selection, but wondering if Sui’s native Random API.
Questions:
- Can
sui::randomwork with ZK commitment-reveal? - Security comparison: drand vs ECVRF for high-value lotteries?
- Any gotchas I should know?
Current implementation: nzengi/sui-zk-lottery – github
Appreciate any insights! ![]()