Wood
5358d9ea28
feat(swqos): add minimum tip constants and conditional transaction building
...
- Define minimum tip constants for each SWQOS provider (JITO, NextBlock, Node1, etc.)
- Add dynamic filtering in execute_parallel to skip transaction building when tip is below provider's minimum
- Add missing SWQOS_ENDPOINTS_ASTRALANE constant
- Ensure SWQOS clients are always initialized but transactions are conditionally built based on current tip amount
2025-11-24 06:03:31 +08:00
Wood
3132981f85
feat: add dynamic tip update methods to GasFeeStrategy
...
- Add update_buy_tip() method to dynamically update buy tip while keeping other parameters unchanged
- Add update_sell_tip() method to dynamically update sell tip while keeping other parameters unchanged
- Enable simple one-line tip updates for all configured SWQOS providers
- Support percentage-based dynamic tip calculation in trading bots
2025-11-23 21:02:55 +08:00
Wood
26cee93fb1
feat: optimize WSOL wrap/unwrap with seed account reuse check
...
- Add account existence check before creating seed account
- Implement wrap_wsol_to_sol_without_create for reusing existing seed accounts
- Prevent transaction failures when temporary seed account already exists
- Improve WSOL conversion efficiency by avoiding redundant account creation
2025-11-23 20:18:01 +08:00
Wood
ce83b5ae68
Revert "refactor: split seed optimization config into wsol_use_seed and mint_use_seed"
...
This reverts commit eb8de36f50 .
2025-11-22 01:41:06 +08:00
Wood
eb8de36f50
refactor: split seed optimization config into wsol_use_seed and mint_use_seed
...
- Split use_seed_optimize parameter into two independent configs:
* wsol_use_seed: controls seed optimization for WSOL ATA operations (default: false)
* mint_use_seed: controls seed optimization for other mint ATA operations (default: true)
- Refactor TradeConfig to accept all parameters in new() constructor
- Remove deprecated builder methods (with_seed_config, with_wsol_ata_config)
- Add wsol_use_seed and mint_use_seed fields to SwapParams
- Remove open_seed_optimize field from SwapParams
- Update all instruction builders to use correct seed parameter:
* Use params.wsol_use_seed for WSOL token operations
* Use params.mint_use_seed for other token operations
* Fix token type detection in bonk.rs, raydium_cpmm.rs, and raydium_amm_v4.rs
to properly select wsol_use_seed when dealing with WSOL tokens
- Update wsol_manager functions to accept is_use_seed parameter:
* handle_wsol()
* close_wsol()
* create_wsol_ata()
* wrap_sol_only()
* wrap_wsol_to_sol()
- Add wrap_wsol_to_sol() function with smart temporary account selection:
* If source is seed-created, use normal ATA for temp account
* If source is normal ATA, use seed ATA for temp account
* Prevents address conflicts while optimizing performance
This provides fine-grained control over seed optimization strategies,
allowing different configurations for WSOL and other tokens.
2025-11-21 13:05:39 +08:00
Wood and Claude
7fb4fd35d1
feat: add Node1 minimum tip amount validation (0.002 SOL)
...
- Add intelligent tip amount detection for Node1
- Implement MIN_TIP_AMOUNT check in transaction builder
- Add MIN_TIP_AMOUNT.md documentation
- Optimize pumpswap instruction handling
- Update common utility functions
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-17 23:34:28 +08:00
Wood
71964eeced
Merge branch 'main' of github.com:0xfnzero/sol-trade-sdk
2025-11-12 22:00:53 +08:00
Wood
0f87db6e8c
update fee strategy
2025-11-12 22:00:13 +08:00
Wood
1be1674bf3
update gas fee strategy support data size limit settings
2025-11-09 21:20:55 +08:00
Wood
2bf43fc99f
upgrade solana-client version
2025-10-25 22:46:36 +08:00
Wood
9aaf52b22f
Merge branch 'main' of github.com:0xfnzero/sol-trade-sdk
2025-10-14 17:33:41 +08:00
Wood
2eea6d25e1
fix build errors for syscall_bypass.rs
2025-10-14 17:33:13 +08:00
Wood
657d6bc83e
Fix concurrency-related memory safety issues.
2025-10-07 00:48:33 +08:00
Wood
ffc71cc1d8
performance optimization
2025-10-07 00:08:41 +08:00
Wood
f9492b2c3a
peformance optimization
2025-10-06 23:41:12 +08:00
Wood
0a0340a46f
peformance optimization
2025-10-06 23:40:27 +08:00
William
2a06ebe2c0
remove pumpfun create token
2025-05-21 20:41:00 +08:00
William
b5bb229df3
update readme
2025-05-19 14:19:21 +08:00
William
fcc4184636
update readme
2025-05-19 14:08:07 +08:00
William and GitHub
cddd335962
Merge pull request #5 from Chain-Fox/fix-regex-in-loop
...
perf: move regex compilation out of loop in RaydiumEvent::parse_logs
2025-05-19 13:46:05 +08:00
William
4198720c51
fix slippage and get_buy_token_amount_from_sol_amount
2025-05-14 22:11:16 +08:00
William
07651638b9
fix
2025-05-13 07:08:01 +08:00
William
3a60969b22
fix pump upgrade
2025-05-13 06:34:57 +08:00
William
ee0f18a279
update poll tx status
2025-04-10 12:38:00 +08:00
William
8050d7ea8f
rename jito mod
2025-04-10 12:29:42 +08:00
William
c7acb32acf
remove trade.rs
2025-04-10 11:56:19 +08:00
William
7c755058cc
fix create token, add param with creator pubkey
2025-04-10 11:04:55 +08:00
William
1fd3163bf9
remove tonic-build lib
2025-04-09 23:44:14 +08:00
William
fb9d47bc80
remove protobuf build
2025-04-09 23:36:51 +08:00
William
a46bf4c77e
fix duplicate instruction (2)
2025-04-09 21:07:27 +08:00
William
d28675f96d
update readme
2025-04-09 13:41:16 +08:00
William
351649b517
update readme
2025-04-09 13:38:19 +08:00
William
716611475b
update readme
2025-04-09 13:36:15 +08:00
William
dfcdf12a7e
update readme
2025-04-02 14:25:30 +08:00
William
685ca6bd7e
update readme
2025-04-02 14:18:52 +08:00
William
d9cd8154b7
fix build errors
2025-04-02 14:08:48 +08:00
William
ff877902a7
update readme
2025-04-02 14:03:56 +08:00
William
ec03ed8edc
add nextblock, 0slot support
2025-04-02 13:39:59 +08:00
William
2dc15b9020
add Arc
2025-02-26 09:56:20 +08:00
William
ce06345106
CommitmentConfig
2025-02-26 04:02:49 +08:00
William
83484c12a4
rewrite Clone
2025-02-26 04:01:52 +08:00
William
ec0b4e4981
change unit_price, unit_limit to uint
2025-02-21 23:13:28 +08:00
William
12ddfe4dc0
update fee for custructor
2025-02-21 23:02:15 +08:00
William
ecb2ffa747
change priority_fee
2025-02-21 22:32:43 +08:00
William
8df2841b17
fix
2025-02-21 21:15:10 +08:00
William
d3d2c37ee8
Merge branch 'main' of github.com:MiracleAI-Labs/pumpfun-sdk into main
2025-02-21 20:48:00 +08:00
William
f4f3c0fb37
rebuild code
2025-02-21 20:47:28 +08:00
William
87fee74311
Merge branch 'main' of github.com:MiracleAI-Labs/pumpfun-sdk into main
2025-02-21 16:14:48 +08:00
William
f2870ddd04
update readme
2025-02-21 16:14:36 +08:00
William
a7c94838df
add send_transactions
2025-02-16 14:21:42 +08:00
William
38f1ce3fad
Refactor the code to optimize performance.
2025-02-15 18:53:17 +08:00
William
7cf908ae5d
fix
2025-02-14 18:53:00 +08:00
William
b52765683a
fix
2025-02-13 23:30:37 +08:00
William
53e1e94da2
fix
2025-02-13 20:44:20 +08:00
William
998d843bac
fix
2025-02-13 15:59:14 +08:00
William
39d1d4400d
update sell
2025-02-13 15:22:35 +08:00
William
d75b368e5e
fix
2025-02-13 00:08:14 +08:00
William
705200e538
fix
2025-02-12 23:01:43 +08:00
William
fc89e36a37
fix
2025-02-12 22:56:44 +08:00
William
76e4d8f46c
debug
2025-02-12 22:53:10 +08:00
William
794b68caa5
debug
2025-02-12 22:50:43 +08:00
William
ca00680215
update error
2025-02-12 22:46:09 +08:00
William
2b69bfc2a5
debug
2025-02-12 22:02:19 +08:00
William
61171af619
update jito
2025-02-12 20:12:14 +08:00
William
141318938e
fix
2025-02-10 19:58:12 +08:00
William
a70c5fec1e
add jito fee
2025-02-10 15:20:33 +08:00
William
c9d491d5c2
add yellowstone
2025-02-01 09:44:15 +08:00
William
3477e7dc20
update default fee
2025-01-27 11:25:24 +08:00
William
1f67c7d036
set jito fee
2025-01-25 19:45:18 +08:00
William
c0528b2007
remove logs
2025-01-25 17:49:52 +08:00
William
f19126ac1b
fix buy jito
2025-01-25 17:16:52 +08:00
William
d36de45264
update rpc commitment
2025-01-25 16:31:11 +08:00
William
9cf4475aab
add logs
2025-01-25 16:27:11 +08:00
William
cab890a2bb
fix logs
2025-01-25 16:24:30 +08:00
William
e29e555c8f
add logs
2025-01-25 16:21:27 +08:00
William
7bff98eaa5
add log
2025-01-25 16:14:49 +08:00
William
a98a63587f
set default jito fee
2025-01-25 16:08:53 +08:00
William
858c0e5700
fix jito buy
2025-01-25 16:01:16 +08:00
William
be36888e6c
fix payer
2025-01-25 15:36:09 +08:00
William
b59afd21b8
set const
2025-01-25 13:18:03 +08:00
William
3d3adec767
update client error
2025-01-25 12:41:21 +08:00
William
87810d47bb
add close account
2025-01-25 01:04:45 +08:00
William
14b77dbdf4
update events
2025-01-24 14:01:56 +08:00
William
3a6e9b641f
add sample code
2025-01-23 21:32:34 +08:00
William
a01275367e
add callback to subscribe
2025-01-23 21:15:55 +08:00
William
42b7267c2c
add yellowstone grpc
2025-01-23 17:48:10 +08:00
William
429fc78ecf
add jito transaction
2025-01-14 19:18:48 +08:00
William
d634cb357c
fix
2025-01-13 18:42:21 +08:00
William
95889975af
update readme
2025-01-10 10:56:14 +08:00
William
fd16c3eb90
update PriorityFee default
2025-01-09 17:05:17 +08:00
William
06cae8c933
add default PriorityFee
2025-01-09 16:59:05 +08:00
William
a0f2358a60
fix
2025-01-09 15:43:21 +08:00
William
ea69700ed5
fix buy
2025-01-09 01:21:20 +08:00
William
c9f0241de2
fix buy
2025-01-09 00:12:43 +08:00
William
7d2365cd84
fix warnings
2025-01-08 16:33:43 +08:00
William
7882db4b12
fix add tokens_subscribe
2025-01-07 13:18:31 +08:00
William
025978de13
update version
2025-01-03 19:06:17 +08:00
William
5c0b8c87e2
add bot trade
2025-01-03 17:06:19 +08:00
William
bec7305f0e
add bot trade event
2025-01-03 17:01:07 +08:00
William
862651034e
fix jito
2025-01-03 15:26:44 +08:00