
This video has brief information about what we are going to cover in the whole course and its a part 1
This video has brief information about what we are going to cover in the whole course and its a part 2
This video contains information about course prerequisites.
This video have a brief information about source code. Just download the source code available in resources section and we will be using the same code for all sections in the course.
This video has detailed information about the fabric network. We will be creating the same network in upcoming videos, and most importantly, on the top of this network we will add additional orderer and organization in running network.
It having a folder structure information in the repository.
We will create cryptomaterials for all network participants. At the end of this course, you will be able to create cryptomaterials for fabric network.
In this video, we will be covering creating channel artifacts like genesis.block and channel.tx file.
In this video, we will walk through the docker compose file where all the necessary services defined
For creating the network, we need to run all necessary services using a docker-compose file, in this video, we run these all services.
At the end of this video, you will be able to create a channel and join all the peer to the newly created channel.
We will walk through the chain code and let's see what are the different methods available in smart contract.
We need to download all the necessary dependency so that we can create a package of chain code. In this video, we will download all dependencies.
This video have details about packaging and installing chainocde on endorsing peer of each organization in the fabric network.
As per new lifecycle chaincode method introduced in hyperledger fabric, Org need to approve chaincode definition as per lifecycle chaincode policy. In this video, we will learn how org approve the chaincode definition before committing to endorsement peer.
Once chained is approved by necessary organizations, it needs to commit to endorsing peers of each organization. In this video, we will learn how to commit chain code definition on endorsing peer and invoke init function.
Once chaincode is committed to endorsing peers, user of the organization can start interacting with network by invoking and querying transactions. IN this video we will learn how the user can invoke transaction form command line and query added asset in invoke transaction.
In this video, we will use one script to start our fabric network, so that we don't need to do all necessary steps one by one.
Adding a new organization is little complex process, it needs to follow proper steps. IN this video we will see what kind of steps we are going to follow to add new organisation in existing network.
When we talk about adding a new organization in the existing network, we need to have crypto materials for the news organizations. In this video, we will use cryptogen binary to create all necessary certificates.
For adding new organization in the existing network we need to create necessary services like peer service, couch DB as state database for peer, and separate certificate authority for the new organization. In this video, we will go through a docker-compose file where all services are defined.
For adding new organization in the running network, we need to have an org definition file, here we will create using configtx.yaml file.
Whenever we do any update in the configuration block, we need to follow certain steps, in this video, we will learn what are the different steps involved in the update configuration block.
In this video, we will start adding a new org in network. First step is to fetch application configuration block and add a definition file into it and create modified configuration block.
We will be using configtxlator binary to compute updates and finally encode in proto buffer format. Configtxlator binary is used to encode, decode date from proto buffer to JSON(decode), JSON to proto buffer(encode) and compute update.
Once we are done with necessary changes in configuration block we need to sign with proper admin credential(private key). IN our case for adding new org in existing application channel, updated configuration block needs to sign with both org(Org 1 and Org 2) and finally send to the orderer.
Once we send an updated configuration block to the orderer successfully with new organization data, so new org can now join the application channel. Newly added organization will fetch latest channel block and join the channel and all the existing data on org 1 and org2 will get synced with org3.
This video has detailed information about adding new organizations in the existing consortium so that new org can create channels with other orgs in the network and start doing communication.
In this video, we will go through all necessary steps that need to follow for adding new organization in the existing consortium.
When an organisation is not a part of consortium, so he cannot create a channel. We will try to create a new channel with a new organization and let's analyze the results.
Here we will cover system channel configuration block update to add new org.
Once we update the system channel with new org information, Now we should be able to create a channel and join peers as new org is part of the consortium.
Once we add new organization in the existing network, new org can create a channel with any other org and join with peers. Once we are done with these steps, we will deploy chaincode for invoking transactions.
This video is about a brief about adding new organizations in existing network without disturbing the existing setup.
We will go through the flow diagram for adding a new orderer in the existing network. Adding a new orderer in running network little different process as comparing to adding organization.
Here we will cover configuration block update flow require to update configuration block (System channel or Application channel).
In the previous section, we have created all participants cryptomaterial using cryptogen tool, but here we will be creating all necessary certificates using certificate authority. First, we will create our fabric network with newly created certificates and later start adding a new orderer.
Once our fabric network is up and running, we can start creating cryptomaterial for the new orderer.
This video we will cover adding consenter to system channel, here first we have to fetch system channel block, do necessary channel configuration update, sign with orderer admin, and send signed block to the orderer.
once we add a consenter to the system channel for the new orderer successfully, we will fetch genesis block and start a new orderer container.
This video we will cover adding new orderer address to system channel, here first we have to fetch system channel, do necessary channel configuration update, sign with orderer admin, and send signed block to the orderer.
This video we will cover adding consenter to application channel, here first we have to fetch application channel block, do necessary channel configuration update, sign with orderer admin, and send signed block to the orderer.
This video will cover adding new orderer to application channel, here first we have to fetch application channel block, do necessary channel configuration update, sign with orderer admin, and send signed block to the orderer.
Once we follow all necessary steps for adding a new orderer in an existing network, we need to verify if the newly added orderer is working correctly. This video will verify new orderer logs. We will send a new transaction to new orderer as well and confirm if it's working properly
Fabric Advanced Operations are complex to implement and need to have the expertise to add new components to the existing network without disturbing the running setup.
What we cover in this course
Hands-on experience of advanced operations like
Configuration Block Update Flow
Adding New Organisation in Application Channel at runtime
Adding New Organisation in Consortium
Adding New Orderer in existing orderer cluster
We will cover each and every step require to do these complex operations.
We will carry out network configuration update as per policies defined for adding new components in the fabric network.
Note: Poster Image - Illustration by Freepik Stories (stories.freepik/technology)
This course does not include Hyperledger fabric core concepts and focused primarily on Hyperledger fabric advanced network operations
At the end of this course, you will be in a position to scale your network by adding a new organization or orderer in the existing fabric network without disturbing the running setup.
About Hyperledger Fabric:
Fabric is the first distributed ledger platform to support smart contracts authored in general-purpose programming languages such as Java, Go, and Node.js. The fabric has a highly modular and configurable architecture, enabling innovation, versatility, and optimization. Hyperledger Fabric has been specifically architected to have a modular architecture. Whether it is pluggable consensus, or pluggable identity management protocols.