refactor: migrate streaming functionality to separate SDK, bump to v0.2.2

This commit is contained in:
ysq
2025-07-20 00:56:11 +08:00
parent 7942bea571
commit c98d022ae8
39 changed files with 39 additions and 3946 deletions
+5 -3
View File
@@ -2,6 +2,11 @@ use std::{str::FromStr, sync::Arc};
use sol_trade_sdk::{
common::{bonding_curve::BondingCurveAccount, AnyResult, PriorityFee, TradeConfig},
swqos::{SwqosConfig, SwqosRegion},
trading::{core::params::{BonkParams, PumpFunParams, RaydiumCpmmParams}, factory::DexType, raydium_cpmm::{common::{get_buy_token_amount, get_sell_sol_amount}}},
SolanaTrade,
};
use sol_trade_sdk::solana_streamer_sdk::{
match_event,
streaming::{
event_parser::{
@@ -17,9 +22,6 @@ use sol_trade_sdk::{
},
ShredStreamGrpc, YellowstoneGrpc,
},
swqos::{SwqosConfig, SwqosRegion},
trading::{core::params::{BonkParams, PumpFunParams, RaydiumCpmmParams}, factory::DexType, raydium_cpmm::{common::{get_buy_token_amount, get_sell_sol_amount}}},
SolanaTrade,
};
use solana_sdk::{commitment_config::CommitmentConfig, pubkey::Pubkey, signature::Keypair};