back13 Jul 20233 min read
blog post image

Aptos and Pyth Break Barriers with Sub-Second Oracle Updates on Aptos

The Aptos Foundation has entered a strategic partnership with the Pyth Data Association where Pyth will deliver sub-second price updates to Aptos developers and enhance the availability of low-latency price feeds to its builders.

Aptos Foundation and the Pyth Network’s collaboration paves the way for the introduction of an automated price scheduler. The scheduler will give developers comprehensive access to low-latency price oracle infrastructure, regularly updating a strategic set of price feeds on Aptos for the benefit of DeFi applications requiring access to sub-second price updates.

Aptos developers will be able to use Pyth prices natively on Aptos, which will update regularly according to the price scheduler’s parameters. Developers can also pull price updates directly from Pythnet and access Pyth’s full catalog of over 250 price feeds.

To date, Aptos DeFi leaders, including Thala Labs, Tsunami Finance, Aries Markets, ABEL Finance, and Aptin Finance, trust and rely on Pyth data for their mission-critical operations.

Our partnership with Aptos Foundation highlights Pyth’s continued commitment towards supporting developers seeking to build fairer and more transparent markets, no matter what or where they’re building.

“This partnership is a major step towards empowering Aptos developers and streamlining the adoption and accessibility of real-time, institutional-quality oracle data across the Aptos landscape,” said Bashar Lazaar, Ecosystem Lead at Aptos Foundation.

Building with Pyth on Aptos

Decentralized finance (DeFi) protocols require access to real-world data to provide valuable services: the latency, quality, and availability of data can make or break your application. For these reasons, we’re excited to support the Aptos DeFi ecosystem with real-time asset prices aggregated from first-party sources including household names like Jane Street, CBOE, Binance, OKX, and Bybit.

Pyth introduces an innovative pull oracle model which empowers users to “pull” prices on-chain when needed, allowing everyone in that blockchain environment to utilize that price. Applications in Aptos can listen to Pyth price feeds updating once per second on the Pythnet appchain, while only paying for the prices they request or “pull” on-chain. The resulting gas efficiencies enable Pyth to serve Aptos users high-frequency price updates and low-latency access to the most recent price.

Get Started

We look forward to seeing what the Aptos DeFi community builds with our low-latency oracles!

Aptos developers can conveniently survey the Pyth Price Feeds thanks to the new price scheduler. We highly recommend that builders design their applications to continue operating even when the scheduler concludes service: by integrating with Pyth’s low-latency pull oracle design, applications can access the network’s full suite of 250+ price feeds across five major asset classes and enjoy the latency benefits of the Pythnet application chain.

Access to Pyth’s pull oracles is permissionless. Learn how to integrate with Pyth’s pull oracle design with our tutorial series below:

For more details on how to safely integrate the Pyth Price Feeds in your application, please visit our documentation or integration guides on Youtube. For more details on the automated price puller, please visit this resource.

"Cultivating strong partnerships is essential to achieving our goal of providing reliable, real-time financial data to the decentralized finance ecosystem," said Mike Cahill, a director of the Pyth Data Association. "This strategic partnership with the Aptos Foundation will allow us to focus on improving and expanding our network, while making it even easier for developers and users alike to use Pyth feeds.”

Aptos

Aptos is a new Layer 1 blockchain based on the Move programming language developed at Meta, and that aims to be faster, more secure, and more scalable than other blockchains today.

Aptos uses DiemBFT v4 as its consensus mechanism, a variation of the Byzantine Fault Tolerance (BFT). It means that individual faults (e.g. a malicious validator or accidentally offline validators) do not compromise the whole system as long as more than 2/3 of the validators are operating smoothly. Aptos incorporates a leader reputation system to update validators, on top of a few other features different from regular BFT.

To find more information, please visit the Aptos Labs website.

Pyth

Pyth Network is the largest first-party financial oracle solution delivering real-time market data to over 20 blockchains in a secure, transparent manner. Pyth supports 250+ real-time price feeds across major asset classes including digital assets, equities, ETFs, FX, and commodities.

The network comprises some of the world’s largest exchanges, market makers, and financial services providers contributing their proprietary price data on-chain for aggregation and distribution to smart contract applications. Thanks to Pyth's innovative pull oracle design, applications can effortlessly “pull” the latest Pyth price onto their native blockchain on demand.

In less than a year, the network has secured over $2.0B in total value. Pyth has facilitated over $50B in trading volume and serves over 170 on- and off-chain applications. You can learn more about Pyth from their website and documentation.


Resources


We can’t wait to hear what you think! You can join the Pyth Discord and Telegram, follow us on Twitter, and be the first to hear about what’s new in the Pyth ecosystem through our newsletter. You can also learn more about Pyth here.

Stay Updated with Pyth

Stay informed about Pyth network's development and upcoming events!