4 releases (2 breaking)
0.6.0 | Apr 19, 2023 |
---|---|
0.5.2 |
|
0.5.1 |
|
0.4.1 | Dec 26, 2022 |
0.1.0 | Aug 28, 2022 |
#31 in #mpc
155 downloads per month
Used in 4 crates
(via sos-sdk)
10KB
192 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
:
Address types to represent public keys on various blockchains.
More types will be added in the future.
Dependencies
~0.4–1.6MB
~32K SLoC