urbit / NEAR

Public repo for Urbit Labs projects
MIT License
4 stars 3 forks source link

Backend agent for relaying RPC requests to provider ships #15

Open hanfel-dovned opened 7 months ago

hanfel-dovned commented 7 months ago

Backend side of "Updates to the Urbit x BOS stack that replace all RPC calls done via HTTP with an Urbit-native solution"

hanfel-dovned commented 7 months ago

The default way of doing this is for planets to send RPC requests through Ames to their star, which will forward them to their sidecar, and then respond over Ames.

An easier way would be for planets to request the URL of the star's RPC node from the star, and then just submit requests directly to the URL. The downside is that this might be trickier to permission. We want stars to be able to sell RPC access.