Pyth
Last updated
Last updated
Pyth: Overview
Pyth is an open-source real-time on-chain market data feed. Pyth's market data is contributed by over 95 first-party publishers, including some of the biggest exchanges and market making firms in the world. Over 150 protocols on 40+ blockchains trust Pyth to secure their applications.
Meridian uses Pyth's following price feeds on Meter & Taiko Network
ETH/USD
MTRG/USD
USDC/USD
USDT/USD
TAIKO/USD
Pyth Design: Data Sourcing
Pyth allows market participants to publish pricing information on-chain for others to use. The protocol is an interaction between three parties:
Data providers submit pricing information to Pyth's oracle program. Pyth has multiple data providers for every price feed to improve the accuracy and robustness of the system.
Pyth's on-chain oracle program on Pythnet combines providers' submitted data to produce a single aggregate price and confidence interval.
Applications such as Meridian read the price information produced by the oracle program. More specifically, Pyth allows users to “pull” prices onto the blockchain when needed. Those prices become publicly available for everyone on that chain.
Pyth's Design Goals:
1. Robustness: The aggregation algorithm ensures resilience against manipulation. Even if one provider submits an outlier price, the aggregate remains stable.
2. Weighted Accuracy: It appropriately weighs data sources based on their accuracy levels. This prevents less accurate sources from overly influencing the aggregate price.
3. Reflective Confidence Intervals: The aggregate confidence interval reflects the variation between prices reported by different providers. During normal market conditions, it aligns with individual providers' confidence intervals, but widens during instances of significant price divergence across exchanges.
For an in-depth explanation of the pricing mechanisms, consult Pyth's Technical Documentation.