Replies: 1 comment 1 reply
-
Hi, interesting consideration. So far I think our view has been that a URI scheme is out of scope for iroh. The only thing that you know about two random iroh nodes it that they can connect to each other on the QUIC level. But for an URI scheme you need application-specific semantics, like you need to know which protocol(s) the nodes will be able to speak over that QUIC connection. So URIs are really the application domain. Personally I'd be somewhat careful about using domain names in URLs which you (or we) have no control over like your What I have done in an http3 expriment before was use something like |
Beta Was this translation helpful? Give feedback.
-
Sorry if I missed an existing discussion, but we are planning to encode Iroh connectivity as one of the connectivity options in our application, and since we're doing it, we would rather do it in a way that has a chance of being somewhat standard, and not just entirely ad-hoc.
So I wonder if anyone thought about it and if there's any precedence.
What we consider now is:
etc.
So the actual protocol is still indicated via
scheme
part of the protocol, and the iroh connectivity is indicated by theiroh
TLD, with the domain being a (somehow) encoded public key/id. This is modeled after.onion
services which seem to be in the layer/function architecturally.Does this make sense?
The details to agree on are the encoding of the ID, and the exact TLD, as it would potentially conflict with standard DNS hierarchy.
Beta Was this translation helpful? Give feedback.
All reactions