What is Blockchain and how to do your own

Understanding blockchain with money

What a blockchain does

  1. It's distributed, decentralized
  2. Verifies the order
  3. Verifies the genuinity

Some examples

  1. Economics: Currency transactions
  2. Legal: Smart contracts
  3. Logistic: Keeps track of delivery processes
  4. Energy: Running a neighborhood energy grid

Why would we need a blockchain

  1. Keep a ledger between peers
  2. Share a energy/resources use/production records
  3. Stablish a common channel between organizations

The components

  1. The block
  2. The chain

The Block: ingredients

  1. Index number
  2. Timestamp
  3. Previous hash

  4. The data

The Chain: constraints

  1. Indexes must be adyacent
  2. Timestamps must be sequential
  3. Previous hash mush match own block copy

Time to work, get some code


                    $ git clone -b kata https://github.com/Edorka/blockpy.git
                    

So, idoneous projects

  1. Require high scalability
  2. Peers are not necesary trustfull
  3. There are no arbiters
  4. Transparency is valuable