feat: Upgrade SDK version to 0.2.4 and optimize tip fee setting logic

- Upgrade SDK version from 0.2.3 to 0.2.4
- Update solana-streamer-sdk dependency to version 0.1.3
- Optimize buy_tip_fees setting logic using map function instead of hardcoded array
- Update version numbers in README documentation
This commit is contained in:
ysq
2025-07-24 21:38:22 +08:00
parent 4f4edbf00a
commit 7a05ec216c
5 changed files with 19 additions and 21 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ async fn test_grpc() -> Result<(), Box<dyn std::error::Error>> {
let protocols = vec![Protocol::PumpFun, Protocol::PumpSwap, Protocol::Bonk, Protocol::RaydiumCpmm];
println!("开始监听事件,按 Ctrl+C 停止...");
grpc.subscribe_events(protocols, None, None, None, callback).await?;
grpc.subscribe_events(protocols, None, None, None, None, None, callback).await?;
Ok(())
}