Solana SDKs
Consume Pyth prices in Solana programs.
We provide two different SDKs for Solana on-chain programs to use Pyth prices:
Rust
NEON EVM
The pyth-sdk-solana crate can be used to consume Pyth prices inside Solana programs written in Rust.
The Pyth Solana SDK includes two example programs that demonstrate how to use Pyth price feeds in Solana programs: a program using only the basic Solana SDK and an Anchor program.
The price feeds available on each Solana network are listed on the following pages:
Last modified 3mo ago