How do I create randomness in Solana

I’m a noob so take this with a grain of salt as I’m still learning myself. This is my current understanding.

Solana (and most L1s if not all, I believe) has difficulty generating random numbers because it’s a deterministic protocol. The proof-of-history enables the properties we all know and love like immutability and transaction throughout, but it also comes with limitations.

How do you generate randomness in a deterministic environment? (Genuine question)

Like I said I haven’t looked much more into it than that, but I’m definitely trying to learn more. Sounds like for now you may have to rely on a non-native solution like the Chainlink option you mentioned

/r/solana Thread