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 |
#568 in #ethereum
35 downloads per month
Used in 4 crates
(3 directly)
43KB
999 lines
memchain
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–4MB
~78K SLoC