Open BorkBorked opened 1 month ago
We should be able to add this, but in Anchor 0.30, you'll be able declare program crates (including CPI client) with the declare_program!
macro:
declare_program!(whirlpool);
This will mostly remove the need to import crates separately.
Have a nice sunday.
Thanks, you too!
Orca is the second largest Solana DEX and concentrated liquidity AMM. They publish an official crate to use their product : https://github.com/orca-so/whirlpool-cpi
Would love to see SOLPG integrate it, as it's the most dev-friendly DEX rn (there's no Raydium DEX) and their functions and structs can get quite messy with no crate importation.
Have a nice sunday.