Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass network access explicitly #79

Open
dckc opened this issue Jan 30, 2024 · 0 comments
Open

pass network access explicitly #79

dckc opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dckc
Copy link
Member

dckc commented Jan 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant