759 B
759 B
PumpFun Copy Trading
Consumes PumpFun buy/sell events through sol-parser-sdk Yellowstone gRPC and maps the event's post-trade protocol fields into one follow-up buy/sell flow.
This is a live-transaction template. Set
PRIVATE_KEYand configure RPC, gRPC, target filtering, amounts, slippage, and fee limits before running.
export RPC_URL=https://your-rpc.example
export GRPC_ENDPOINT=https://your-yellowstone.example
cargo run --package pumpfun_copy_trading
Copying every event is unsafe. Add wallet/mint allowlists, signature plus instruction-index deduplication, event-age limits, position isolation, and maximum input/loss controls. Prewarm the client and blockhash cache before subscription for low latency.