The Zap program provide util functions that allow user to zap in/out from any Amms or any protocols, but we mostly support Meteora AMMs for now.
User can withdraw liquidity or claim fees from AMM pools and immediately swaps the withdrawn tokens through direct pools (Damm V2 or DLMM) or Jupiter.
- Swap and deposit in Damm V2
- Swap and deposit in DLMM
- anchor 0.31.1
- solana 2.1.0
- rust 1.85.0
Program
anchor build
pnpm install
pnpm test
- Mainnet-beta and Devnet: zapvX9M3uf5pvy4wRPAbQgdQsM1xmuiFnkfHKPvwMiz