mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-22 13:28:08 +00:00
refactor: rename package to solana-streamer-sdk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user