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
ysq
e976af6935
feat: upgrade to v0.2.12 and refactor system instructions
2025-08-03 22:51:11 +08:00
ysq
45140ae789
feat(pumpswap): enhance flexible mint support and optimize performance
...
- Add base_mint/quote_mint parameters to PumpSwapParams for flexible trading pairs
- Implement pool reserves caching to reduce RPC calls and improve speed
- Refactor unified buy/sell instruction logic for different mint types
- Add volume accumulator PDA support and proper fee calculations
- Update pool discovery for both base and quote mint searches
- Bump version to 0.2.11
Breaking: PumpSwapParams now requires mint and reserves parameters
2025-08-02 23:51:04 +08:00
ysq
7942bea571
feat: add Raydium CLMM protocol support, bump version to 0.2.1
2025-07-19 21:28:01 +08:00
wood
c66a89cad2
update example
2025-07-10 23:54:49 +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
8f79c3bfd9
rebuild sdk dir
2025-07-10 02:38:06 +08:00