mitrid_core

Core library of the Mitrid framework

9 releases

0.3.0 Oct 9, 2018
0.2.4 Oct 6, 2018
0.1.2 Oct 4, 2018

#12 in #cryptocurrency

Download history 83/week @ 2018-10-10

27 downloads per month

Apache-2.0

143KB
4K SLoC

Travis branch Coveralls github branch Crates.io Docs.rs License

Mitrid is a framework for building blockchains. It is meant to be flexible enough to cover different architectures (permissionless and permissioned; with authenticated chains, trees or directed graphs) and to let users use the cryptographical protocols they prefer. Add-ons will be added to ease development.

Mitrid-core is the heart of the Mitrid framework and provides its models and crypto traits.

Install

To install the mitrid-core library, add in your Cargo.toml:

# Cargo.toml

[dependencies]
mitrid_core = "^0.5"

and in the root of your crate:


extern crate mitrid_core;

Testing

To build the tests you need libsodium and libclang installed on your system. If the dependencies are resolved, then you can run the tests by typing cargo test on your terminal.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependencies

~4.5MB
~85K SLoC