refactor: rename package to solana-streamer-sdk

This commit is contained in:
ysq
2025-07-19 23:55:37 +08:00
parent 9e34a01874
commit 041850f93b
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ solana-streamer = { path = "./solana-streamer", version = "0.1.0" }
## Usage Examples
```rust
use solana_streamer::{
use solana_streamer_sdk::{
match_event,
streaming::{
event_parser::{
@@ -96,7 +96,7 @@ async fn test_shreds() -> Result<(), Box<dyn std::error::Error>> {
Protocol::RaydiumCpmm,
Protocol::RaydiumClmm,
];
println!("Listening for events, press Ctrl+C to stop...");
shred_stream
.shredstream_subscribe(protocols, None, callback)