onflow / random-coin-toss

An example repo demonstrating safe use of onchain randomness
The Unlicense
5 stars 4 forks source link

Add secure random range reference #22

Closed sisyphusSmiling closed 1 month ago

sisyphusSmiling commented 1 month ago

Closes #21

Description

sisyphusSmiling commented 1 month ago

@tarakby I've done my best to implement your suggestions, including a Solidity port of the Cadence xorshift128+ implementation. Please lmk if I missed anything