Search…
⌃K

Pyth on Solana

Consume Pyth prices in Solana programs.
We provide two different SDKs for Solana on-chain programs to use Pyth prices:
Solana
NEON EVM
The pyth-sdk-solana crate can be used to consume Pyth prices inside your Solana programs.
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.
Pyth continuously updates its price feeds on Solana, so users do not have to relay Wormhole messages on-chain.

Example

The Pyth Solana SDK includes a full example on-chain contract that shows how to use Pyth price feeds.

Price Feed IDs

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