How Will Pyth V2 (Pull Oracle) Benefit Solana DeFi?

Titilola Shittu
9 min read3 days ago

--

Deep beneath the digital surface of Solana’s decentralized finance ecosystem, a hidden battle rages.

On one side, a lone runner desperately sprints, delivering important market data. On the other, a growing army of DeFi applications waits hungrily, their complex calculations and automated trades held hostage by the slow, unreliable flow of information.

This was the story of Solana’s DeFi before Pyth V2.

…but a new hero emerges.

Pyth V2, a powerful pull oracle, disrupts the battlefield, empowering DeFi applications to seize control of their data.

In this article, I explore how Pyth V2 benefits Solana DeFi.

Table of content

· A Refresher into Pyth Network
· Current State of Solana DeFi and Price Oracles
· Pyth V2: An Advancement for Solana DeFi
· Case Studies and Early Adoption
· Long-Term Implications of Pyth V2 for Solana’s DeFi Ecosystem
· Key Takeaway

Decentralized Finance (DeFi) provides a secure and transparent platform for individuals to manage their financial lives.

In DeFi, accurate and timely price data is important for executing smart contracts and ensuring the integrity of financial transactions. This reliance on real-time data highlights the importance of price oracles bridging the blockchain and external data sources.

Oracles provide external data to smart contracts, enabling them to interact with off-chain information, such as market data or price feeds. Oracle services securely and reliably fetch real-world data onto the blockchain. These services are critical for DeFi applications that require accurate and timely data to operate efficiently.

A refresher into Pyth Network

Traditional price oracles, however, often face limitations. They typically rely on third-party data sources, which can introduce issues such as data latency, high costs, and centralization risks. These limitations can impact the reliability and efficiency of DeFi applications, affecting their ability to deliver transformative services.

Pyth Network is a decentralized oracle network that addresses these limitations by providing high-quality, real-time financial data directly from first-party sources. Through Solana’s high-performance blockchain, Pyth Network offers near-instantaneous data updates with frequencies as high as 400 milliseconds. This level of speed and accuracy is critical for high-frequency trading and other applications that require up-to-the-second data.

The innovative approach involves aggregating data from multiple sources using a weighted median algorithm, ensuring that no single data source can manipulate the price feed. Additionally, the network’s unique pull oracle design allows users to request price updates on demand, making the process highly efficient and cost-effective.

Pyth Newtork’s significance lies in its ability to provide a reliable and efficient solution for DeFi applications. With over 350 low-latency price feeds and high-frequency updates, the network excels in speed, coverage, and data sourcing/quality, making it a game-changer among blockchain oracles. Its transparency, multi-chain availability, and high-resolution data are essential in the DeFi landscape.

The oracle network is designed to provide high-quality, real-time financial data to decentralized applications (DeFi) on multiple blockchains. Here are the core functionalities of Pyth Network (V1):

Push model for price feed delivery

Pyth Network V1 uses a push model for price feed delivery, where data providers continuously push price updates to the blockchain at regular intervals. This less efficient approach can lead to wasted gas fees on unused price updates.

Network of data providers and data aggregation

Pyth Network aggregates data from multiple data providers, including exchanges and market makers, to produce a single, accurate price feed. This network ensures that data is sourced from first-party providers, improving data quality and reducing tampering risk.

Confidence intervals for market representation

Pyth Network provides confidence intervals for market representation, which helps to ensure that the aggregated data accurately reflects market conditions. This feature is critical for DeFi applications that rely on accurate and timely price data.

Pyth V2 introduced a new pull oracle design, allowing users to request demand price updates. This design eliminates the need for continuous updates and reduces transaction costs, enabling Pyth to scale to thousands of price feeds across multiple blockchains.

Price feeds

Current state of Solana DeFi and price oracles

With its fast block times and growing developer community, the Solana blockchain has gained good traction in the DeFi space. This momentum has attracted leading oracle projects, including Pyth Network, to expand their presence on the platform.

DeFi protocols on Solana rely heavily on Pyth Network (V1) for price oracle services. This dependence raises concerns about centralized control over price feeds compared to single-source oracles. If a single entity controls the oracle, it can manipulate data to benefit its interests, compromising the integrity of DeFi applications.

source

The push model used by Pyth V1 also has scalability issues. As the number of price feeds and data providers increases, the network may struggle to handle the volume of updates, resulting in delayed or lost data. This can negatively impact the reliability and efficiency of DeFi applications.

These limitations highlight the need for more decentralized and scalable oracle solutions on Solana. The introduction of Pyth V2, which uses a pull oracle design, addresses some of these concerns by eliminating transaction costs and enabling more efficient data updates.

Pyth V2: An advancement for Solana DeFi

Pyth V2, the latest iteration of the Pyth Network, is a significant milestone in the evolution of Solana DeFi. It introduces a pull oracle design that empowers DeFi protocols to request specific price updates on demand, ensuring timely and accurate data.

Total value secured all oracles

Here are the key benefits of Pyth V2 for Solana DeFi:

  1. Increased flexibility for DeFi protocols

Pyth V2’s pull oracle design allows DeFi protocols to request specific data on demand, reducing unnecessary overhead and optimizing resource usage. This flexibility is particularly crucial for high-frequency trading and other applications where timely data is essential.

2. Improved efficiency

DeFi protocols can reduce gas fees and improve their overall efficiency by transitioning from a push oracle to a pull oracle. This change will lead to increased efficiency, as protocols only need to update prices when required rather than constantly receiving push updates.

3. Enhanced security

Pyth V2’s pull oracle design introduces an additional layer of security, as DeFi protocols can now verify the authenticity of price updates before accepting them. This added security measure will help prevent potential attacks and ensure the integrity of the ecosystem.

4. Increased interoperability

Facilitates 90% or more of the trading volume on 23 chains

With Pyth V2’s pull oracle, DeFi protocols can seamlessly integrate with other blockchain ecosystems, enabling greater interoperability and collaboration. This development will pave the way for novel use cases and innovative applications.

5. Scalability and growth

Source

Pyth V2’s launch on Solana mainnet-beta creates possibilities for scalability and growth in Solana DeFi. As more protocols adopt the pull oracle design, the ecosystem will become more robust, attracting new participants and driving innovation.

6. High-frequency updates

Pyth V2 offers low-latency, high-frequency price feeds critical for financial applications requiring real-time data. Solana’s high-throughput blockchain is well-suited to support these high-frequency updates, ensuring that data is delivered rapidly and accurately.

7. Coverage and availability

Pyth V2 provides access to a wide range of price feeds, covering various assets and markets. This increased coverage and availability will enable DeFi protocols to integrate with a broader range of data sources, enhancing their overall functionality

8. Sourcing and quality

Pyth V2 sources data from multiple data publishers for each product, enhancing the accuracy and robustness of its system. This decentralized approach reduces the risk of manipulation or single points of failure, ensuring that data is reliable and trustworthy.

9. Transparency

Pyth V2’s data is transparent and accessible, allowing developers to integrate with Pyth data seamlessly and without barriers. This transparency aligns with Solana’s permissionless environment, ensuring that data is open and accessible to all.

10. Gas efficiency

Pyth V2’s pull oracle architecture is highly gas efficient, as users only pay for the prices they request. Solana’s low-cost transaction environment complements this design, making it cost-effective for users to access data.

Case studies and early adoption

Several DeFi protocols have already migrated to Pyth V2, leveraging its pull oracle design for improved efficiency, security, and scalability. Here are some real-world examples of DeFi protocols that have migrated to Pyth V2 on Solana:

Synthetix

Synthetix, a leading decentralized perpetual protocol, has integrated Pyth V2 to improve the accuracy and reliability of its price feeds. Using Pyth V2, Synthetix can now offer high-performance, competitively priced perpetuals, ensuring its users have access to the most recent and accurate data.

Zeta

Zeta, a decentralized derivatives protocol, has also migrated to Pyth V2 to guarantee on-chain pricing accuracy. With Pyth V2, Zeta can now provide maximum accuracy and relevancy to its users, ensuring that its operations are secure and reliable.

Jane Street

Jane Street, a leading market maker, has integrated Pyth V2 to provide real-time market data for its DeFi applications. By using Pyth V2, Jane Street can now ensure that its applications have access to the most accurate and reliable data, enhancing its performance and efficiency.

Chicago Trading Company

CTC, a decentralized lending protocol, has migrated to Pyth V2 to improve the accuracy and reliability of its price feeds. With Pyth V2, CTC can now offer high-performance, competitively-priced lending services, ensuring its users can access the most recent and accurate data.

These examples demonstrate the significant benefits that DeFi protocols can gain by migrating to Pyth V2 on Solana. These protocols listed have improved their efficiency, security, and scalability, enhancing the DeFi ecosystem.

Long-term implications of Pyth V2 for Solana’s DeFi ecosystem

The Pyth oracle has facilitated $100B in traded volume

A decentralized governance model and community involvement ensure that the network is shaped by the needs and preferences of its users, encouraging a collaborative and transparent environment.

Pyth V2’s ability to expand to other asset classes, such as stocks and commodities, and integrate with other blockchain protocols and platforms increases its potential for growth and adoption.

The network’s focus on regulatory compliance and high-security standards ensures that the network meets the requirements of a rapidly changing regulatory environment, maintaining trust and credibility with users.

Pyth V2’s token economics, which includes the use of the $PYTH token for transactions and governance, provide a mechanism for users to participate in the network’s revenue and decision-making processes.

It has differentiated advantages, such as its high-frequency updates and decentralized approach, which position it to capture a notable market share in the DeFi oracle market, potentially competing with established players like Chainlink.

The long-term growth potential stands out, driven by the increasing demand for reliable and real-time market data in the DeFi ecosystem and its ability to expand to new asset classes and integrate with other blockchain protocols.

Key takeaway

Pyth V2’s pull oracle design will transform Solana DeFi by enabling on-demand price updates, improving efficiency, enhancing security, increasing interoperability, and setting up possibilities for scalability and growth.

The transition from a push oracle to a pull oracle will optimize resource usage and ensure access to the most recent and accurate data. As more protocols adopt Pyth V2, the Solana DeFi ecosystem will become more robust, attracting new participants and driving innovation.

--

--

Titilola Shittu

Product Marketer. Passionate about storytelling. Enjoys blending creativity with strategy. Ardent reader of African literature.