albovieira / blockchain-ts

A basic blockchain implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TS Blockchain

This project aims to implement a basic blockchain flow.

Flow:

  • Creation of signed wallets;
  • Balance Check;
  • Every transaction is signed before be created into blockchain;
  • There is a prof of work algorithm and a reward system to compensate the effort to generate a block;

Next steps:

  • Add a consensus protocol;
  • Create smartcontracts and trigger then when the terms are reached.

Setup

$ npm install

Test

$ npm test

About

A basic blockchain implementation


Languages

Language:TypeScript 100.0%