khanhnb / balance-transfer-go Goto Github PK
View Code? Open in Web Editor NEWA sample go app to demonstrate fabric-client & fabric-ca-client go SDK APIs
License: Apache License 2.0
A sample go app to demonstrate fabric-client & fabric-ca-client go SDK APIs
License: Apache License 2.0
When i run main.go file I get this error:
# _/Users/shubham.kumar/Desktop/blockchain/go/src/github.com/balance-transfer-go/utils
utils/block-json-struct.go:88:21: undefined: peer.Event_Block
missing createchannel ,updateAchor installcode and other functions?
curl -s -X POST
http://localhost:4000/channels/mychannel/chaincodes/mycc
-H "authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTQ4NjU1OTEsInVzZXJuYW1lIjoiSmltIiwib3JnTmFtZSI6Im9yZzEiLCJpYXQiOjE0OTQ4NjE5OTF9.yWaJhFDuTvMQRaZIqg20Is5t-JJ_1BP58yrNLOKxtNI"
-H "content-type: application/json"
-d '{
"peers": ["peer0.org2.example.com","peer1.org2.example.com"],
"fcn":"invoke",
"args":["a","b","10"]
}'
i did the steps according to tutorial but the above curl not feet back transaction id and the rest of curl failed too. i did change auth token based on first curl.
i compare balance-transfer-go with balance-transfer-node , find go package lack of install and instantiate chaincode function
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.