nprofiles > npubs

Reply to this note

Please Login to reply.

Discussion

What is that?

It‘s an ID that contains the npub (user id) + a number of relays where to find the npub

Yes

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?

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.

🦻