Channel
What is a Channel?
A Hyperledger Fabric channel functions as a network inside a network. When two or more users want to create a separate environment for interaction without involving other parties, they create a channel. Each channel has a separate ledger that only channel members can read or write to. This makes Hyperledger Fabric one of the best private blockchains.
How to Create a Channel?
Go to the Channels tab and click Create channel.


Provide the following:
Name
Every channel has a unique name on the platform.
Policy
The channel policy is the governing model for the channel — it controls validation of transactions, addition of new organizations, and chaincode-related actions.
Organizations
At least one organization is required at creation. Add more later. Parameters for each organization:
Organization — Only consortium members can be added during channel creation
Anchor peers — Required for peer discovery; each organization must have at least one
Joined peers — Peers from your organization that will join the channel
Consenters — Subset of ordering nodes from the system channel responsible for ordering transactions; at least one required
Rights: Admin (channel configurations), Writer (update ledger), Reader (query ledger), Endorser (approve chaincode)
Click Create. The channel appears under the Channel tab only after at least one peer has been added.
Channel Details
After creating or joining a channel, configure it under the Channels tab.

The Download last block button allows downloading the channel configuration in JSON or protobuf format.
Organizations Tab
Shows organizations with their rights and peers that are part of the channel.
Add an organization:
Click Add organization. The organization must be in your partners list first.
Remove an organization:
Removes the organization along with its consenter.
Edit rights, add peers, update anchor peers:
Available under the Organizations tab. You can only update peers belonging to your own organization.
Ordering Tab
Shows orderer organizations and their consenters.
Channel Configuration Tab
Shows the channel genesis block configuration with an Edit option.
Blocklist Tab
Shows blocks representing transactions that have happened sequentially over the channel. You can see the number of transactions per block and their details.
Proposals Tab
Proposals are channel configuration changes that require approval according to the channel's policy.
A proposal is created automatically when:
A channel has a MAJORITY or ALL policy and there is more than one admin organization
An organization without admin rights initiates an action
Created
The proposal is ready to be voted on
Voting
Voted by at least one organization, but policy not satisfied yet
Voted
Policy is satisfied; proposal can be completed
Completed
All approvals done; proposal successfully completed
Canceled
Proposal was canceled
Chaincodes Tab
Approve and commit chaincodes to the channel. You can also test your chaincode using query or invoke methods, or subscribe to chaincode events after it is committed.

How to Join a Channel?
After joining, the channel appears under the Channels tab where you can update anchor peers, add more peers, add or delete consenters, and more.
Last updated
Was this helpful?

