0.1.13 • Published 2 years ago

hyperhasher v0.1.13

Weekly downloads
-
License
Creative Commons ...
Repository
github
Last release
2 years ago

Hyper-Hasher

A Simple BlockChain Library for rust and js

Examples

const {Block, Chain} = require('hyperhasher');

let chain = new Chain();

let block = new Block("DATA_FOR_THE_BLOCK",chain);

chain.push(block);
use hyperhasher::{Block, Chain};

fn main() {
    let mut chain = Chain::new();
    let block = Block::new(String::from("DATA_FOR_THE_BLOCK"),&chain);
    chain.push(block);
}