bee-dashboard icon indicating copy to clipboard operation
bee-dashboard copied to clipboard

RPC endpoint should be retrieved from Bee

Open AuHau opened this issue 3 years ago • 2 comments

With storing RPC endpoint to a local store (and maybe some other configuration? not sure) and Bee config, there can be a discrepancy between these two when different instance of Swarm Desktop is used. I would suggest then to retrieve it from Bee config instead.

AuHau avatar Sep 11 '22 06:09 AuHau

This should be optional with the ability to override the RPC. When compiling bee-dashboard separately for use outside of swarm-desktop, there may very well be the event where the bee node is running using an RPC that is only accessible from the bee node's context (such as operating within a docker network, where the user's browser is therefore unable to access the nominated RPC if they use one that is returned from the bee node).

mfw78 avatar Sep 12 '22 03:09 mfw78

Yeah agree and thanks for reminding it. This issue is scoped to Desktop 😉

AuHau avatar Sep 12 '22 05:09 AuHau