Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
XOR-URLs: resolvable XOR-name based URLs #281
Proposal for having a resolver function in the SAFE app client API that allows us to have standardised
For an overview of the proposal, and foresight about its potential, this screencast video explores some ideas around it with a working proof of concept.
If we are going for XOR uri's would you think this would be useful: Ppl might want to type in the uri's themselves. It's pretty diff to remember the entire 32 byte representation. However 4 or 6 bytes could be easily be remembered. So could CID take only 6 bytes for e.g. and try and fetch data ? Ofc Network needs to support this and the get query might fail if there are multiple matches. So as long as there is no ambiguity and the given length of prefix uniquely identifies a group (e.g. if section prefix length is <= that) and data in that group then the resolution by the network is successful and data is returned, much like git commit hashes where you need to type until uniqueness achieved and it's usually achieved pretty soon.
Maybe that'll require a diff RFC if useful to have it but just something of a brain dump right now.