Files
web/apps/base-docs/docs/tools/oracles.md
wbnns 6ee72b483a docs(notices): Add notice WRT deprecation of Geth archive snapshots, drop broken API3 urls (#1350)
* docs(notices): Add notice WRT deprecation of Geth archive snapshots

* fix(docs): Broken links upstream on API3
2024-12-08 20:53:58 -08:00

6.9 KiB
Raw Blame History

title, slug, description, keywords, hide_table_of_contents
title slug description keywords hide_table_of_contents
Oracles /tools/oracles Documentation for various blockchain oracles for Base. Including support for price feeds and verifiable random functions (VRF).
Oracles
Oracle
Base
Base Mainnet
Base Testnet
Base network
Supra
Chainlink
Chronicle
ORA
Pyth
VRF
Gelato VRF
Gelato verifable random function
verifiable random function
generate random numbers
RNG
true randomness
price feeds
data feeds
true

Oracles


API3

The API3 Market provides access to 200+ price feeds on Base Mainnet and Base Testnet. The price feeds operate as a native push oracle and can be activated instantly via the Market UI.

The price feeds are delivered by an aggregate of first-party oracles using signed data and support OEV recapture.

Unlike traditional data feeds, reading API3 price feeds enables dApps to auction off the right to update the price feeds to searcher bots which facilitates more efficient liquidation processes for users and LPs of DeFi money markets. The OEV recaptured is returned to the dApp.

Apart from data feeds, API3 also provides Quantum Random Number Generation on Base Mainnet and Testnet. QRNG is a free-to-use service that provides quantum randomness onchain. It is powered by Airnode, the first-party oracle that is directly operated by the QRNG API providers.

Supported Networks

  • Base Mainnet
  • Base Sepolia (Testnet)

Chainlink provides a number of price feeds for Base.

See this guide to learn how to use the Chainlink feeds.

:::info

To use Chainlink datafeeds, you may need LINK token.

:::

Supported Networks

  • Base Mainnet
  • Base Sepolia (Testnet)

Chronicle

Chronicle provides a number of Oracles for Base.

See this guide to learn how to use the Chronicle Oracles.

Supported Networks

  • Base Mainnet
  • Base Sepolia (Testnet)

DIA

DIA provides 2000+ price feeds for Base. See this guide to learn how to use the DIA feeds.

Supported Networks

  • Base Mainnet
  • Base Sepolia (Testnet)

Gelato

Gelato VRF (Verifiable Random Function) provides a unique system offering trustable randomness on Base.

See this guide to learn how to get started with Gelato VRF.

Supported Networks

  • Base Mainnet
  • Base Sepolia (Testnet)

ORA

ORA provides an Onchain AI Oracle for Base.

See this guide to learn how to use ORA Onchain AI Oracle.

Supported Networks

  • Base Mainnet

Pyth

The Pyth Network is one of the largest first-party Oracle network, delivering real-time data across a vast number of chains. Pyth introduces an innovative low-latency pull oracle design, where users can pull price updates onchain when needed, enabling everyone in the onchain environment to access that data point most efficiently. Pyth network updates the prices every 400ms, making Pyth one of the fastest onchain oracles.

Pyth Price Feeds Features:

Supported Networks for Base (Pyth Price Feeds):

Pyth Entropy

Pyth Entropy allows developers to quickly and easily generate secure random numbers onchain.

Check how to generate random numbers in EVM contracts for a detailed walkthrough.

Supported Networks for Base (Pyth Entropy):

Check out the following links to get started with Pyth.


RedStone

RedStone provides 1200+ price feeds for Base.

See this guide to learn how to use the RedStone feeds.

Supported Networks

  • Base Mainnet

Supra

Supra provides VRF and decentralized oracle price feeds that can be used for onchain and offchain use-cases such as spot and perpetual DEXes, lending protocols, and payments protocols. Supras oracle chain and consensus algorithm makes it one of the fastest-to-finality oracle providers, with layer-1 security guarantees. The pull oracle has a sub-second response time. Aside from speed and security, Supras rotating node architecture gathers data from 40+ data sources and applies a robust calculation methodology to get the most accurate value. The node provenance on the data dashboard also provides a fully transparent historical audit trail. Supras Distributed Oracle Agreement (DORA) paper was accepted into ICDCS 2023, the oldest distributed systems conference.

Visit the Supra documentation to learn more about integrating Supra's oracle and VRF into your Base project.

Supported Networks

  • Base Mainnet
  • Base Sepolia (Testnet)