0.1.13 • Published 2 years ago
hyperhasher v0.1.13
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);
}