BCT Prac
BCT
*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;
...
invoker.hashnode.dev18 min read