blockChain Turakas
C = [{ time: Date.now(),
name: 'Turakas' }]
bC = b =>
C.push({
time: Date.now(),
size: JSON.stringify(C).length,
height: C.length,
author: 'puukallistaja',
body: b,
})
Turakas = bC
Turakas('hello little one')
/****{ Turakas }
*
*/
const
fs = require('fs')
fs.writeFileSync('./Turakas.json', JSON.stringify(C), 'utf8')
proof of work: https://github.com/Puukallistaja/bC