Please make sure that you install the Solana/Anchor/Rust on your development environment
https://book.anchor-lang.com/getting_started/installation.html
anchor build
anchor deploy
anchor run test
- Init the program
- Deposit SOL to vault by owner
- Deposit USDC to token vault by owner
- Allow users to deposit SOL and withdraw USDC (based on SOL price from Pyth)
- Allow users to deposit USDC and withdraw SOL (based on SOL price from Pyth)
https://www.quicknode.com/guides/solana-development/3rd-party-integrations/pyth-price-feeds