hookenful
2abcf3839e
style: run rustfmt
2026-03-14 18:16:55 +02:00
Wood
d7b0985844
Release v3.6.2: Node1 QUIC, Speedlanding reliability, version bump
...
- Add Node1 QUIC transport (UUID auth, bincode tx, region endpoints)
- Speedlanding: ensure_connected, connect/send timeouts, lock on reconnect, SNI from endpoint host
- Bump version to 3.6.2; update README(s) and add release notes
Made-with: Cursor
2026-03-12 15:40:56 +08:00
Wood
9872b1b4a7
feat(swqos): Astralane QUIC region-based endpoints and endpoint selection
...
- Add SWQOS_ENDPOINTS_ASTRALANE_QUIC array (8 regions: ny, fr, ams, lim, sg, ams, la, lim)
- Select QUIC endpoint by region and optional custom URL in get_swqos_client (was hardcoded)
- Use primary endpoints only; avoid ams2/fr2 for lower latency
- Align with Astralane QUIC docs (port 7000, gateway.astralane.io)
Made-with: Cursor
2026-03-10 01:40:25 +08:00
Wood
9f79e865ab
perf: P0/P1/P2 low-latency and maintainability improvements
...
P0:
- blockhash/nonce: get_transaction_blockhash returns Result; buy/sell entry validation
- Bonk sell: remove RPC get_token_balance from build path; require caller to pass input_amount
- Hot path: drop redundant dex_type/protocol_params clone; tip via sol_f64_to_lamports (no String)
- compute_budget cache uses Arc; extend_compute_budget_instructions avoids SmallVec clone
P1:
- middleware protocol_name takes &str; executor destructures result once to avoid signatures/submit_timings clone
- Error messages include dex context; params use Copy for Pubkey; pumpswap utils clone only Pool for pools[0]
P2:
- transaction_pool capacity constants; TIP_ACCOUNT_CACHE marked allow(dead_code)
- Fix error copy in raydium_amm_v4 / meteora_damm_v2 to correct protocol names
Made-with: Cursor
2026-03-08 01:05:27 +08:00
Wood
a003fd4d2f
feat: Astralane QUIC, code review fixes, README & example updates
...
- Add Astralane QUIC client (astralane_quic.rs) and SwqosTransport::Quic
- README: Astralane QUIC usage, remove third-party doc links, add QUIC to examples
- Code review: API key not in logs, PumpSwap no clone, PDA Result, SELL_DISCRIMINATOR, ensure_wsol_ata refactor, tracing in astralane, only supports fix
- instruction/utils: pumpfun/pumpswap PDA & discriminator unit tests
- trading_client example: SwqosTransport, Astralane QUIC in config
- cli_trading: fix all unused variable warnings (_prefix)
- Add docs/CODE_REVIEW_REPORT.md
Made-with: Cursor
2026-03-07 10:47:31 +08:00
Wood
07487c06cb
Revert "feat: Fastlane SWQoS, PumpSwap pool lookup and init robustness"
...
This reverts commit 1142829394 .
2026-03-06 11:03:49 +08:00
Wood
1142829394
feat: Fastlane SWQoS, PumpSwap pool lookup and init robustness
...
- swqos: add Fastlane client and endpoint/tip constants
- pumpswap: pool 244-byte DataSize, canonical PDA lookup, find_by_mint diagnostics
- lib: find_pool_by_mint generic entry; rent/SWQoS init timeouts and default rent fallback
- lib: create WSOL ATA only when SOL balance is sufficient
- utils: get_token_balance_with_options and get_payer_token_balance_with_program (seed ATA aligned)
Made-with: Cursor
2026-03-05 23:45:42 +08:00
Wood
0cd276d6cb
feat: Helius Sender SWQOS support and global check_min_tip option
...
- Add Helius Sender client (helius.rs) with dual routing and swqos_only mode
- Helius min tip: 0.0002 SOL default, 0.000005 SOL when swqos_only=true
- Add TradeConfig.check_min_tip (default false) to skip min-tip validation for lower latency
- Thread check_min_tip through SwapParams and execute_parallel; only call min_tip_sol when enabled
- Add SWQOS_ENDPOINTS_HELIUS and HELIUS_TIP_ACCOUNTS in constants
- Extend SwqosConfig/SwqosType for Helius; add Helius to get_endpoint and get_swqos_client
- Update trading_client, shared_infrastructure and middleware_system examples
Made-with: Cursor
2026-02-27 15:00:13 +08:00
speedlanding
f10d0309ed
feat(swqos): Add Speedlanding
2026-01-17 10:48:19 +08:00
Wood and Claude Sonnet 4.5
321f4c4a25
feat: optimize RPC polling and remove data size limit
...
Significantly reduce RPC pressure and fix MaxLoadedAccountsDataSizeExceeded errors.
Major improvements:
1. Add wait_confirmation parameter to all swqos clients
- Skip polling entirely when wait_transaction_confirmed=false (100% RPC reduction)
- Optimize getTransaction calls to only execute on errors or after 10s (50% reduction)
- Update all 13 swqos client implementations
2. Remove LoadedAccountsDataSize instruction and data_size_limit parameter
- Eliminate MaxLoadedAccountsDataSizeExceeded errors reported by users
- Clean up gas_fee_strategy, params, and transaction builder
- Simplify compute budget instruction generation
Results:
- Single channel: 30 RPC calls → 0-15 calls (50-100% reduction)
- Multi-channel (3x): 90 RPC calls → 0-45 calls (50-100% reduction)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2025-12-28 13:15:16 +08:00
Wood
2c3d617c6e
feat(swqos): add SWQOS provider blacklist configuration
...
- Add SWQOS_BLACKLIST constant for disabling specific providers
- Add SwqosConfig::is_blacklisted() method to check blacklist status
- Skip blacklisted providers during client initialization with warning
- Remove NextBlock references from README, README_CN and examples
- NextBlock is blacklisted by default, can be enabled by removing from SWQOS_BLACKLIST
2025-12-20 16:45:29 +08:00
matt-soyas
413919340c
feat(swqos): Add Soyas
2025-12-19 17:48:09 +08:00
HelvetiCrypt and Claude
7d313dbfd0
feat(swqos): add Lightspeed (Solana Vibe Station) support
...
- Add LightspeedClient using standard JSON-RPC sendTransaction
- Add tip accounts (53PhM..., 9tYF5...)
- Add minimum tip constant (0.001 SOL)
- Endpoint format: https://<tier>.rpc.solanavibestation.com/lightspeed?api_key=<key>
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-30 17:43:43 +00:00
ysq
353c814697
feat(swqos): add Stellium support and update minimum tip requirements
2025-12-01 00:13:34 +08:00
Wood
0a0340a46f
peformance optimization
2025-10-06 23:40:27 +08:00
ysq
a7f673b43d
feat: upgrade to v2.0.0 with major dependency updates
...
- Upgrade Solana dependencies from 2.3.x to 3.0.0 series
- Upgrade solana-streamer-sdk from 0.4.13 to 0.5.0
- Upgrade yellowstone-grpc from 8.0.0 to 9.0.0
- Add new SPL token utility modules (spl_token.rs, spl_token_2022.rs,
spl_associated_token_account.rs)
- Remove deprecated gRPC protocol definitions (protos/ directory)
- Remove event_subscription example and update all example dependencies
- Update README documentation to reflect v2.0.0 changes
- Refactor imports to use new dependency structure across examples
BREAKING CHANGES:
- Solana SDK upgraded to 3.0.0 with API changes
- Removed gRPC protocol definitions
- Updated import paths for SPL token operations
2025-09-27 14:24:41 +08:00
ysq
006686e8a3
feat: major gas fee strategy and documentation overhaul
...
- feat(gas): add comprehensive gas fee strategy management system
* Implement GasFeeStrategyType with Default/LowTipHighCuPrice/HighTipLowCuPrice strategies
* Add dynamic gas fee configuration per SWQOS service and trade type
* Integrate arc-swap for thread-safe strategy updates
- docs: restructure documentation with dedicated guides
* Add ADDRESS_LOOKUP_TABLE.md/CN.md for lookup table configuration
* Add NONCE_CACHE.md/CN.md for nonce management documentation
* Add TRADING_PARAMETERS.md/CN.md for comprehensive parameter guides
* Simplify main README.md with focused overview
- refactor: update all examples with new gas fee strategy integration
* Modernize 14 trading examples with consistent parameter handling
* Improve error handling and configuration management
* Enhance parallel trading implementation
2025-09-19 00:49:45 +08:00
ysq
fad343ffbf
Rollback
2025-09-17 11:14:15 +08:00
ysq
c5ff7c1cbb
refactor: Refactor SDK core architecture and trading parameter system
...
- Refactor SolanaTrade main class structure with improved modular design
- Refactor trading parameter system: BuyParams/SellParams -> InternalBuyParams/InternalSellParams
- Remove deprecated PriorityFee and related utility functions
- Add SwqosSettings to replace legacy SwqosConfig
- Add comprehensive technical documentation:
• Address Lookup Table usage guide (EN/CN)
• Nonce Cache mechanism documentation (EN/CN)
• Trading Parameters documentation (EN/CN)
- Refactor all example code to adapt to new API interfaces
- Optimize public API design and code comments
- Clean up redundant utility functions and type definitions
Impact: 43 files changed, 2013 insertions(+), 1735 deletions(-)
2025-09-17 00:10:33 +08:00
wei
df00d3f26a
feat: add Astralane
2025-09-07 15:22:06 +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
9438172029
feat: upgrade to v0.5.2
2025-08-27 14:27:26 +08:00
wei
d14f4870c5
swqos support flashblock
2025-08-21 21:04:19 +08:00
wei
84c2e501ce
swqos support node1
2025-08-20 20:50:56 +08:00
ysq
281218b15e
feat(jito): add API token authentication support
...
- Update Jito configuration to require API token
- Add authentication headers to Jito API requests
- Bump version to 0.2.13
- Update documentation and examples
2025-08-04 21:11:06 +08:00
wood
def16e6b92
update swqos config
2025-07-07 03:28:02 +08:00
wood
f772e26aa2
add bloxroute
2025-07-07 02:06:52 +08:00
wood
9d30c5e9ad
remove define
2025-07-07 01:30:57 +08:00
wood
0ca391ebe2
update swqos
2025-07-07 01:26:24 +08:00
wood
7f8f240da1
update define
2025-07-07 01:19:12 +08:00
wood
38a8e2dae4
update jito and nextblock
2025-07-07 01:01:38 +08:00
wood
d13c382a46
update trade config and swqos
2025-07-06 23:36:18 +08:00
wood
3ac39508d9
rebuild code
2025-07-06 22:06:44 +08:00
wei
af2afcbb60
fix
2025-06-14 18:52:46 +08:00
sgxiang
63109713f4
refactor: organize code into multi-protocol architecture with PumpFun submodules
2025-06-06 22:13:19 +08:00
sgxiang
bfe76fcddc
feat: Add address lookup, caching system and Jito GRPC integration
...
- Implement address lookup tables and multi-level caching
- Add GRPC stream processing and YellowStone connections
- Extend PumpFun functionality including token creation
- Integrate Jito GRPC services (auth, block engine, relayer)
- Optimize log processing and event system
2025-05-29 18:53:58 +08:00
William
8050d7ea8f
rename jito mod
2025-04-10 12:29:42 +08:00