HYPERLEDGER FABRIC BOOTCAMP TRAINING
Whenever blockchain is searched on the web, many often come across the terms such as bitcoin, Ethereum, and Hyperledger. Although bitcoin and Ethereum are easier to understand, you need some patience to understand Hyperledger. Let's dive into this beginner's guide of understanding what is Hyperledger, what is a Hyperledger fabric, and what are the Hyperledger fabric components.
Understand what is Hyperledger
Hyperledger is a community-based open-source project focused on producing hosts of tools, libraries, and frameworks. All such suite of items is suitable for deployment on an enterprise level. Hyperledger Project is a collaboration on a global level with many members. Hyperledger is not a company, not a cryptocurrency (and no plans to back such thing), not just a blockchain or IBM blockchain coin (because of IBM's involvement).
Link to Hyperledger Whitepaper: https://www.hyperledger.org/wp-content/uploads/2018/08/HL_Whitepaper_IntroductiontoHyperledger.pdf
Who is the founder of Hyperledger?
The Hyperledger was first announced in San Francisco in California on 9th February 2016. It was introduced by The Linux Foundation, along with 30 other founding members. These founding members were those who saw potential in the concept of Hyperledger. They include some big names such as R3, ConsenSys, IBM, Guartime, and others. The goal behind introducing Hyperledger Project is, to effectively utilize Blockchain Technology on an enterprise-grade level. Another goal was to make blockchain technology accessible to everyone.
Hyperledger Project would not have grown to this stage without the help of its core members. Members made Hyperledger Project a success. From just 30 founding members, the list has grown to 100+ members now. However, there is a distinction among the members. The list of members is divided into four parts as of January 2021.
- Premier members: Renowned names such as Accenture, Hitachi, IBM, ConsenSys.
- General members: Giant companies such as American Express, Cognizant, FedEx, Huawei.
- Associate members: Popular organizations such as Wall Street Blockchain Alliance, Bank of England, Ethereum Classic Cooperative, British Columbia.
- Associates Academia: Education mainstay: Auburn University, Hunan University, University of Cambridge, Yale.
Brian Behlendorf: Executive Director of Hyperldger
When Hyperledger was still in its nascent stage, a well-known name in the tech community was hired — Brian Behlendorf. He got appointed on May 19th, 2015 as executive director of Hyperledger. He is a widely known name in the tech world. He was able to push the project forward with a clear strategy on how the project will pan out. He denied that Hyperledger would too have its cryptocurrency. By September 2016, in a blog, he discussed how Hyperledger would be an umbrella project.
Different Projects of the Hyperledger Project
Hyperledger works on an "umbrella strategy". It develops and supports a mix of applications, libraries, business blockchain technologies, tools, and six frameworks or distributed ledgers. While some projects are under incubation stage, many projects are being hosted by Hyperledger currently:
Hyperledger Sawtooth (distributed ledger):
Sawtooth is a modular blockchain suite. It is developed by Intel. Sawtooth uses a new consensus algorithm, also known as Proof of Elapsed Time (PoeT).
Hyperledger Iroha(distributed ledger):
An easy to use Hyperledger Iroha is an easy to use, distributed blockchain with a unique consensus permission-based model with multi-signature support. Iroha is an endeavor of Japanese companies that came together.
It aims to decrease efforts in the development and writing of distributed ledger software. It does that by providing a separate interface for executing smart contracts, separate from the distributed ledger.
Hyperledger Cello (Tools):
The goal of Hyperledger Cello is to work as a demand deployment model for the blockchain ecosystem. That will decrease the effort involved in creating, terminating, and managing blockchains.
In January 2021, The Hyperledger hosts six distributed ledger frameworks, four libraries, five tools, and one domain-specific Hyperledger Grid. To know more about Hyperledger projects, check out this link:
What is Hyperledger Fabric?
One of the most exciting projects among those available is the Hyperledger Fabric brought by IBM. It is not based on a single blockchain. Hyperledger Fabric acts as a base for developing blockchain-based solutions with modular architecture. Hyperledger Fabric also has the function of plug-and-play. It is a framework capable of providing more than 1,000 transactions per second by just adding an enterprise's blockchain network.
Hyperledger Fabric, too, is an open-source digital ledger framework that can implement a private and Permissioned business network. In a private and Permissioned business network, identities and roles of members are known to other members. Hyperledger Fabric has the advantage of container technology due to which it can be run with remote dependencies. Through Hyperledger Fabric, a business-ready network will have security, confidentiality, and scalability as required.
Hyperledger Fabric Components
Following are the components of Hyperledger Fabric:
Assets: In general terms, we call anything asset that adds value to us, having some benefit. The same gets applied to Hyperledger Fabric Framework. An asset is anything that has some value. An asset is an ownership and an owner. Assets are represented in Hyperledger Fabric as a set of key-value pairs.
Shared ledger: A ledger is a diary that records day to day transactions. The ledger is in digital form and so it is called a digital ledger. Here too, the ledger records ownership and other transactions related to an asset. The ledger is a shared ledger because every transaction is simultaneously recorded in the ledgers of concerned parties. The shared ledger has two components:
- World state: It is the state of the ledger at a given point in time. It is also the database of the ledger.
- Transaction log: It is the blockchain that contains the history of all transactions.
Chaincode/Smart Contracts: Smart Contract is a term more familiar in Ethereum Blockchain Framework. Chaincode is the term used in Hyperledger Fabric. Chaincode keeps the business logic of the system, and it defines transactions and similar assets. Programming languages such as Node.js. and Goland are good for writing Chaincodes. To request Chaincode, the application has to interact with the ledger.
Peer Nodes: Nodes are computers. A peer-to-peer network is when nodes or computers are directly connected rather than going through a central network. Peers are foundational to the network because the peers are a fundamental element of the network. After all, they receive smart contracts and ledgers. A peer does the following functions: interfacing with applications, accessing data in the ledger, executing Chaincode, endorsing transactions, etc.
Channel: A group of peers forms a logical structure, that is called a channel. This way peers can also create a separate ledger of transactions if the need arises.
Organizations: Different organizations are members of the network that have owned and contributed peers. These peers build the Hyperledger Fabric Network. The individual resources contributed by different organizations make the collective network. All peers on the network have their digital certificate, also called identity assigned by Membership Service Provider (MSP) from the organization that owns it. Peers on the same channel can be from a different organization.
Membership Services Provider (MSP): A Certificate Authority is needed to manage certificates that will be used for authenticating the identities of members and their roles. Membership Service Provider or MSP plays that role. Only known identities would be able to transact in the Hyperledger Fabric network. The authentification of all members enables Hyperledger Fabric to be the private and Permissioned network.
Ordering Service: Ordering services assures the delivery of transaction in the network. It communicates with endorsing peers as well as other peers. Solo and Kafka are supporting configurations for it.
Checkout More Related Links:
HYPERLEDGER FABRIC BOOTCAMP TRAINING:
HYPERLEDGER FABRIC SDK:
HYPERLEDGER FABRIC | STATE DATABASE- LEVEL AND COUCH DB:
HYPERLEDGER FABRIC | UNDERSTAND CHAINCODE:
HYPERLEDGER FABRIC TUTORIALS | CHAINCODE INTERFACE – CHAINCODESTUBINTERFACE: https://tutorialsdiary.com/hyperledger-fabric-tutorials-chaincode-interface-chaincodestubinterface/