wrap optifi-cpi for convenient usage
dev tooling for OptiFi
- optifi-client: wrap optifi-cpi for convenient usage
- optifi-cpi: provide anchor CPI and account struct
- cpi-examples: CPI integration examples
- Install Solana CLI
- Install Rust
- Run
solana-keygen new -o ~/.config/solana/optifi.json
- Run
solana airdrop 1 -k ~/.config/solana/optifi.json
- Add
features = ["cpi", "devnet"]}
tooptifi-cpi
inprograms/optifi-client/Cargo.toml
for running on devnet - Run some tests in
programs/optifi-client/tests/mod.rs
Run rustup override set stable-x86_64-apple-darwin