|
1 vuosi sitten | |
---|---|---|
.. | ||
migrations | 1 vuosi sitten | |
programs | 1 vuosi sitten | |
programs_py | 2 vuotta sitten | |
tests | 1 vuosi sitten | |
.gitignore | 2 vuotta sitten | |
.prettierignore | 2 vuotta sitten | |
Anchor.toml | 2 vuotta sitten | |
Cargo.toml | 1 vuosi sitten | |
README.md | 2 vuotta sitten | |
package.json | 1 vuosi sitten | |
tsconfig.json | 1 vuosi sitten |
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.