Basic Peer to peer blockchain

Credits: Bogdan-IonuČ› Bibina

In this practical sessions we will construct a basic p2p blockchain from scratch in golang.

What we will build?

  1. Peer to peer network
  2. Syncronise peers inside the network
  3. Mine a block and send it to the other peers
  4. Have a basic wallet and add money to it when we mine a block
  5. Send transactions and approve them into blockchain

Follow tutorial here; code is here.

Prerequisites on hashing, blockchain, and lots of interesting and useful information. Highly recommended before this lab.