Supra Oracles¶
Introduction¶
Supra is a novel, high-throughput oracle and intralayer: a vertically integrated toolkit of cross-chain solutions (data oracles, asset bridge, automation network, and more) that interlink all blockchains, public (L1s and L2s) or private (enterprises), including Moonbeam.
Supra provides decentralized oracle price feeds that can be used for on-chain and off-chain use cases such as spot and perpetual DEXes, lending protocols, and payment protocols.
This page provides everything you need to know to get started with Supra on Moonbeam.
How to use Supra's Price Feeds¶
Supra uses a pull model as a customized approach that publishes price data upon request. It combines Web2 and Web3 methods to achieve low latency when sending data from Supra to destination chains. The process involves the following steps:
- Web2 methods are used to retrieve price data from Supra
- Smart contracts are utilized for cryptographically verifying and writing the latest price data on-chain, where it lives on immutable ledgers, using Supra's Pull Oracle V1
- Once the data has been written on-chain, the most recently published price feed data will be available in Supra's Storage contract
The addresses for Supra's contracts on Moonbeam are as follows:
Contract | Address |
---|---|
Pull Oracle | 0x2FA6DbFe4291136Cf272E1A3294362b6651e8517 |
Storage | 0xD02cc7a670047b6b012556A88e275c685d25e0c9 |
Contract | Address |
---|---|
Pull Oracle | 0xaa2f56843Cec7840F0C106F0202313d8d8CB13d6 |
Storage | 0x4591d1B110ad451d8220d82252F829E8b2a91B17 |
Note
Moonriver is not supported at this time.
List of Available Price Feeds¶
To view a complete list of the available data pairs provided by Supra, please check out their data feeds catalog on their documentation site.
To interact with any of these data pairs, you'll need to take note of the pair's Pair ID.
Try It Out¶
Try out a basic example of how to fetch price data using Supra's pull model with step-by-step instructions in the Fetching Price Data with Supra Oracles tutorial. You'll learn how to tackle each of the three steps mentioned in the previous section.
Connect with Supra¶
Still looking for answers? Supra's got them! Check out all the ways you can reach the Supra team:
- Visit Supra's websites at supraoracles.com
- Read their docs
- Chat with them on Telegram
- Follow them on Twitter
- Join their Discord
- Check out their Youtube
| Created: January 12, 2024