#Nostr101
"npub" is your public key. It never changes.
"nprofile" has both your public key and your current home relay. It changes as your outbox relay list changes.
When you are sharing your user, prefer to share it as an nprofile since the receiving user / app can quickly figure out where to get more information from the user.
If the receiving app only has the npub, it has to search for a relay that has the user. If the receiver is using the same relays as the sender, that's easy. But if the receiver is on a separate relay set, then it's likely the receiver will never load the user.
Outbox model fixes this but it requires you to share the nprofile, not just the npub.
Login to reply
Replies (10)
Thank you for the info!
Well this is new to me
#Nostr101
"npub" is your public key. It never changes.
"nprofile" has both your public key and your current home relay. It changes as your outbox relay list changes.
When you are sharing your user, prefer to share it as an nprofile since the receiving user / app can quickly figure out where to get more information from the user.
If the receiving app only has the npub, it has to search for a relay that has the user. If the receiver is using the same relays as the sender, that's easy. But if the receiver is on a separate relay set, then it's likely the receiver will never load the user.
Outbox model fixes this but it requires you to share the nprofile, not just the npub.
View quoted note →
clients must prefer share nprofile than npub
Where can I get my nprofile on #Amethyst?
If you go to your profile screen and tap the 3 vertical dots in the upper right hand corner, you'll see a "share" option. That shares your nprofile link.
OK, I see I can extract it from the njump.me link. Thanks!
No. You can download those things from the relay.
If 90% of the time users just share QR codes, do they even have to know?
In amethyst you can get the nprofile by clicking "share" on the user profile and removing the Njump address.
Good advice, thank you!