This is a Solana program for an SVM Oracle that provides price feeds for the Apro Protocol.
Before you begin, ensure you have the following installed:
- Rust
- Solana CLI
- Anchor Framework
-
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
-
Install Solana CLI:
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
-
Install Anchor Framework:
cargo install --git https://github.com/coral-xyz/anchor --tag v0.29.0 avm --locked avm use 0.29.0
To build the program, run:
anchor build
To run the tests, use:
anchor test