- Add WASM build target and dependencies for all crates. - Implement IndexedDB-based persistent storage for WASM. - Create browser extension infrastructure (UI, scripting, etc.). - Integrate Rhai scripting engine for secure automation. - Implement user stories and documentation for the extension.
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "evm_client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
kvstore = { path = "../kvstore" }
|
|
tokio = { version = "1.37", features = ["rt", "macros"] }
|
|
rhai = "1.16"
|
|
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"
|
|
log = "0.4"
|
|
hex = "0.4"
|
|
k256 = { version = "0.13", features = ["ecdsa"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.10"
|
|
wasm-bindgen-test = "0.3"
|
|
web-sys = { version = "0.3", features = ["console"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
|
|
wasm-bindgen = "0.2"
|
|
js-sys = "0.3"
|
|
console_error_panic_hook = "0.1"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|