From 8bf4763b02666fd1686cfe62fa80f60ac62e40e6 Mon Sep 17 00:00:00 2001 From: pabswtch Date: Wed, 26 Nov 2025 16:42:12 -0800 Subject: [PATCH] Update oracles.mdx to add Switchboard Add Switchboard description, details, and links to oracles.mdx Signed-off-by: pabswtch --- src/content/docs/build/guides/oracles.mdx | 29 ++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/content/docs/build/guides/oracles.mdx b/src/content/docs/build/guides/oracles.mdx index 22990118..8540780f 100644 --- a/src/content/docs/build/guides/oracles.mdx +++ b/src/content/docs/build/guides/oracles.mdx @@ -9,7 +9,7 @@ import { Aside } from '@astrojs/starlight/components'; This reference guide presents various Oracles that you can use while building on Aptos. Oracles supply off-chain data to the blockchain, enabling smart contracts to access a diverse range of information. Currently, there are two oracles -documented here in this guide: Chainlink and Pyth Network. +documented here in this guide: Chainlink, Pyth Network, and [Switchboard](https://github.com/aptos-labs/aptos-docs/blob/main/src/content/docs/build/guides/oracles.mdx#switchboard). ## Chainlink @@ -173,3 +173,30 @@ The [Aptos API reference](https://docs.pyth.network/price-feeds/api-reference/ap - [Minimal on-chain contract](https://github.com/pyth-network/pyth-examples/blob/main/price_feeds/aptos/fetch_btc_price/sources/example.move), which updates and returns the BTC/USD price from Pyth price feeds. - [Mint NFT](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/aptos/mint_nft), a minting application that uses Pyth price feeds to mint an NFT. + +## Switchboard + +[Switchboard](https://switchboard.xyz) is the fastest, most customizable, and *only* permissionless oracle protocol. The decentralized Switchboard oracle network enables developers to bring any off-chain or cross-chain data onto Aptos through verifiable, ultra-low-latency feeds. +With its flexible design and high-throughput architecture, Switchboard is a perfect match for Aptos’ high-speed environment and its focus on accessibility and efficiency. + +### Switchboard Features + +- Fully permissionless feed creation via the [Feed Builder](https://explorer.switchboardlabs.xyz/feed-builder): deploy custom oracles in minutes +- [Aggregator](https://docs.switchboard.xyz/product-documentation/aggregator): access multiple oracle sources (like the others on this page) in a single transaction. +- [Data Feed Variables](https://docs.switchboard.xyz/product-documentation/data-feeds/designing-feeds/data-feed-variable-overrides): bring API-gated or confidential data on-chain without exposing API keys +- Customizable feeds: adjust feed parameters (confidence intervals, deviation thresholds, and more) to your dapp’s needs +- [Decentralized oracle network](https://docs.switchboard.xyz/switchboard-protocol/re-staking) secured by globally distributed validator set. +- [Verifiable Randomness](https://docs.switchboard.xyz/product-documentation/randomness): generate secure, verifiable random numbers for games, lotteries, and more. +- Supports any data type: prices, prediction markets, sports, weather, RWAs, etc +- x402 compatibility: Switchboard is the only x402-compatible oracle. Build more efficient dapps with pay-as-you-go data from any source. + +### Contract Address for Aptos Mainnet: +``` +0xfea54925b5ac1912331e2e62049849b37842efaea298118b66f85a590577528 +``` +### Contract Address for Aptos testnet: +``` +0x81fc6bbc64b7968e631b2a5b3a88652f91a617534e3755efab2f572858a3099 +``` + +For more details, [check out Switchboard’s detailed Aptos documentation.](https://docs.switchboard.xyz/product-documentation/data-feeds/aptos)