sol-parser-sdk 0.3.1

A lightweight Rust library for real-time event streaming from Solana DEX trading programs. Supports PumpFun, PumpSwap, Bonk, and Raydium protocols with Yellowstone gRPC and ShredStream.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! 账户填充模块 - 按协议拆分
//!
//! 每个协议有独立的填充模块,便于维护和扩展

pub mod bonk;
pub mod meteora;
pub mod orca;
pub mod pumpfun;
pub mod pumpswap;
pub mod raydium;

use solana_sdk::pubkey::Pubkey;

/// 账户获取辅助函数类型
pub type AccountGetter<'a> = dyn Fn(usize) -> Pubkey + 'a;