diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-05-03 07:59:24 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2022-05-03 07:59:24 +0200 |
| commit | 2cf5f650b8fdbd1992f3d65ad6e102087e74f896 (patch) | |
| tree | 7c501fcd82b33a6203cb6b55c4820d698c1d83e5 /Cargo.toml | |
| parent | 1c13a451bc2e56ce8531d5da683a3c7aa6d4d887 (diff) | |
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.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ [package] name = "hdwallet" -version = "0.1.1" +version = "0.2.0" authors = ["Nicholas Rodrigues Lordello <[email protected]>"] 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" |
