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
+2 -2
View File
@@ -87,14 +87,14 @@ git clone https://github.com/0xfnzero/sol-trade-sdk
```toml
# 添加到您的 Cargo.toml
sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.3.1" }
sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.3.2" }
```
### 使用 crates.io
```toml
# 添加到您的 Cargo.toml
sol-trade-sdk = "3.3.1"
sol-trade-sdk = "3.3.2"
```
## 🛠️ 使用示例