feat: upgrade to v3.3.2 with explicit token_program parameter support

Major changes:
- Bump version from 3.3.1 to 3.3.2
- Add token_program field to PumpFun trading parameters
- Support explicit token_program passing for better TOKEN_PROGRAM_2022 compatibility
- Update all example code to pass token_program parameter
- Optimize token program determination logic from auto-inference to explicit parameter
This commit is contained in:
ysq
2025-11-18 10:04:46 +08:00
parent 8f945995a4
commit b04ca6c27a
9 changed files with 30 additions and 21 deletions
+1
View File
@@ -149,6 +149,7 @@ async fn pumpfun_copy_trade_with_grpc(trade_info: PumpFunTradeEvent) -> AnyResul
trade_info.real_sol_reserves,
None,
trade_info.fee_recipient,
trade_info.token_program,
)),
address_lookup_table_account: None,
wait_transaction_confirmed: true,