Privacy-Preserving Lottery with zk-SNARKs: Sui Random vs ECVRF for Winner Selection?

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::random work 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! :folded_hands: