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
|
aef9fe6b14
|
feat: add Bonk trading examples and fix function naming
- Add comprehensive Bonk trading examples in README
- Fix function naming consistency (width -> with)
- Enhance BonkParams with from_trade and from_dev_trade methods
- Add amount calculation utilities and tests
|
2025-07-14 22:26:03 +08:00 |
|
ysq
|
c4bf62be7d
|
feat: optimize Bonk trading instructions and add price calculation
- Optimize sell instruction building, remove redundant code and add account closing
- Add token price calculation function supporting different decimal places
- Clean up debug logs and refactor code structure
|
2025-07-12 01:14:05 +08:00 |
|
ysq
|
9946637c62
|
refactor: rename
|
2025-07-11 16:38:30 +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
|
794207b6c2
|
update dir
|
2025-07-10 02:47:52 +08:00 |
|
wood
|
8f79c3bfd9
|
rebuild sdk dir
|
2025-07-10 02:38:06 +08:00 |
|