Last active
September 17, 2018 08:01
-
-
Save rockon1985/ff19406bc860514d93784eb5a74ca6ad to your computer and use it in GitHub Desktop.
Intantiate chaincode
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
| # Instantiate the chaincode | |
| peer chaincode instantiate -o orderer-example-com:7050 --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example-com/tlsca.example-com-cert.pem -C buyer1seller1channel1 -n mycc2 -l node -v 2.0 -c '{"Args":["init","key", "test value"]}' -P "AND ('BuyerOneMSP.peer','SellerOneMSP.peer')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment