SDK clients that require supporting communication via browser need to a way to get the gRPC web proxy endpoints. We have HIP-1046 that will be implemented in the future, but in the near term we need a solution for private networks who may want to use the SDK to build browser based applications.
Solution
For this solution, files 101/102 should be updated with the gRPC web proxy domain names either at genesis or through a file update transaction. This information will be sent to the mirror node and made accessible via the mirror node address book API. SDKs can then programmatically retrieve the gRPC web proxies from the respective network they connect to using this API.
Problem
SDK clients that require supporting communication via browser need to a way to get the gRPC web proxy endpoints. We have HIP-1046 that will be implemented in the future, but in the near term we need a solution for private networks who may want to use the SDK to build browser based applications.
Solution
For this solution, files 101/102 should be updated with the gRPC web proxy domain names either at genesis or through a file update transaction. This information will be sent to the mirror node and made accessible via the mirror node address book API. SDKs can then programmatically retrieve the gRPC web proxies from the respective network they connect to using this API.
Alternatives
No response