Proof of Stake: A NodeJS project