Files
2026-07-12 14:35:58 +08:00

588 B

Raydium AMM V4 Trading

中文

Consumes Raydium AMM V4 events from solana-streamer-sdk, builds AMM params, and executes one buy/sell flow.

This is a live-transaction template. Set PRIVATE_KEY, RPC/stream configuration, target filters, token amounts, and fees before running.

cargo run --package raydium_amm_v4_trading

AMM address, market accounts, vaults, token programs, and reserve direction must match the event. For low latency, prewarm the client and blockhash cache and refresh delayed-sell state rather than reusing the triggering snapshot.