|
hace 1 año | |
---|---|---|
.. | ||
migrations | hace 1 año | |
programs | hace 1 año | |
programs_py | hace 2 años | |
tests | hace 1 año | |
.gitignore | hace 2 años | |
.prettierignore | hace 2 años | |
Anchor.toml | hace 2 años | |
Cargo.toml | hace 1 año | |
README.md | hace 2 años | |
package.json | hace 1 año | |
tsconfig.json | hace 1 año |
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.