-
Notifications
You must be signed in to change notification settings - Fork 149
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
URI Scheme #67
Comments
My proposal would be to continue using colons as we have so far to index different CAIPs
This we could then extended it more easily for new standards but still have more efficient parsing |
linking this discussion mentioned in the call: ipfs/kubo#1678 caip://2/eip155:1 ^^^ scheme ^ authority (CAIP number) ^^^^^^^^ path (CAIP content) this might be less correct AFAIR (need to read up on this again - very long ago since I digged into this) - but more tooling sees things like this as an actual URL and sees caip as a scheme one can associate to. |
@ligi A CAIP number is not an 'authority' in the RFC 3986 meaning of the word:
I'd strongly suggest not trying to make this an 'authority' for cargo cult reasons (eg, people are familiar with the It seems to me that the simplest and most sensible scheme would be to specify that the first part of the path is drawn from a registry maintained by the CAIP maintainers, and can include |
I agree that these would not qualify as URLs but only as URIs or URNs I would keep it simple by just concatenating with colons to index standards
|
I think it makes more sense for CAIPs to maintain a registry rather than try and make the standard number part of the URI. Email URIs are |
more something like that? |
While it'd be nice to have a URI scheme for each CAIP, it's probably more realistic to be something like |
We don't have that many types of CAIP. The most important one are |
It should be easy to maintain a registry, then! |
I think still using the "/" slash symbol here can cause compatibility issues when using e.g. CAIP-19 within an URL. See #81. |
I agree |
I don't find the human-readability argument convincing. It'd be much clearer to my developer brain if we'd indeed start HTTP URLs with rfc2616 as then I'd exactly know where to look for a manual or protocol description. Besides, it's not entirely clear where to look for the the mapping of scheme to RFC. But I'd like to highlight another thing: For long ERC721 stood for NFTs, though now there seems to also be a ERC1155. So wouldn't registering a naming in a registry cause problems suddenly? Who'd decide what is the real "NFT"? In today's case too: I can't overrule what's considered an email and I like naming it by standards as there's a clear and permissionless way of reserving a name: Write a standard, get allocated a ascending integer, name your URIs. |
As I'm wanting to start using CAIP-22 to address erc721's as compliant IANA URIs I was wondering what are the necessary steps towards registration with IANA. Does anyone know? |
@TimDaub This is IANA URI scheme registry: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
RFC7595, section 7.2: https://www.rfc-editor.org/rfc/rfc7595.html#section-7.2 |
@TimDaub @romeo4934 @Arachnid Is there still interesting in registering this? Should I start working on it this month? |
feel free to move ahead without me |
As discussed on CASA Meeting 2 we are going to register on IANA our own URI scheme under a single scheme
caip:
which will then be described under our standard to identify how to part different identifiersIn order to register on IANA we need to include the following
I propose that we create a CAIP standard for describing all of these which can then be linked on IANA as a Reference
The text was updated successfully, but these errors were encountered: