Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anoushk1234/pyth-example
An example repo to use pyth price feeds in your program
https://github.com/anoushk1234/pyth-example
anchor oracles pyth solana solana-program
Last synced: 4 days ago
JSON representation
An example repo to use pyth price feeds in your program
- Host: GitHub
- URL: https://github.com/anoushk1234/pyth-example
- Owner: anoushk1234
- Created: 2022-11-08T09:12:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-08T11:43:19.000Z (over 2 years ago)
- Last Synced: 2025-01-31T12:46:26.684Z (11 days ago)
- Topics: anchor, oracles, pyth, solana, solana-program
- Language: Rust
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Pyth Usage Example on Solana
Pyth has two crates, the older version which is deprecated and the newer version, I have used both two demonstrate reading price feeds on chain. It is recommended to use the newer version, but I have included both for reference.