hyperledger / hyperledger/fabric-samples
Debug remote chaincode-as-a-service using a reverse proxy to localhost
- Dominant language
- Go
- Stars
- 3k
- Forks
- 3.5k
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 6
Description
Identify and document a technique for running chaincode on a remote "cloud," but connected to a process running in a local debugger.
The general idea here is to run a reverse proxy to tunnel gRPC traffic "from" a peer "to" a chaincode endpoint running locally in a debugger. When the peer connects to chaincode, the connection will be relayed back to a port opened on the user's local workstation.

It is worth testing this pattern directly with [ngrok.com](https://ngrok.com) as well as looking into deploying a proxy, router, and ingress/port-forward.
Contributor guide
Assessment
This issue has not been assessed yet.