This guide is a quick overview of information regarding key elements in Blockchain & alongside practical walkthrough. Blockchain technology has many types according to industry needs, however we will focus primarily on two, Ethereum & Hyperledger Fabric. Blockchain consists of the following elements:
- Genesis block (first block)
- Chain of blocks
- Each block have data, hash, previous block hash (If data changes -> hash will change)
- Proof of work (also called mining -> consume processing power)
- Consensus of Nodes (in Peer-to-Peer network)
Blockchain TypesIt can be of two types depending on purpose of use.
A public blockchain network is completely open. Anyone can join and participate in the network. The network typically has an incentivizing mechanism to encourage more participants to join the network. Bitcoin is one of the largest public blockchain networks in production today while Ethereum comes second.
A private blockchain involves a separate, essentially closed network, of blockchain participants (also known as nodes). Each participant has their own copy of the blockchain, essentially a ledger, with a locked down history of all of the transactions that took place in the network. Hyperledger Fabric is an example of private blockchain.
Now let’s move to the platform you are going to use first. It is Ethereum, which is used to develope DApps (Decentralized apps).