Commit Graph
135 Commits
Author SHA1 Message Date
ysq 8aecc039b1 feat: upgrade to v0.6.13 2025-09-15 00:02:21 +08:00
ysq 1192730e22 feat: upgrade to v0.6.12 2025-09-14 23:28:45 +08:00
ysq 206baca025 feat: bump to v0.6.11 with dependency updates
- Update solana-streamer-sdk to 0.4.9
- Increase transaction confirmation timeout to 10s
- Update documentation version references
2025-09-14 01:21:28 +08:00
sgxiangandGitHub e52841dc73 Update README.md 2025-09-13 21:09:18 +08:00
ysq f273cf2c82 feat: upgrade to v0.6.10 2025-09-13 17:12:03 +08:00
ysq a1895b1ac2 feat: upgrade to v0.6.9 2025-09-13 00:15:18 +08:00
ysq bbad566c3b fixed 2025-09-12 10:13:21 +08:00
ysq 40b4541036 feat: deprecate legacy utility functions and bump version to 0.6.7
- Add deprecation warnings to PumpFun and PumpSwap utility functions
- Update version from 0.6.6 to 0.6.7 in Cargo.toml and documentation
- Add .claude/ directory to .gitignore
- Mark legacy price calculation and data retrieval functions as deprecated
2025-09-11 17:17:58 +08:00
ysq fce043f087 feat: upgrade to v0.6.6 with improved tip transfer logic 2025-09-11 13:42:23 +08:00
ysq 108f635113 feat: upgrade to v0.6.5 2025-09-10 23:23:35 +08:00
ysq b4aa18b0cd docs: Update Readme 2025-09-10 17:35:44 +08:00
ysq fbed00e38b docs: Update Readme 2025-09-10 17:02:54 +08:00
ysq 688f14ebc1 feat: upgrade to v0.6.4 2025-09-10 11:56:16 +08:00
ysq 2226f53f52 feat: upgrade to v0.6.3 2025-09-10 10:52:47 +08:00
ysq 0cb4e08794 docs: Add emoji icons to parameter section headers 2025-09-10 00:37:00 +08:00
ysq 30c41efece feat: add seed optimization and mint ATA creation control
- Add open_seed_optimize parameter for transaction CU optimization using createAccountWithSeed
- Add create_mint_ata parameter to control automatic mint token account creation
- Update all examples to include new create_mint_ata parameter (set to true)
- Enhance documentation with detailed explanations of seed optimization features
- Add warnings about compatibility requirements when using seed optimization
- Support conditional mint ATA creation across all trading protocols (PumpFun, PumpSwap, Bonk, Raydium)

BREAKING CHANGE: All buy functions now require create_mint_ata parameter
2025-09-10 00:18:31 +08:00
ysq 5225cff73c feat: add seed optimization and refactor wSOL account control
- Add `open_seed_optimize` parameter for enhanced performance
- Move wSOL account flags from protocol params to buy/sell params
- Add seed_trading example demonstrating optimization features
- Update all examples and upgrade dependencies
- Improve wSOL account management flexibility

BREAKING CHANGE: Modified buy/sell method signatures and protocol param structs
2025-09-10 00:05:13 +08:00
ysq 7d7ee3cfbf refactor: split auto_handle_wsol into create/close_wsol_ata params
- Replace auto_handle_wsol with create_wsol_ata and close_wsol_ata
- Enable fine-grained control over wSOL account lifecycle
- Update all trading protocols and documentation
- Add open_seed_optimize support in fast functions

This provides better flexibility for batch operations and advanced trading.
2025-09-09 17:35:09 +08:00
ysq 48a6c6283a refactor: optimize trading execution architecture and add wSOL management
- Simplify TradeExecutor interface by integrating middleware and swqos clients into params
- Refactor parallel execution module with dedicated buy/sell execute functions
- Add SOL wrapping/unwrapping functionality for wSOL management
- Remove redundant parameter passing in sell operations
- Delete example main.rs file
- Optimize transaction building with integrated parameter structures

BREAKING CHANGE: TradeExecutor interface simplified, middleware and swqos_clients now passed through params
2025-09-09 17:02:24 +08:00
ysq b9fa2f2f0f refactor: optimize instruction builders structure and improve code documentation
- Add structured comment sections with clear code organization
- Improve variable naming and account address calculation logic
- Update comments for better readability across all trading protocols
- Enhance code structure for PumpFun, PumpSwap, and Raydium protocols
2025-09-09 00:50:24 +08:00
ysq 0968a93d4f feat: upgrade to v0.6.0 2025-09-08 00:26:58 +08:00
wei df00d3f26a feat: add Astralane 2025-09-07 15:22:06 +08:00
wei 75adf302ed update readme 2025-09-06 21:56:59 +08:00
wei fdb9adfe5b feat:each SWQOS service now supports an optional custom URL parameter: 2025-09-06 21:52:06 +08:00
wei 9f8278f109 feat: add BlockRazor 2025-09-06 21:24:38 +08:00
ysq 597982653d feat: optimize cache systems and add examples 2025-09-04 16:32:34 +08:00
ysq 02af3e98e2 feat(pumpswap): Add fee configuration support v0.5.6 2025-09-03 21:06:14 +08:00
ysq db3b50fc28 feat: v0.5.5 - enhanced priority fee system and dependency updates
- Update solana-streamer-sdk to 0.4.1
- Refactor priority fee API (custom_buy_tip_fee → custom_priority_fee)
- Simplify documentation and clean up examples

BREAKING CHANGE: priority fee parameter type changed
2025-09-03 17:47:10 +08:00
wei 6f953ffa0d The buy and sell methods have added the priority_fee parameter, which can control the priority fee for each transaction 2025-09-02 09:43:53 +08:00
0xfnzeroandGitHub f620209882 Update README.md 2025-09-02 02:58:32 +08:00
0xfnzeroandGitHub 5d34043078 Update README.md 2025-09-02 02:52:46 +08:00
ysq 865ad8148e feat: upgrade to v0.5.3 2025-08-31 22:54:08 +08:00
ysq 9438172029 feat: upgrade to v0.5.2 2025-08-27 14:27:26 +08:00
ysq c10406915c feat: add examples and enhance MEV protection services
This commit adds comprehensive examples for various trading operations including:
- PumpFun copy and sniper trading
- Bonk copy and sniper trading
- PumpSwap trading
- Raydium CPMM and AMM V4 trading
- Middleware system demonstration
- Event subscription

Enhanced MEV protection services with FlashBlock and Node1 integration.
Updated instruction modules for bonk, pumpswap, and raydium_cpmm.
Improved SWQOS modules for better transaction handling.
2025-08-25 00:21:15 +08:00
ysq 90ea46ea3f feat: This update includes the following changes:
1. Upgrade version from 0.4.7 to 0.5.0
2. Rename compute unit parameters from unit_limit/unit_price to tip_unit_limit/tip_unit_price
3. Remove creator parameter from API to simplify trading interface
4. Optimize PumpFun and PumpSwap protocol parameter structures with creator_vault support
5. Remove unnecessary constants and functions like TOTAL_SUPPLY and BONDING_CURVE_SUPPLY
6. Improve code formatting and documentation
2025-08-23 20:37:03 +08:00
ysq 20767ae597 feat(core): Upgrade SDK version to 0.4.7 and enhance parameter constructors
- Upgrade SDK version from 0.4.6 to 0.4.7
- Enhance PumpFunParams.immediate_sell function with creator parameter support
- Extend BonkParams.immediate_sell function with necessary platform parameters
2025-08-22 22:28:54 +08:00
ysq 1f47fc84d4 Merge commit '2b1c40f55430c781c84299328abfb65166b466fa' 2025-08-22 21:49:50 +08:00
ysq 8d17530843 feat(bonk): Update BONK protocol support and fee handling
- Add system program and associated account support
- Update instruction builder with platform/creator accounts
- Implement associated account helper functions
- Upgrade SDK to 0.4.6 and dependencies
- Repla
2025-08-22 21:49:14 +08:00
wood 2b1c40f554 update readme 2025-08-22 17:31:45 +08:00
wood 10a6c7dccf update readme 2025-08-22 17:15:55 +08:00
ysq c9b5c98a36 feat: v0.4.5 - add immediate sell functionality and default implementations
- Bump version to 0.4.5
- Add Default traits for BondingCurveAccount and BonkParams
- Add immediate_sell methods for PumpFun and Bonk params
- Update README version references
2025-08-21 23:54:26 +08:00
ysq f5cfbbfa20 feat: upgrade to v0.4.4 2025-08-21 21:33:53 +08:00
wei d14f4870c5 swqos support flashblock 2025-08-21 21:04:19 +08:00
wood c093a50ae0 Merge branch 'main' of github.com:0xfnzero/sol-trade-sdk into main 2025-08-20 22:49:13 +08:00
wood 6a2a05b83c update readme 2025-08-20 22:46:55 +08:00
ysq 9fa0f6ad6b docs: add Node1 service contact information
- Add Telegram contact link for Node1 free API key in README.md
- Add Chinese version of Node1 contact info in README_CN.md
- Improve user experience by providing direct access to Node1 service
2025-08-20 22:43:22 +08:00
wei 84c2e501ce swqos support node1 2025-08-20 20:50:56 +08:00
ysq d3da5ed18f feat: upgrade to v0.4.2 2025-08-19 21:14:32 +08:00
ysq d27a44735a feat: Add Raydium AMM V4 support and middleware system
- Add Raydium AMM V4 trading protocol support
- Implement instruction middleware system for dynamic processing
- Refactor trade executors to support middleware parameters
- Add fee calculation and slippage protection mechanisms
- Maintain backward compatibility with optional middleware
2025-08-19 18:07:21 +08:00
ysq d02d734026 refactor: improve trading params API and fix bonk calculation bug
- Bump version to 0.4.0 with breaking API changes
- Standardize dex params to Box<T> instead of Option<Box<T>>
- Add convenient factory methods for all trading params
- Fix critical bug in bonk sell calculation (virtual_base logic)
- Update documentation and examples with new API usage
- Improve ergonomics by removing manual params construction
2025-08-18 20:41:01 +08:00