Connected to Abstract Testnet
View Source

roll.codes demo

Measure how fast a real roll.codes request is sent and how quickly the callback delivers a number back.

Live timing

Idle

Time the transaction send and the random number return.

Missing a valid consumer address.

Live run

request send + callback return
idle

1 / Request transaction

2 / Random number back

Protocol Flow

1
2
3
4
5
6

Game Contract

Abstract Chain

roll.codes VRF

requestDemoRoll()

on-chain tx

Tx Confirmed

DemoRollRequested

RandomNumberRequested

relayer picks up

drand Round

same-round base randomness

deliverSignedRandomNumber()

callback tx

Callback Delivered

DemoRollResolved