|
|
1 سال پیش | |
|---|---|---|
| .. | ||
| migrations | 1 سال پیش | |
| programs | 1 سال پیش | |
| programs_py | 2 سال پیش | |
| tests | 1 سال پیش | |
| .gitignore | 2 سال پیش | |
| .prettierignore | 2 سال پیش | |
| Anchor.toml | 2 سال پیش | |
| Cargo.toml | 1 سال پیش | |
| README.md | 2 سال پیش | |
| package.json | 1 سال پیش | |
| tsconfig.json | 1 سال پیش | |
Make sure to import the Pyth module for Seahorse.
from seahorse.pyth import *
You have to validate a price feed's ID for security reasons, if you want to read the SOL/USD price feed, you can verify the account in the context like this:
price_account.validate_price_feed("SOL/USD")
For more information, visit the Seahorse documentation on Pyth.