#solana #events #shredstream #streaming

solana-event-stream

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.

1 stable release

1.1.6 Dec 15, 2025

#3 in #shredstream

MIT license

470KB
10K SLoC

🌊 Solana Event Stream

从 Solana DEX 交易程序实时流式传输事件。

一个轻量级的 Rust 库,为 PumpFun、PumpSwap、Bonk 和 Raydium 协议提供高效的事件解析和订阅功能。

介绍

作为 Rust 初学者,我一直希望能在 Solana 链上实践高频交易、抢跑和跟单等策略。 Solana Streamer 这个项目提供了完整的源码并附带详细注释,非常适合初学者快速理解代码逻辑。通过这个项目,我不仅快速掌握了 Solana 上的开发流程,还能深入理解链上数据流与高性能事件处理。

开源项目地址:https://github.com/0xfnzero/solana-streamer/blob/main/README_CN.md

特别感谢开源作者 0xfnzero 提供如此优秀的学习资源!

启动

cargo run --example shred_stream
cargo run --example grcp

Dependencies

~71–99MB
~1.5M SLoC