nprofiles > npubs
Login to reply
Replies (6)
What is that?
Yes
Its not better than the other, they have different use cases, npub is canonical, nprofile will change if relay hints change, and then you need to parse it to get the hex pub.
🦻
It‘s an ID that contains the npub (user id) + a number of relays where to find the npub
Yeah, but nprofiles are much bigger if you are trying to show them as QR codes for example. If you need a compact representation, you may have to drop the relays... Or is there a better way?