Oct 27, 2023Oct 27, 2023 · 18 min read · 4 viewsBCT PracBCT *Practical 1* Aim: Create new block with data and test the block Code: const SHA256 = require("sha256"); class Block{ constructor(index, timestamp, data, previousHash = ''){ this.index = index; this.timestamp = timestamp; ...18 min read · 4 views