/web3-core

Web3 libraries with support for MPC designed for Webassembly

Primary LanguageRust

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