10 unstable releases (3 breaking)

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

#27 in #virtual-filesystem

30 downloads per month

Apache-2.0

82KB
2K SLoC

Blockchain FileSystem (BCFS)

Latest Version docs

This crate provides a blockchain filesystem for use in a WASI Wasm runtime. The implementation is based on the Blockchain WASI proposal (link to high-level blog post).

You can find examples of using BCFS in src/lib/tests.rs.

BCFS can be compiled to Wasm so that it can be used in integration tests. Just build using cargo build --target wasm32-unknown-unknown. BCFS exposes FFI bindings so that it can be called from, say, JavaScript in the browser. To build the bindings, you'll want to pass --features ffi.

Dependencies

~3.5–5.5MB
~99K SLoC