-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
I'm trying to set my golang chaincode to local network of two organizations.
I do:
export CHANNEL=mychannel
export CHAINCODE_HOME=/home/user1/go/src/contract/
export CHAINCODE_INSTALL_ARGS='m 1.0 mycontract golang'
export CHAINCODE_INSTANTIATE_ARGS="mychannel m [\"init\",\"a\",\"10\"] 1.0 collections.json AND('a.member','b.member')"
./network-create-local.sh a b
My chaincode is installed, but script "chaincode-instantiate.sh" give me error:
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `container-scripts/network/chaincode-instantiate.sh mychannel m '{"Args":["a","10"]}' 1.0 collections.json AND('a.member','b.member')'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels