From 2cf5f650b8fdbd1992f3d65ad6e102087e74f896 Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Tue, 3 May 2022 07:59:24 +0200 Subject: Use Rust Secp256k1 implementation from RustCrypto project (#92) This PR ports `hdwallet` to use the `k256` crate - a native Rust implementation of secp256k1 elliptic curve and ECDSA signing. The motivation for this change is that we can just use the `wasm32-wasi` Rust target without requiring a WASI C toolchain! Notice that the CI no longer requires installing the WASI SDK in order to build the WASI target. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e2eb52e..45dbbf5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hdwallet" -version = "0.1.1" +version = "0.2.0" authors = ["Nicholas Rodrigues Lordello "] edition = "2021" description = "Ethereum hierarchical deterministic wallet implementation" @@ -15,8 +15,8 @@ clap = { version = "3", features = ["derive", "env"] } ethnum = "1" hex = "0.4" hmac = { version = "0.12", features = ["std"] } +k256 = "0.10" pbkdf2 = { version = "0.11", default-features = false } -secp256k1 = { version = "0.22", features = ["recovery"] } serde = { version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10" -- cgit v1.2.3