How to set chaincode path in Hyperledger Fabric in fabric.sh file

0 votes

i set the path to chaincode in fabric.sh file

docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp" cli peer chaincode install -n fabcar -v 1.0 -p E:\hyperledger-fabric\02.Code\Ex1\fabric-samples\chaincode\fabcar\go

but When I execute it, I get error telling that chaincode path does not exist. How to properly set the chaincode path? plz help me i shall be very thanks full

Mar 23 in Blockchain by Malik

retagged Mar 25 by Omkar 132 views

Hey @Malik!

I think this link will be useful to solve your problem. 

No answer to this question. Be the first to respond.

Your answer

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

Related Questions In Blockchain

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,630 points
489 views
0 votes
0 answers

how to add path of chain code in hyperledger fabric in startfabric.sh

#!/bin/bash # # Copyright IBM Corp All Rights Reserved # # ...READ MORE

Mar 17 in Blockchain by anonymous
142 views
+1 vote
0 answers
+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
• 17,020 points
804 views
0 votes
1 answer

How to define the path to hyperledger-fabric chaincode?

You can find that in docker-compose files ...READ MORE

answered Oct 4, 2018 in Blockchain by Perry
• 17,020 points
213 views
0 votes
1 answer