Search…
⌃K

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.
NEON is an EVM compatibility layer for Solana, allowing users to migrate their Ethereum applications to Solana with minimum effort.
The pyth-neon library is an interface to Pyth oracles for NEON applications.

Example Program

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.

Price Feed IDs

The price feeds available on each Solana network are listed on the following pages: