Agoric / ui-kit

Components and tools for building graphical UIs
https://ui-kit-dwm.pages.dev/
Apache License 2.0
3 stars 3 forks source link

pass network access explicitly #79

Open dckc opened 5 months ago

dckc commented 5 months ago

What is the Problem Being Solved?

Parameters such as RPC addresses and LDC/API addresses are passed around as strings and then combined with ambient access to fetch. This is like passing around integers and then casting them to pointers.

Description of the Design

IOU a bit more detail

see https://github.com/agoric-labs/ag-power-tools/tree/dc-launchpad-ui (currently 5f49c5c) and httpClient.js from endo playground

Security Considerations

makes code easier to reason about locally

Scaling Considerations

Test Plan

facilitates passing alternative network access, such as record / playback: test-interpose-net-access.js