#blockchain #testing #ethereum

nightly memchain

In-memory blockchain simulator

9 unstable releases (3 breaking)

0.4.1 Mar 31, 2020
0.3.0 Feb 7, 2020
0.2.4 Dec 13, 2019
0.2.3 Oct 4, 2019
0.2.1 Jul 16, 2019

#624 in #ethereum


Used in 4 crates (3 directly)

Apache-2.0

43KB
999 lines

memchain

Latest Version docs

This crate provides an in-memory blockchain with Ethereum-like semantics. Memchain is primarily useful for integration tests. In fact, it can be compiled to Wasm using cargo build --target wasm32-unknown-unknown and called from JavaScript (in Node or the browser) via its FFI bindings. To build the bindings, you'll want to pass --features ffi.


lib.rs:

An in-memory blockchain with Ethereum-like semantics.

Dependencies

~5.5MB
~107K SLoC