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:
+1
-1
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user