Commit Graph

29 Commits

Author SHA1 Message Date
wood 36b25c1fbe update readme 2025-07-10 23:27:40 +08:00
ysq b891b2bc27 refactor: Major SDK architecture refactoring and API consolidation
- Consolidate separate buy/sell modules into unified trading interface
- Remove protocol-specific buy/sell files (bonk, pumpfun, pumpswap)
- Add new trading constants and utility functions
- Simplify API with unified buy/sell methods supporting multiple protocols
- Enhance documentation with comprehensive examples and usage guides
- Add balance checking and token account management utilities
- Improve code organization and maintainability
2025-07-10 18:14:21 +08:00
wood 516b682519 rename grpc to streaming 2025-07-10 03:24:13 +08:00
wood f1649ac933 update dir 2025-07-10 02:53:01 +08:00
ysq e0a47a271f feat: add SubscriptionHandle for managing subscription lifecycle
- Add SubscriptionHandle struct to manage async subscription tasks
- Implement graceful shutdown mechanism with unsub_fn callback
- Export new module in common/mod.rs
- Support for proper resource cleanup in subscription management
2025-07-09 22:54:25 +08:00
ysq 44ae51747b feat: refactor event parsing architecture and add Raydium Launchpad support
Major changes:
- Refactor event parsing system: migrate scattered logs_* modules to unified event_parser architecture
- Add unified UnifiedEvent trait and EventParser trait for standardized event parsing interface
- Introduce GenericEventParser and EventParserFactory for plugin-style protocol extension
- Add match_event! macro to simplify event type matching and handling
- Add Raydium Launchpad (Bonk.fun) protocol support:
  - Complete buy/sell trading functionality
  - Pool state management and querying
  - Event parsing and subscription
- Update trading system to support new protocol architecture
- Refactor constants organization, rename raydium to raydium_launchpad
- Update documentation and example code

Technical improvements:
- Unified event interface design for better code maintainability
- Factory pattern implementation for dynamic protocol loading
- Generic event parser to reduce code duplication
- Improved error handling and type safety

Breaking Changes:
- Remove old logs_* modules, use new event_parser system
- Protocol constants path change: raydium -> raydium_launchpad
- Event subscription API updated to unified interface
2025-07-09 22:29:29 +08:00
wood 0da3a3b918 remove use_rpc 2025-07-06 23:38:09 +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
wood 148cce8253 . 2025-06-20 00:55:40 +08:00
ysq 29ce9d787f [Feature] Add smart tip fee functionality
1. Add smart_buy_tip_fee field to PriorityFee struct
2. Extend copy_buy_with_tip method with custom_buy_tip_fee parameter
3. Implement dynamic tip fee adjustment logic
2025-06-19 22:30:04 +08:00
sgxiang 768dc92156 Merge commit '602b310cf841be6e695fd01744bc4a510b59f962' 2025-06-16 21:11:35 +08:00
sgxiang 602b310cf8 feat: Add Raydium DEX integration support
Add Raydium logs processing, event parsing and GRPC stream handling functionality,
remove redundant PumpSwap subscription module, optimize project structure.
2025-06-16 18:30:54 +08:00
wei af2afcbb60 fix 2025-06-14 18:52:46 +08:00
sgxiang 165335af11 feat(pumpswap): enhance PumpSwap trading functionality and logs parsing system
- Expand buy/sell trading logic with optimized execution flow
- Improve logs data structures and parser performance
- Enhance common utilities and pool management features
- Refactor main program architecture for better maintainability
- Update library export interfaces with improved API design
2025-06-12 00:00:30 +08:00
wei a3859edf86 add signature 2025-06-10 16:13:26 +08:00
sgxiang 651789b553 refactor(pumpswap): refactor account handling logic in logs_parser and optimize account data extraction 2025-06-10 00:54:42 +08:00
sgxiang 94c2a22ab7 feat: Add PumpSwap trading functionality module 2025-06-06 22:29:30 +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
Burton Qin 43c877cbb3 perf: move regex compilation out of loop in RaydiumEvent::parse_logs 2025-05-19 00:47:35 +08:00
William 8050d7ea8f rename jito mod 2025-04-10 12:29:42 +08:00
William 7c755058cc fix create token, add param with creator pubkey 2025-04-10 11:04:55 +08:00
William ec03ed8edc add nextblock, 0slot support 2025-04-02 13:39:59 +08:00
William 858c0e5700 fix jito buy 2025-01-25 16:01:16 +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 a01275367e add callback to subscribe 2025-01-23 21:15:55 +08:00