description |
---|
Consume Pyth prices in Solana programs. |
We provide two different SDKs for Solana on-chain programs to use Pyth prices:
{% tabs %} {% tab title="Rust" %} The pyth-sdk-solana crate can be used to consume Pyth prices inside Solana programs written in Rust. {% endtab %}
{% tab title="NEON EVM" %} 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. {% endtab %} {% endtabs %}
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: