Shasper beacon chain implementation using the Substrate framework.
Switch branches/tags
Nothing to show
Clone or download
Latest commit e0f1531 Oct 5, 2018

README.md

Substrate Shasper

Note: This is an experimental project. Everything will break, and it may disappear without any notice!

This is an implementation of Shasper beacon chain using the Substrate framework.

Status

Currently we have a (mostly complete, but untested) implementation of Shasper state transition validation algorithms. This is then combined with Substrate's embedded consensus engine to provide a simple Substrate node implementation. In the future, this consensus engine will be replaced to comply with Shasper's fork choice rule specification.

Get Started

To build the project, first install rustup and wasm-gc:

rustup update stable
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc

After that, compile the WebAssembly runtime:

cd runtime/wasm && ./build.sh && cd ../..

You can then execute the client:

cargo run -- --chain dev

However, before the block authoring logic is added, there's probably not much you can do!

License

Licensed under GPLv3.