Skip to content

piedup/my-fabric-network

Repository files navigation

Generate crypto material (optional)

Generate crypto material

cryptogen generate --config=./crypto-config.yaml

Generate orderer genesis block

configtxgen -profile OneOrgOrdererGenesis -outputBlock ./network-artifacts/genesis.block

Inspect orderer genesis block

configtxgen -inspectBlock ./network-artifacts/genesis.block -profile OneOrgOrdererGenesis

Create a channel configuration transaction

export CHANNEL_NAME=mychannel

configtxgen -profile OneOrgChannel -outputCreateChannelTx ./network-artifacts/channel.tx -channelID $CHANNEL_NAME

Inspect channel configuration transaction

configtxgen -inspectChannelCreateTx ./network-artifacts/channel.tx -profile OneOrgChannel

Define Org1 anchor peer for channel

configtxgen -profile OneOrgChannel -outputAnchorPeersUpdate ./network-artifacts/Org1MSPanchors.tx -channelID=$CHANNEL_NAME -asOrg Org1MSP

Run fabric network with indigo fabricstore

Start network and fabricstore

./start.sh

Stop network and fabricstore

./stop.sh

About

Test fabric network for indigo framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages