This repo contains multiple crates for using Pyth Oracle.
- Pyth SDK: This crate contains general Pyth structures and interfaces which are consistent across different blockchains.
- Pyth SDK Solana: This crate contains methods for reading and parsing Pyth structures from Pyth Solana accounts.
These crates can be built for either your native platform or other platforms for specific blockchains.
- Use
cargo build/cargo testto build and test natively.
To release new versions of these packages, perform the following steps within the crate being released:
- Increment the version number in
Cargo.toml. You may use a version number with a-beta.xsuffix such as0.0.1-beta.0to create opt-in test versions. - Merge your change into
mainon github. - Create and publish a new github release.