Create REST API for chaincode written in Go
#1
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?
Reply
#2
Have a look at the balance-transfer sample.
https://github.com/hyperledger/fabric-samples

It uses Node and Express.
Regards,

Block McChainy
Reply
#3
(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.
Reply
#4
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
Reply