I am using Hyperledger Fabric 1.0 from official docker hub. It
runs local chain code successful, but I want to install remote HTTP chain code, for example from github.com
The command I am using is as follows
peer chaincode install -n devincc -v 1.0 -p https://raw.githubusercontent.com/studyzy/ChainCode/master/chaincode_demo/chaincode_demo.go
peer chaincode install -n devincc -v 1.0 -p https://github.com/studyzy/ChainCode
With both the commands, I get the same error:
Error: Error getting chaincode code chaincode: Error getting chaincode package bytes: Error getting code code does not exist Could not open file open /opt/gopath/src/https:/github.com/studyzy/ChainCode/demo: no such file or directory
How to solve this?