# Chainlink VRF

Chainlink plays a vital role in running Gyrowin platform. Gyrowin uses chainlink VRF and automation to get VRF random numbers for our lottery draws and chainlink automation to schedule the lottery period.

## VRF (Verifiable Random Function)

### "Chainlink VRF eliminates the risks of traditional lottery system."

After thorough research, we found that most of the game player concerns were related to the validity of game draws. To mitigate this doubt, and earn people's trust, Gyrowin will be using Chainlink VRF. The validity of the random numbers generated for the draws would be verifiable in the blockchain without compromising usability and security. In addition to that, it helps us build a transparent lottery system for all the players.

### <mark style="color:blue;">Primary VRF</mark>

* BSC Chainlink VRF

### <mark style="color:green;">Fallback VRF</mark>

* Fetch the draw number from Solana chain switchboard and use it in BSC Gyrowin VRF contract


---

# 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.gyro.win/game/lotto-game/chainlink-vrf.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.
