waterpump-solana-test-utils
Protocol-specific Solana test fixtures for DeFi integration tests.
Built on top of waterpump-solana-test-core,
this crate provides offline and online fixture helpers for:
- Raydium CLMM
- Meteora DLMM
- Orca Whirlpool
- Lending market shared types (Solend / MarginFi / Kamino)
Online fixture behavior
Online fixtures are RPC-first:
- they fetch live accounts and program binaries from
SOLANA_RPC_URL - if
SOLANA_RPC_URLis unset, they default tohttps://api.mainnet-beta.solana.com - local
target/deploy/*.sofiles are used only as fallback when RPC program fetch fails - callers should treat fixture setup errors as test failures, not soft-skips
This applies to the protocol fixture helpers used by the Orca Whirlpool, Meteora DLMM, and Raydium CLMM e2e test suites.
License
Licensed under either of MIT or Apache-2.0 at your option.