Hey OZ community, I'm writing to ask for a community review on a novel on-chain Gaussian random number generator. The current random numbers, be it on-chain or off-chain, are uniform. The lack of non-uniform distributions limits what is possible with blockchains. Here in the repo, I discovered an on-chain Gaussian RNG that is simple and lightning fast. Any suggestion and advice is highly appreciated.
Using this on-chain is probably not the best idea as the salt needs either to be a state variable or needs to be caclulated in the function. Anyone can then reploduce the "random" number.
Using this on-chain is actually a terrible idea. Chainlink VRF should be used to initialize the sequence. However, the point is not about randomness, but the type of randomness.
1 Like