Created
September 17, 2018 07:58
-
-
Save rockon1985/3b2a8aaab4925bf5bdfcd53f592e99ef to your computer and use it in GitHub Desktop.
Join channel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update the environment variable for Peer0 | |
| export CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/buyerone-example-com/users/Admin@buyerone-example-com/msp | |
| export CORE_PEER_LOCALMSPID="BuyerOneMSP" | |
| export CORE_PEER_ADDRESS=peer0-buyerone-example-com:7051 | |
| export CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/buyerone-example-com/peers/peer0-buyerone-geoverse-com/tls/ca.crt | |
| # Install the chaincode for Peer0 | |
| peer chaincode install -n mycc2 -v 2.0 -l node -p /opt/gopath/src/github.com/chaincode/default_chaincode/node/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment