/powtoychain

Repository created to play with and learn PoW blockchain logic

Primary LanguageTypeScript

POW-toychain

Minimalist implementation of Proof Of Work Blockchain in form of a library. The goal is to implement at some point a full on minimalist cryptocurrency blockchain.

This project is only meant as learning opornity and should not be concidered as a viable solution.

TO-DO

Mendatory:

Block

  • Block structure
  • Template Block content type
  • Add Block testing

Blockchain

  • Blockchain base structure
  • Template Blockchain with Block content type
  • Add Blockchain testing

Transactions

  • Transactions base structure
  • Minimum transaction base structure testing
  • Add top level functionnal test with transaction array as block data type

Wallet

  • Wallet Manager
  • Refact transaction structure to use wallets

Optimization

  • Refact/Reorganise dependencies and ownership between Blockchain Transactions and Wallet

Optional:

  • Add custom error policy