Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fabric-samples -- balance transfer logic error #1908

Open
Kamaleswarim-hexaware opened this issue Nov 26, 2018 · 0 comments
Open

fabric-samples -- balance transfer logic error #1908

Kamaleswarim-hexaware opened this issue Nov 26, 2018 · 0 comments

Comments

@Kamaleswarim-hexaware
Copy link

installchaincodeerror

Not able to install the chaincode using CURL cmd...

curl -s -X POST
http://localhost:4000/chaincodes
-H "authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NDMyNjQ4NTcsInVzZXJuYW1lIjoiQWRtaW4iLCJvcmdOYW1lIjoiT3JnMSIsImlhdCI6MTU0MzIyODg1N30.ZcYQnNFXgK7HRLjs-SZphq8ctCYEQAeaXcFNMho62yQ"
-H "content-type: application/json"
-d '{
"peers": ["peer0.org1.example.com","peer1.org1.example.com"],
"chaincodeName":"mycc",
"chaincodePath":"github.com/example_cc/go",
"chaincodeType": "golang",
"chaincodeVersion":"v0"
}'

When I try to execute the balancetransfer example in fabric samples... Getting the error above...

Kindly help us in fixing it..........

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant