Commit Graph

277 Commits

Author SHA1 Message Date
ysq 692b0ce715 Improvement: Add print 2025-09-03 22:38:41 +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
0xfnzero 7aa676781c Update README_CN.md 2025-09-02 02:59:22 +08:00
0xfnzero f620209882 Update README.md 2025-09-02 02:58:32 +08:00
0xfnzero b257259e10 Update README_CN.md 2025-09-02 02:56:54 +08:00
0xfnzero 5d34043078 Update README.md 2025-09-02 02:52:46 +08:00
wei 3f9b3cec8c remove invalid fields 2025-09-02 00:43:05 +08:00
ysq f29b38c8bc Merge commit '818f1abd9d2e4c35656f8b3a006811bbd80928e1' 2025-08-31 22:54:36 +08:00
ysq 865ad8148e feat: upgrade to v0.5.3 2025-08-31 22:54:08 +08:00
wei 818f1abd9d fix: BonkParams platform_onfig changed to platform_comfig 2025-08-30 23:51:20 +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
ysq bc88c7137e Merge commit 'd14f4870c56afd58b9f4c448eef20f4bef7ecfa2' 2025-08-21 21:33:01 +08:00
ysq 5a9238a741 feat: add transaction confirmation wait option and parallel execution optimization
- Add wait_transaction_confirmed parameter to all trading methods
- Support async transaction sending without waiting for confirmation for better performance
- Optimize parallel execution logic to return on first successful transaction
- Fix direct priority_fee modification issue
- Improve error handling and resource management
- Update all example code to support new parameter
2025-08-21 21:32:53 +08:00
wei d14f4870c5 swqos support flashblock 2025-08-21 21:04:19 +08:00
wei d77f00f165 fix tcp keepalive for node1 2025-08-21 13:34:53 +08:00
wood 978dcde89a add tcp keepalive for node1 2025-08-21 00:27:57 +08:00
wood c0aab7fd8d Merge branch 'main' of github.com:0xfnzero/sol-trade-sdk into main 2025-08-21 00:13:08 +08:00
wood 0d69356589 update node1 endpoint 2025-08-21 00:12:59 +08:00
sgxiang ceedadc3f3 Merge pull request #21 from VariantConst/patch-1
Update swqos.rs
2025-08-20 23:54:55 +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
VariantConst 9ae8c702eb Update swqos.rs
Corrected JITO's endpoint in Amsterdam.
2025-08-19 20:21:00 +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 4b74d3cfb4 Merge commit 'd02d734026be4568b67153618ef4997d84bb4c7b' 2025-08-18 20:42:23 +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
ysq 57474bfa6e feat: major refactor with calculation utilities and instruction optimization
- Add comprehensive calculation utilities for all protocols (bonk, pumpfun, pumpswap, raydium)
- Refactor instruction modules to reduce code complexity and improve maintainability
- Optimize trading parameters structure and enhance common utilities
- Separate calculation logic from trading modules for better code organization
- Update dependencies and module exports
2025-08-18 18:00:14 +08:00
ysq 350e34e0a0 Merge commit '22c1d4ea85c5bde99d0cf2498e357764ad9c7a88' 2025-08-14 22:46:35 +08:00
ysq 63244f4073 refactor: restructure trading modules and add price calculation utilities
- Remove redundant pool.rs files from trading protocols
- Consolidate protocol logic into common.rs files
- Add comprehensive price calculation utilities for all protocols
- Add decimals constants module
- Restructure utils module for better organization
- Update documentation with price utilities information

Breaking changes:
- Removed bonding_curve.rs from pumpfun module
- Consolidated trading logic across protocols
- Refactored utils module structure
2025-08-14 22:45:33 +08:00
wei 22c1d4ea85 The buy and sell methods support passing lookup_table_pubkey 2025-08-14 22:29:21 +08:00
wei 5d96fc2a08 add platform 2025-08-14 18:53:36 +08:00
ysq 29179519a6 feat: upgrade to v0.3.4 with enhanced trading system 2025-08-13 23:57:56 +08:00
ysq 069c5e3d21 feat: upgrade to v0.3.3 2025-08-12 11:39:37 +08:00
ysq 2103ac30be feat: upgrade to v0.3.2 2025-08-12 10:33:09 +08:00
ysq 1c43a519b2 chore: bump to v0.3.1
- Update solana-streamer-sdk to 0.2.1
- Fix missing PDA accounts in PumpFun sell instruction
2025-08-11 22:03:26 +08:00
ysq 7dd77838d6 Merge commit '065d19640aea23f4879ea6378a1b5aca912542d2' 2025-08-11 01:12:58 +08:00
ysq 651a4c9ab0 chore: bump version to 0.3.0 and update solana-streamer-sdk to 0.2.0 2025-08-11 01:12:18 +08:00