What is Blockchain and how to do your own
Understanding blockchain with money
What a blockchain does
- It's distributed, decentralized
- Verifies the order
- Verifies the genuinity
Some examples
- Economics: Currency transactions
- Legal: Smart contracts
- Logistic: Keeps track of delivery processes
- Energy: Running a neighborhood energy grid
Why would we need a blockchain
- Keep a ledger between peers
- Share a energy/resources use/production records
- Stablish a common channel between organizations
The components
- The block
- The chain
The Block: ingredients
- Index number
- Timestamp
Previous hash
- The data
The Chain: constraints
- Indexes must be adyacent
- Timestamps must be sequential
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
- Require high scalability
- Peers are not necesary trustfull
- There are no arbiters
- Transparency is valuable