update readme

This commit is contained in:
wood
2025-07-10 23:33:06 +08:00
parent e61898803f
commit 266f5a6d71
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -218,6 +218,7 @@ use sol_trade_sdk::{
},
};
// pumpfun sniper trade
async fn test_pumpfun_sniper_trade_width_shreds(trade_info: PumpFunTradeEvent) -> AnyResult<()> {
println!("Testing PumpFun trading...");
@@ -267,6 +268,7 @@ async fn test_pumpfun_sniper_trade_width_shreds(trade_info: PumpFunTradeEvent) -
Ok(())
}
// pumpfun copy trade
async fn test_pumpfun_copy_trade_width_grpc(trade_info: PumpFunTradeEvent) -> AnyResult<()> {
println!("Testing PumpFun trading...");
@@ -305,7 +307,8 @@ async fn test_pumpfun_copy_trade_width_grpc(trade_info: PumpFunTradeEvent) -> An
Ok(())
}
async fn test_pumpfun_sell(trade_info: PumpFunTradeEvent) -> AnyResult<()> {
// pumpfun sell token
async fn test_pumpfun_sell() -> AnyResult<()> {
let amount_token = 100_000_000;
solana_trade_client
.sell(
+4 -1
View File
@@ -218,6 +218,7 @@ use sol_trade_sdk::{
},
};
// pumpfun 狙击者交易
async fn test_pumpfun_sniper_trade_width_shreds(trade_info: PumpFunTradeEvent) -> AnyResult<()> {
println!("Testing PumpFun trading...");
@@ -267,6 +268,7 @@ async fn test_pumpfun_sniper_trade_width_shreds(trade_info: PumpFunTradeEvent) -
Ok(())
}
// pumpfun 跟单交易
async fn test_pumpfun_copy_trade_width_grpc(trade_info: PumpFunTradeEvent) -> AnyResult<()> {
println!("Testing PumpFun trading...");
@@ -305,7 +307,8 @@ async fn test_pumpfun_copy_trade_width_grpc(trade_info: PumpFunTradeEvent) -> An
Ok(())
}
async fn test_pumpfun_sell(trade_info: PumpFunTradeEvent) -> AnyResult<()> {
// pumpfun 卖出token
async fn test_pumpfun_sell() -> AnyResult<()> {
let amount_token = 100_000_000;
solana_trade_client
.sell(