Crates.io | hyperhasher |
lib.rs | hyperhasher |
version | 0.1.2 |
source | src |
created_at | 2022-06-11 17:41:06.340459 |
updated_at | 2022-07-19 15:42:40.868959 |
description | A VERY light blockchain library |
homepage | https://github.com/AtomicGamer9523/Hyperhasher |
repository | https://github.com/AtomicGamer9523/Hyperhasher |
max_upload_size | |
id | 604158 |
size | 5,903 |
rust
and js
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("DATA_FOR_THE_BLOCK",&chain);
chain.push(block);
}