This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
IPNS/DNSLink as ID #60
Winterhuman
started this conversation in
Ideas
Replies: 1 comment
-
@LynHyper this is an interesting idea, I've used DNSLink before in another project and I think you're right this could work here too. I'll add this to my list of ideas for upcoming releases and see how much work this would be to implement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IPNS + DNSLink as Hyprspace IDs
Intro
Currently, connecting to Hyprspace nodes requires writing out the PeerIDs like so...
PEER A
PEER B
This is tedious, but, also hard to avoid. The PeerID is derived from the private key, which is important to how IPFS even works, so we can't just derive a PeerID from a memorable string similar to how
discovery_key
worked.So, what could we do to avoid typing out the PeerID?
DNSLink
Pointing DNSLink to each node's PeerID is one possible solution, a TXT record pointing to
/ipns/PeerID
can be created which IPFS nodes can resolve (how Hyprspace should go about integrating DNS resolution is unknown to me), using DNSLink should mean this won't add any significant delay to discovery times. It'd look something like this:PEER A
PEER B
Advantages
Disadvantages
Beta Was this translation helpful? Give feedback.
All reactions