Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/owez/irkle
A merkle tree lib using blake3 and binary tree arrays for superfast trees ⚡
https://github.com/owez/irkle
blockchain hash-tree merkle-tree package-management rust scm
Last synced: about 1 month ago
JSON representation
A merkle tree lib using blake3 and binary tree arrays for superfast trees ⚡
- Host: GitHub
- URL: https://github.com/owez/irkle
- Owner: Owez
- License: mit
- Created: 2020-11-05T21:11:24.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T20:04:43.000Z (almost 4 years ago)
- Last Synced: 2024-09-13T14:33:44.861Z (2 months ago)
- Topics: blockchain, hash-tree, merkle-tree, package-management, rust, scm
- Language: Rust
- Homepage: https://crates.io/crates/irkle
- Size: 67.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Irkle
[![Tests](https://github.com/Owez/irkle/workflows/Tests/badge.svg)](https://github.com/Owez/irkle/actions?query=workflow%3ATests)
[![Docs](https://docs.rs/irkle/badge.svg)](https://docs.rs/irkle)> NOTE: This branch is outdated and is not being worked on, in favour of the `array-redo` branch which brings many preformance improvements. This branch represents the status of the `0.1.0-pre.1` verson of irkle
A [blake3](https://en.wikipedia.org/wiki/BLAKE_(hash_function)#BLAKE3)-based merkle (hash) tree implementation for superfast trees ⚡
## Example
```rust
use irkle::Tree;fn main() {
println!("{:#?}", Tree::new(vec!["hello", "there"]));
}
```## Installation
Simply add the following to your `Cargo.toml` file:
```toml
[depedencies]
irkle = "0.1"
```## Current status
Creation and verification of merkle trees have been implemented and are fast, but could be greatly improved with the help of parallelization as currently this library is single-threaded.
This is the tracking issue for the multi-threading of irkle: [`https://github.com/Owez/irkle/issues/1`](https://github.com/Owez/irkle/issues/1)