@frmartin
Answers for the Quest "Secure Randomness in Smart Contracts" in Certik
(https://skynet.certik.com/quest/secure-randomness-in-smart-contracts?referralId=4455176899181661117)
1. Why is randomness difficult to generate securely on-chain?
- Because smart contracts are deterministic and public
2. What is the primary risk of using predictable randomness in smart contracts?
- Front-running and manipulation
3. What does Chainlink VRF provide for secure randomness?
- Random values with cryptographic proofs
4. What is a tradeoff of commit-reveal schemes?
- Requires multiple steps and user coordination