Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Latest commit

 

History

History
11 lines (8 loc) · 787 Bytes

solana-price-feeds.md

File metadata and controls

11 lines (8 loc) · 787 Bytes

Solana Price Feeds

Solana Price Feeds continuously stream price updates to the Solana blockchain. Each price feed is stored in a separate Solana account. Application developers can simply pass the relevant account to their solana program, then deserialize the data in the accounts to read the current value of the feed. Pyth provides a Solana SDK to assist with this process.

Before getting started with the SDK, please read Using Price Feeds to understand how Pyth price feeds are represented, and to learn best practices to use Pyth prices safely and correctly.

For more details, you can find an in-depth explanation from one of our contributors, Guillermo: How to Build with Pyth Data on Solana: Pyth Tutorials