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
120 downloads per month
Used in 4 crates
(via sos-sdk)
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