StarknetByExample icon indicating copy to clipboard operation
StarknetByExample copied to clipboard

Random Number Generator

Open 0xNeshi opened this issue 1 year ago • 2 comments

Issue(s): Close #128

Description

Built off of https://github.com/NethermindEth/StarknetByExample/pull/183

Explain randomness in the context of blockchain, and Starknet specifically, and provide an example with CoinFlip contract.

Checklist

0xNeshi avatar Jul 26 '24 19:07 0xNeshi

Converting to draft: fixing the fee refund logic

0xNeshi avatar Jul 30 '24 12:07 0xNeshi

Converting to draft: fixing the fee refund logic

In the end simplified the contract logic to make the example focus more on the randomness generation part.

0xNeshi avatar Aug 01 '24 10:08 0xNeshi