Replies (6)

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.
Default avatar
regenera 1 year ago
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?