flow
flow copied to clipboard
Pseudorandom Number Generator
Instructions
Please fill out the template below to the best of your ability and include a label indicating which tool/service you were working with when you encountered the problem.
Issue To Be Solved
On traditional blockchains, generating pseudorandom numbers, while technically not strictly possible, is nonetheless useful, especially for low-stakes transactions, where a miner would not be incentivized to influence the outcome. I wonder if a standard method of PRNG could be built in to Flow as a core feature.
(Optional): Context
A lot of game ideas, including NFT minting, rely on a PRNG. It seems pretty core to behavior of a lot of contracts.