Distributed and Verifiable
On-Chain Randomness

Power your gaming, NFT, prediction markets and other on-chain applications with DIA’s verifiable randomness.

Latest Randomnessnull
Next randomness: 30s

OVERVIEW OF DIA ON-CHAIN RANDOMNESS

A verifiable and distributed multi-chain randomness oracle, built in close collaboration with drand. DIA xRandom provides dApps with an auditable random number via oracle smart contract, available in 20+ L1s and L2s.
Multi-chain compatibility
DIA’s Multi-Randomness can be easily deployed in all EVM-compatible networks served by DIA including Astar, Arbitrum, Fantom and many more.
Verifiable randomness
All random values provided by DIA are verifiable off-chain, before becoming available to consuming smart contracts and hence, the oracle is not capable of manipulating the generated result.
Distributed and decentralised
DIA’s Multi-Randomness leverages drand, a distributed beacon generated by a network of participants named the League of Entropy — LoE. As drand is not singularly controlled by any of its members, there is no single point of failure and none of the operators themselves can bias the randomness generated by the League.
Power your on-chain use cases
DIA’s Multi-Randomness can support a wide range of Web3 use cases including gaming, lotteries, prediction markets, NFT launches and many more.

DISTRIBUTED NUMBER GENERATION

A decentralized randomness beacon combines randomness from multiple independent high entropy sources to generate a truly unbiased random number

Diagram explaining how DIA's randomness works

Available on

How does it work?

DIA leverages drand’s distributed randomness beacon, enabling verifiable, unpredictable and unbiased random numbers.

1. Drand randomness generation

In every drand epoch (currently set at 30s for the existing LoE beacons, but planned to be decreased on future “unchained” beacons) each of the nodes that form the drand network generates a partial signature, which it broadcasts to the rest of the nodes. Once any node has enough, i.e., a threshold number of signatures, it computes the new randomness beacon, which is the hash of the signature aggregate.

 

2. Drand randomness propagation and consumption

The new beacon is propagated through the network to all other nodes. Any node can verify and accept or reject the hash of the signature (i.e., beacon) that it received. Any client or application can consume randomness out of band (i.e., without needing to be part of the drand network) either through the public HTTP APIs or through libp2p’s pubsub protocol, Gossipsub. Clients can also verify that the randomness they received is indeed the one produced by the drand network.

 

3. DIA on-chain distribution

The final randomness signature is shipped on-chain as an oracle smart contract. In order to effectively and securely execute these on-chain transactions, DIA has built a robust, decentralised node infrastructure — dubbed DIA xNode. DIA xNode is a network of third-party, decentralized node providers that grant DIA the blockchain infrastructure to push data on-chain ensuring high rate limits.

Request oracle
I need a custom randomness oracle oracle to build a decentralised application.
Request oracle
Contact a DIA developer
Get in touch with a DIA developer to get help directly from the builders
To DIA Discord
Contact a drand developer
Get in touch with a drand developer to get help directly from the builders
To drand slack