10 unstable releases (3 breaking)

0.4.0 Apr 19, 2023
0.3.2 Jan 22, 2023
0.2.6 Nov 2, 2022
0.2.5 Aug 13, 2022
0.1.0 Apr 18, 2022

#9 in #ecdsa-signature

Download history 42/week @ 2023-12-17 45/week @ 2024-01-07 148/week @ 2024-01-14 24/week @ 2024-01-21 70/week @ 2024-01-28 77/week @ 2024-02-04 6/week @ 2024-02-11 13/week @ 2024-02-18 75/week @ 2024-02-25 50/week @ 2024-03-03 24/week @ 2024-03-10 16/week @ 2024-03-17 6/week @ 2024-03-24 68/week @ 2024-03-31

120 downloads per month
Used in 4 crates (via sos-sdk)

MIT/Apache

11KB
198 lines

Web3 Core

Collection of crates designed for a minimal suite of functionality appropriate for creating a web3 wallet.

Design goals are first-class support for Webassembly and support for MPC using multi-party-ecdsa.

Derived from work on ethers, web3 and eth-keystore.

Development

Install the developer dependencies with yarn install and a recent version of the rust toolchain.

  • Rust 1.58.0
  • Wasm Pack 0.10.2
  • Node v16.13.2
  • Yarn 1.22.17

Tests

To run the tests first start ganache using a specific mnemonic:

make test-server

Then ensure the test MPC account has some funds:

make fund-mpc-account

Then you can run the test suite:

cargo test --all

lib.rs:

Type to represent an ECDSA signature with a recovery identifier.

Supports serde and single party signatures.

Support for signatures generated by MPC crates will be coming soon.

Dependencies

~0.8–1.8MB
~38K SLoC