ChaincodeDevs
Create REST API for chaincode written in Go - Printable Version

+- ChaincodeDevs (https://chaincodedevs.com)
+-- Forum: Hyperledger Fabric (https://chaincodedevs.com/forumdisplay.php?fid=1)
+--- Forum: Help & Support (https://chaincodedevs.com/forumdisplay.php?fid=3)
+--- Thread: Create REST API for chaincode written in Go (/showthread.php?tid=367)



Create REST API for chaincode written in Go - moolkothari - 01-26-2019

Hello guy I have install chiancode written in Go , I can instantiate , invoke the chaincode using CLI, it is working fine, How I can create REST APIs for all the operations I am doing in chiancode, can anybody assist me?


RE: Create REST API for chaincode written in Go - BlockMcChainy - 01-28-2019

Have a look at the balance-transfer sample.
https://github.com/hyperledger/fabric-samples

It uses Node and Express.


RE: Create REST API for chaincode written in Go - moolkothari - 01-28-2019

(01-28-2019, 01:49 PM)BlockMcChainy Wrote: Have a look at the balance-transfer sample.
https://github.com/hyperledger/fabric-samples

It uses Node and Express.
Thanks for this option yes it is working perfect but is there any sample where I can use gprc (using GO) rather than using Node? Anyway thanks for the reply much appericiated.


RE: Create REST API for chaincode written in Go - admin - 01-29-2019

I haven't worked with Go (yet) but I think this may be of use to you: https://github.com/chainHero/resource-manager

https://github.com/topics/fabric-sdk-go


RE: Create REST API for chaincode written in Go - admin - 04-30-2019

test