Guest User

Untitled

a guest
Jul 12th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. # cryptogen generate --config=./crypto-config.yaml
  2.  
  3. # export FABRIC_CFG_PATH=$PWD
  4. # mkdir channel-artifacts
  5. # configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block
  6. # export CHANNEL_NAME=mychannel
  7. # configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID $CHANNEL_NAME
  8. # configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID $CHANNEL_NAME -asOrg Org1MSP
  9. # configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org2MSPanchors.tx -channelID $CHANNEL_NAME -asOrg Org2MSP
  10.  
  11. # orderer start
  12.  
  13. # export set FABRIC_CFG_PATH = ${PWD}
  14. # peer node start >> peerlog.log 2>&1 &
Add Comment
Please, Sign In to add comment