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
This commit is contained in:
+2
-3
@@ -2,11 +2,11 @@
|
||||
name = "sol-trade-sdk"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["William <byteblock6@gmail.com>"]
|
||||
authors = ["William <byteblock6@gmail.com>", "sgxiang <sgxiang@gmail.com>", "wei <1415121722@qq.com>"]
|
||||
repository = "https://github.com/0xfnzero/sol-trade-sdk"
|
||||
description = "Rust SDK to interact with the dex trade Solana program."
|
||||
license = "MIT"
|
||||
keywords = ["solana", "memecoins", "pumpfun", "pumpswap", "raydium"]
|
||||
keywords = ["solana", "memecoins", "pumpfun", "pumpswap", "raydium", "bonk", "shreds", "yellowstone"]
|
||||
readme = "README.md"
|
||||
|
||||
[lib]
|
||||
@@ -65,7 +65,6 @@ lazy_static = "1.5.0"
|
||||
once_cell = "1.20.3"
|
||||
prost = "0.13.5"
|
||||
prost-types = "0.13.5"
|
||||
arrform = { git = "https://github.com/raydium-io/arrform" }
|
||||
num_enum = "0.7.3"
|
||||
num-derive = "0.4.2"
|
||||
num-traits = "0.2.19"
|
||||
|
||||
Reference in New Issue
Block a user