Contracts for verifiable randomness on StarkNet


Deployed on StarkNet Testnet

Dice Game : 0x01837c5fa18244deb1723bf2512c2b1657d4c7f085d894277d53471be4e5bd6f
Oracle : 0x0478aee025806b6058a60832758cf8dfca36265d28478ce17e6c8148d98ca926

Example Dice roll transaction

Call request_rng on the Dice Game contract

Then resolve_rng_requests on the Oracle contract

Wait for details of resolve_rng_requests to be posted on chain

Further documentation tba. In the meantime DM Me(0xNonCents) on discord if you have questions.


View Github