Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs]: add gelato vrf #563

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/build-on-linea/tooling/cross-chain/shortcuts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Onthis Shortcuts
description: No-code tool for executing multiple DeFi actions in one transaction
image: /img/socialCards/onthis-shortcuts.jpg
---

A Shortcut allows users to execute onchain actions by sending funds to a contract address.
Expand Down
3 changes: 2 additions & 1 deletion docs/build-on-linea/tooling/data-indexers/subquery.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: SubQuery
description: Fast, flexible, universal, open source and decentralised APIs
description: 'Fast, flexible, universal, open source and decentralised APIs'
image: /img/socialCards/subquery.jpg
---

SubQuery is a leading blockchain data indexer that provides developers with fast, flexible, universal, open source and decentralised APIs for web3 projects. SubQuery SDK allows developers to get rich indexed data and build intuitive and immersive decentralised applications in a faster and more efficient way. SubQuery supports 100+ ecosystems including Linea, Ethereum, Polygon, Polkadot, Algorand, NEAR, and Avalanche.
Expand Down
1 change: 1 addition & 0 deletions docs/build-on-linea/tooling/data-indexers/subsquid.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Subsquid
image: /img/socialCards/subsquid.jpg
---

[Subsquid](https://subsquid.io/) is a decentralized indexing toolkit optimized for batch extraction of large volumes of data.
Expand Down
39 changes: 39 additions & 0 deletions docs/build-on-linea/tooling/oracles/gelato.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Gelato
image: /img/socialCards/gelato.jpg
---

Gelato VRF offers real randomness for blockchain applications by leveraging Drand, a trusted decentralized source for random numbers. With Gelato VRF, developers get random values that are both genuine and can be checked for authenticity. This ensures that smart contracts can access secure and tamper-proof random numbers for various use cases, such as gaming, NFTs, and DeFi.

## Gelato products

- [Gelato RaaS](https://docs.gelato.network/developer-services/introduction): Deploy your own tailor-made ZK or OP L2 chains in a single click with native Account Abstraction and all Gelato middleware baked in.
- [Web3 functions](https://docs.gelato.network/web3-services/web3-functions): Serverless, event-driven functions to automate blockchain transactions.
- [ Relay ](https://docs.gelato.network/web3-services/relay): Give your users access to reliable, robust, and scalable gasless transactions via a simple-to-use API
- [VRF](https://docs.gelato.network/web3-services/vrf): Gelato VRF provides fast, on-chain verifiable randomness for blockchain applications.

## How does Gelato VRF work?

Gelato VRF (Verifiable Random Function) provides trustable randomness on Linea. Here's a brief overview:

### Core component

- Drand: Gelato VRF utilizes Drand, a decentralized randomness beacon ensuring unpredictability and unbiased randomness.

### Top level Flow

- Contract Deployment: Use GelatoVRFConsumerBase.sol as an interface for requesting random numbers.
- Requesting Randomness: Emit the RequestedRandomness event to signal the need for a random number.
- Processing: Web3 functions fetch the random number from Drand.
- Delivery: The fulfillRandomness function delivers the random number to the requesting contract.

To quickly get started with Gelato VRF, check out the [quick start guide here](https://docs.gelato.network/web3-services/vrf/quick-start).

---

Links

- [Gelato Network](https://gelato.network/)
- [Twitter](https://twitter.com/gelatonetwork)
- [Discord](https://discord.com/invite/ApbA39BKyJ)
- [Telegram](https://t.me/gelatonetwork)
Loading