Let’s discuss on-chain random numbers
Building random number generation on blockchains is complicated due to their deterministic nature. Different approaches include Trusted Third Party, Blockhash, VRF (Verifiable Random Function), and Commit-Reveal. Each approach has its benefits and drawbacks in terms of trust, security, and cost. For secure random number generation, the PythEntropy system can be explored.