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
This commit is contained in:
+27
-25
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sol-trade-sdk"
|
||||
version = "1.2.3"
|
||||
version = "2.0.0"
|
||||
edition = "2021"
|
||||
authors = [
|
||||
"William <byteblock6@gmail.com>",
|
||||
@@ -17,7 +17,6 @@ readme = "README.md"
|
||||
[workspace]
|
||||
members = [
|
||||
"examples/trading_client",
|
||||
"examples/event_subscription",
|
||||
"examples/middleware_system",
|
||||
"examples/pumpfun_copy_trading",
|
||||
"examples/pumpfun_sniper_trading",
|
||||
@@ -39,22 +38,24 @@ members = [
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
solana-streamer-sdk = "0.4.13"
|
||||
solana-sdk = "2.3.0"
|
||||
solana-client = "2.3.6"
|
||||
solana-program = "2.3.0"
|
||||
solana-rpc-client = "2.3.6"
|
||||
solana-rpc-client-api = "2.3.6"
|
||||
solana-transaction-status = "2.3.6"
|
||||
solana-account-decoder = "2.3.6"
|
||||
solana-hash = "2.3.0"
|
||||
solana-entry = "2.3.6"
|
||||
solana-rpc-client-nonce-utils = "2.3.6"
|
||||
solana-perf = "2.3.6"
|
||||
solana-metrics = "2.3.6"
|
||||
spl-token = "8.0.0"
|
||||
spl-token-2022 = { version = "8.0.0", features = ["no-entrypoint"] }
|
||||
spl-associated-token-account = "7.0.0"
|
||||
solana-streamer-sdk = "0.5.0"
|
||||
solana-sdk = "3.0.0"
|
||||
solana-client = "3.0.0"
|
||||
solana-program = "3.0.0"
|
||||
solana-rpc-client = "3.0.0"
|
||||
solana-rpc-client-api = "3.0.0"
|
||||
solana-transaction-status = "3.0.0"
|
||||
solana-account-decoder = "3.0.0"
|
||||
solana-hash = "3.0.0"
|
||||
solana-entry = "3.0.0"
|
||||
solana-rpc-client-nonce-utils = "3.0.0"
|
||||
solana-perf = "3.0.0"
|
||||
solana-metrics = "3.0.0"
|
||||
solana-nonce = "3.0.0"
|
||||
solana-address-lookup-table-interface = "3.0.0"
|
||||
solana-compute-budget-interface = "3.0.0"
|
||||
solana-commitment-config = { version = "3.0.0", features = ["serde"] }
|
||||
|
||||
borsh = { version = "1.5.3", features = ["derive"] }
|
||||
isahc = "1.7.2"
|
||||
serde = { version = "1.0.215", features = ["derive"] }
|
||||
@@ -66,11 +67,11 @@ bs58 = "0.5.1"
|
||||
rand = "0.9.0"
|
||||
bincode = "1.3.3"
|
||||
anyhow = "1.0.90"
|
||||
yellowstone-grpc-client = { version = "8.0.0" }
|
||||
yellowstone-grpc-proto = { version = "8.0.0" }
|
||||
yellowstone-grpc-client = { version = "9.0.0" }
|
||||
yellowstone-grpc-proto = { version = "9.0.0" }
|
||||
reqwest = { version = "0.12.12", features = ["json", "multipart"] }
|
||||
tokio = { version = "1.42.0" , features = ["full", "rt-multi-thread"]}
|
||||
tonic = { version = "0.12.3", features = ["tls", "tls-roots", "tls-webpki-roots"] }
|
||||
tonic = { version = "0.14.2", features = ["transport"] }
|
||||
rustls = { version = "0.23.23", features = ["ring"] }
|
||||
rustls-native-certs = "0.8.1"
|
||||
tokio-rustls = "0.26.1"
|
||||
@@ -83,8 +84,8 @@ thiserror = "2.0.11"
|
||||
async-trait = "0.1.86"
|
||||
lazy_static = "1.5.0"
|
||||
once_cell = "1.20.3"
|
||||
prost = "0.13.5"
|
||||
prost-types = "0.13.5"
|
||||
prost = "0.14.1"
|
||||
prost-types = "0.14.1"
|
||||
num_enum = "0.7.3"
|
||||
num-derive = "0.4.2"
|
||||
num-traits = "0.2.19"
|
||||
@@ -93,11 +94,12 @@ bytemuck = { version = "1.4.0" }
|
||||
arrayref = "0.3.6"
|
||||
borsh-derive = "1.5.5"
|
||||
indicatif = "0.18.0"
|
||||
solana-system-interface = { version = "1.0.0", features = ["bincode"] }
|
||||
solana-system-interface = { version = "2.0.0", features = ["bincode"] }
|
||||
fnv = "1.0.7"
|
||||
dashmap = "6.1.0"
|
||||
clru = "0.6"
|
||||
smallvec = "1.15.1"
|
||||
parking_lot = "0.12"
|
||||
arc-swap = "1.7"
|
||||
sha2 = "0.10"
|
||||
sha2 = "0.10"
|
||||
tonic-prost = "0.14.2"
|
||||
|
||||
Reference in New Issue
Block a user