Nostr (short for "Notes and Other Stuff Transmitted by Relays") is a decentralised, censorship-resistant social network protocol designed for secure and private communication. It enables users to post notes and interact with others without relying on any centralised platform, unlike traditional social media platforms.
NIPs, or Nostr Implementation Possibilities, define the set of specifications or guidelines that clients and relays can follow to ensure the interoperability of all parts. This is the case with NIP-05, which defines an account verification mechanism by mapping Nostr public keys to DNS-based identifiers that resemble an email address.
Unlike the blue check mark on X.com, NIP-05 can be easily implemented by users for free. To get your account NIP-05 verified, you will need the following:
- Nostr public key in hex format
- Domain name that you own and manage (e.g., example.com)
- Nostr account name in an email-like format (e.g., johnnycage@example.com)
- Web server or a place to host a file from the domain name
For the Nostr public key in hexadecimal format, you can use the key converter tool at this link:
5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36
Please note that some clients may not recognise your public key in hex format, and you may need to use your npub key instead.
Create a nostr.json file and paste the following:
{
"names": {
"johnnycage":"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"
}
}
Upload the file to the web server and modify your DNS so your domain example.com is redirected to it. As a result, you should be able to access the file like this:
NIP-05 also defines how to handle CORS issues, since some Javascript based Nostr clients may be restricted by browser CORS policies, it is recommended to configure the web server to respond requests with the following header:
Access-Control-Allow-Origin: *
As a final step, go to your Nostr client and configure your Nostr address for verification. In the case of the Amethyst client, this is done under Profile -> Nostr Address -> johnnycage@example.com. Once validated, a checkmark symbol should appear next to your chosen Nostr address.
Keep in mind that not all nostr clients behave the same, so you will need to adjust these steps based on your client of choice.
For more information about NIP-05, head here: