How to install chaincode in new Org in hyperledger fabric?

0 votes
I have created a new organization (org2). Now i want to install chaincode in this that I have already installed in org1. How can I do this?
Nov 22, 2018 in Blockchain by digger
• 27,620 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

To do this, first enter you cli bash:

docker-compose -t cli bash

and then run the following command:

CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/ CORE_PEER_LOCALMSPID="Org2MSP" CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/ peer chaincode install -n mycc -v 1.0 -p
answered Nov 22, 2018 by Omkar
• 66,880 points

Related Questions In Blockchain

+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

answered Jun 13, 2018 in Blockchain by Perry
• 16,450 points
0 votes
1 answer

How to set chaincode path in Hyperledger Fabric?

For chaincode to properly run on your ...READ MORE

answered Jul 27, 2018 in Blockchain by digger
• 27,620 points
+2 votes
3 answers
0 votes
0 answers
0 votes
1 answer
+16 votes
4 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.