# DRNG - Decentralized Random

### **Trusting the Unpredictable** &#x20;

With an inbuilt Decentralized Random Number Generator (DRNG), the Cyclone Blockchain addresses a longstanding challenge in the digital gaming and gambling space. No longer will players have to rely on opaque third-party systems for RNG. Everything from card shuffles to dice throws can now be executed with a trustless and verifiable randomness on-chain, revolutionizing provable fairness.&#x20;

**Cyclone´s Random Number Generator in a Nutshell**

***Validator Node Proposals:*** Each validator node in the network independently proposes a random number for every new block. The method of generating this random number can vary and may include cryptographic algorithms, physical entropy sources, or a combination of various methods to ensure true randomness.&#x20;

***Consensus on Random Number:*** In the[ FBFT consensus mechanism](/overview/cyclone-chain/consensus-mechanism.md), each validator node relies on its quorum slices (trusted nodes) to reach a consensus. This process involves a multi-round agreement protocol where nodes exchange their proposed random numbers with their quorum slices.

&#x20;• ***Initial Proposal Round:*** Each node sends its proposed random number to all nodes in its quorum slices.&#x20;

• ***Voting and Agreement Rounds:*** Nodes vote on the received random numbers. A number receives a vote if it is deemed valid and truly random. This process involves multiple rounds of communication to ensure that nodes converge on a single random number.

&#x20;• ***Threshold Agreement:*** A random number is selected once it reaches a predefined threshold of agreement among the nodes. This threshold ensures that the chosen number has wide support and is not easily influenced by a small subset of nodes.&#x20;

***Committing the Random Number:*** After reaching consensus, the agreed-upon random number is committed to the blockchain. This number becomes part of the block and is immutable once recorded.

***Use in Applications:*** The stored random number can then be used by applications for various purposes, such as in gaming or gambling scenarios, where provable fairness is crucial.&#x20;

The system is also capable of handling cases where some nodes do not participate or attempt to submit biased numbers. This will be achieved through mechanisms like fallback choices or penalizing non-cooperative nodes.&#x20;

In general, the RNG process, including the proposal, voting, and selection stages, will be transparent and verifiable by any participant or external auditor. This ensures the integrity of the RNG process.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cyclonechain.com/gamechanging/drng-decentralized-random.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
