#blockchain #chain #module #framework

blockchain

Unopinioned blockchain framework

38 releases (8 breaking)

✓ Uses Rust 2018 edition

0.9.2 Aug 7, 2019
0.8.1 May 31, 2019
0.3.1 Mar 9, 2019
0.2.0 Oct 5, 2017
0.1.0 Jul 3, 2017
Download history 83/week @ 2019-04-24 43/week @ 2019-05-01 160/week @ 2019-05-08 126/week @ 2019-05-15 127/week @ 2019-05-22 170/week @ 2019-05-29 78/week @ 2019-06-05 118/week @ 2019-06-12 129/week @ 2019-06-19 352/week @ 2019-06-26 153/week @ 2019-07-03 209/week @ 2019-07-10 78/week @ 2019-07-17 6/week @ 2019-07-24 72/week @ 2019-07-31

602 downloads per month
Used in 41 crates (6 directly)

GPL-3.0 license

34KB
932 lines

Rust Blockchain

crates.io Documentation

Rust Blockchain is an unopinioned blockchain framework that helps you to develop a blockchain project.

Chain

The chain module handles block import and state storage. Assumptions we have in this module:

  • We have Block, which consists of a hash, and has a parent block. It forms a chain.
  • At each Block there is a corresponding State.
  • An executor that takes a block, and parent block's state. Executing it should get the current block's state.

lib.rs:

General block framework.

Dependencies