Nostr NIP-05

Demo · format-valid IANA · provisional

/.well-known/nostr.json

Standard: NIP-05

Nostr's DNS-based identity: map a name@domain to a nostr public key.

What it is

Nostr is a decentralized social protocol with no central registry of identities. NIP-05 lets a domain publish /.well-known/nostr.json mapping names to hex public keys, giving users a human-readable nostr address (name@domain) that clients verify against the domain.

The threat it addresses

Raw nostr pubkeys are unreadable 64-char hex strings with no human meaning. NIP-05 gives verifiable names: the domain attests the mapping, and clients show a verified badge when the file matches.

How it works

  • A user claims name@example.com as their nostr handle.
  • The domain serves /.well-known/nostr.json: {"names": {"name": "<hex pubkey>"}}.
  • Clients fetch it, verify the pubkey matches the events they see, and display the handle.

Honesty notes

  • Demo: maps 'demo' to a placeholder pubkey — real deployments map actual identities.

Try it

Live demo

Format-valid demo mapping (placeholder pubkey)

Content-Type: application/json; charset=utf-8
{
  "names": {
    "demo": "00000000000000000000000000000000000000000000000000000000000000de"
  },
  "relays": {},
  "_demo_note": "Illustrative NIP-05 nostr.json. A real deployment maps chosen names to the hex public keys of actual Nostr identities."
}