#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

#473 in #ethereum

Download history 4/week @ 2024-02-19 28/week @ 2024-02-26 13/week @ 2024-03-04 21/week @ 2024-03-11 9/week @ 2024-03-18 184/week @ 2024-04-01

217 downloads per month
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

~2.7–4.5MB
~78K SLoC