# Quantum Random Number Generator

Most random number generators aren't truly random; they might follow patterns, and can be biased or repeat at some point resulting in bad entropy. This can introduce a security flaw that can potentially be exploited. QRNG, on the other hand, is truly random and non-deterministic. API3 QRNG utilizes the quantum random number generator developed by the Australian National University, leveraging the quantum properties of particles to make predicting the next number in the sequence impossible.

**See the generator live in action:**

{% embed url="<https://qrng.anu.edu.au/random-colours/>" %}

We are utilizing the Airnode nodes provided by the API3 QRNG service. Each time users mint a new ticket, our QRNG contract requests a quantum random number. Afterward, the sponsor wallet we use awaits the Airnode's response, which includes the quantum random number, to reveal the NFTs associated with that request.

We do not have access to the sponsor wallet other than sending ETH for gas. And it is accessible only to the Airnode for fulfillment and the data transmission between the provider (Australian National University), AWS, and the Airnode. And this transmission is fully encrypted to prevent any third party to interrupt the interaction.

{% hint style="info" %}
The gas fees for the sponsor wallet will be covered by the team.
{% endhint %}

The API3 QRNG service is hosted by the Australian National University and Quintessence Labs on AWS.

{% embed url="<https://docs.api3.org/explore/qrng/>" %}


---

# 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://onchaintickets.gitbook.io/docs/mechanics/how-it-works/quantum-random-number-generator.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.
