17 - Weak PRNG
PRNG relying on block.timestamp
, now
or blockhash
can be influenced by miners to some extent and should be avoided. (see here)
- PRNG in Contracts
- Randomness Applications
- block.timestamp
- blockhash
- High Stakes
- Miner Influence
- Risk Awareness
- Alternatives: VRF