I have tried deploying a single organization in hypreledger fabric. First of all, i created a channel using the commands in hyperledger official documentation but i am not able to gain any appropriate help in building a single organization
If you're following first-network
from the fabric-samples, then you have to modify a few things.
docker-compose-cli
. Remove all the org2
services and its references.This will start a network with only one organization.
configtx.yaml
and add a profile with single org.OneOrgChannel:
Consortium: SampleConsortium
Application:
<<: *ApplicationDefaults
Organizations:
- *Org1
Capabilities:
<<: *ApplicationCapabilities
channel.tx
using OneOrgChannel
profile.export CHANNEL_NAME=mychannel && ../bin/configtxgen -profile OneOrgChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID $CHANNEL_NAME
This channel is configured only for one organization. If you want another org in this channel then you have to update the channel configuration.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.