RedStone Solana Price Adapter
- The PriceAdapter contract is updated from one or more off-chain processes.
- The data is written to a
PriceData
structure in an account created per each feed id - The contract can be read by one of
view
functions. - The parameters/logic update requires changing the code.
- Still, the Price Feed Account Address remains unchanged and is readable forever.
- The IDL files are available in the monorepo directory.
- The address field there is empty — use the deployed one.
Already deployed addresses
- Mainnet:
REDSTBDUecGjwXd6YGPzHSvEUBHQqVRfCcjUVgPiHsr
- Testnet:
rds8J7VKqLQgzDr7vS59dkQga3B1BotgFy8F7LSLC74
- Devnet:
REDuYsnEucMweattdv4xQCYdU1i8Q2W92kdayrpY9rA
⚠️ The Testnet and Devnet contracts are deployed by using RedStone dev infrastructure and may contain some gaps in data when it's being upgraded