Introduction of Hyperledger
Hyperledger is an open source project under linux foundation where people can come and work on the platform to develop the blockchain related use-cases. According to Brian behlendorf, executive director of Hyperledger,
“Hyperledger is an open source community of communities to benefit an ecosystem of hyperledger based solution providers and users focused on blockchain related use-cases that will work on variety of industrial sectors”.
Hyperledger provides the platform to create personalized blockchain service according to the need of business work. Unlike other platform for developing blockchain based software, Hyperledger has an advantage of creating secured and personalized blockchain network. The public blockchain requires every peers in the network for completing the process and run consensus at the same time. when the business requires confidentiality in the work, the public network fails to keep this as it does not support private and consortium network.
Consider a situation when person X wants to buy medicine from person Y, who was a doctor living in another country. As medicine requirement is of the one person’s private need, they need to maintain the data confidentially. But Dr. Y is selling medicine in the network to so many people, in case of public blockchain, every transaction will get updated in the network to all the peers. That’s where hyperledger find its significance. In the hyperledger, the parties are directly connected and the concerned people’s ledger will be updated. Hence providing the privacy and confidentiality.
How it works?
Hyperledger works in a way that a requirement for the contract can be initiated through an app. The membership service involved in the network validates the contract. The concerned two-peer has to produce a result and then sent to consensus cloud. The generated result from both the peer has to be same inorder to validate the contract. Once it is validated, then the transaction will happen between the affiliated peers and their ledger will be updated. When a business requires a confidentiality and private network for their transaction to happen without doing that in a single network, hyperledger paves the way.
Roles of peers:
In the hyperledger network, the peers are separated into three distinct roles at two run time. This distinct feature in this network makes notable changes as it allows high degree of personalization. The 3 peer roles are:
- Commiter – appends validated transactions to their specific ledger. The simplest role is the commiter. They only add the transaction to the specific ledger once the transaction is returned by the consenter.
- Endoser – who initiates the transaction to happen. Depend on the network, committer can also be an endoser.
- Consenter – Their role is to validate the transaction by verifying the result produced by the affiliated peers who wants to proceed a transaction. Their role is very specific and run on separate run time. Consenters perform the role of protecting the network to be private.