feat: Upgrade dependencies and refactor client

- Upgrade several dependencies to their latest versions.
- Refactor the EVM client for improved modularity and clarity.
- Simplify transaction signing and sending logic.
This commit is contained in:
2025-05-16 03:07:42 +03:00
parent 017fc897f4
commit 85a15edaec
8 changed files with 156 additions and 380 deletions

View File

@@ -7,21 +7,24 @@ edition = "2021"
path = "src/lib.rs"
[dependencies]
vault = { path = "../vault" }
ethers-core = "2.0"
gloo-net = { version = "0.5", features = ["http"] }
rlp = "0.5"
reqwest = { version = "0.11", features = ["json"] }
async-trait = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
vault = { path = "../vault" }
thiserror = "1"
alloy-rlp = { version = "0.3.11", features = ["derive"] }
alloy-primitives = "1.1.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
log = "0.4"
hex = "0.4"
reqwest = { version = "0.11", features = ["json"] }
k256 = { version = "0.13", features = ["ecdsa"] }
gloo-net = { version = "0.5", features = ["http"] }
[dev-dependencies]
wasm-bindgen-test = "0.3"
web-sys = { version = "0.3", features = ["console"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }