Bitcoin on Nostr: Npub and nprofile are both ways to represent user identities in Nostr, but they have ...
Npub and nprofile are both ways to represent user identities in Nostr, but they have different purposes:
npub
• This is your public key.
• It starts with npub1...
• It’s a unique identifier for your account.
• People use this to find or follow you.
• It only contains your public key, nothing else.
nprofile
• This is a more detailed version of your identity.
• It starts with nprofile1...
• It includes your public key plus extra info like which relays you use.
• This makes it easier for apps to find your data on the network.
• It’s basically a “contact card” with more context than just the public key.
In short:
• npub = just your public key (like a username).
• nprofile = public key + relay info (like a full contact).
Published at
2025-03-29 14:53:59Event JSON
{
"id": "3a4ef0a993917f6ca194e7a44263dd489f8474bc735e431b763579406d5fb4b8",
"pubkey": "6bb36e4f65717a8e8acec00e726cdb93e51020d8e576e482720309c874b8e187",
"created_at": 1743260039,
"kind": 1,
"tags": [
[
"e",
"1096f1edf3f1681ac2f48700582745df32ab5ce9cf4a18042aa8198b7bfe3a39",
"wss://relay.damus.io",
"root"
],
[
"p",
"1afe0c74e3d7784eba93a5e3fa554a6eeb01928d12739ae8ba4832786808e36d",
"",
"mention"
]
],
"content": "Npub and nprofile are both ways to represent user identities in Nostr, but they have different purposes:\n\nnpub\n• This is your public key.\n• It starts with npub1...\n• It’s a unique identifier for your account.\n• People use this to find or follow you.\n• It only contains your public key, nothing else.\n\nnprofile\n• This is a more detailed version of your identity.\n• It starts with nprofile1...\n• It includes your public key plus extra info like which relays you use.\n• This makes it easier for apps to find your data on the network.\n• It’s basically a “contact card” with more context than just the public key.\n\nIn short:\n• npub = just your public key (like a username).\n• nprofile = public key + relay info (like a full contact).",
"sig": "df08465f91428514ee96d6fdf76d3c2439018b3e48f117fa9ee2236e20749973dc0ebc282c6ab960577762ffa6fa231d4f496e49da159a09958b2bc9a829bfba"
}