BTCapsule 🏴🧡 on Nostr: If you have your own website, you can set up NIP-05 for free with your own domain. In ...
If you have your own website, you can set up NIP-05 for free with your own domain.
In your files, you should have a folder called:
/.well-known
Create a file and name it:
nostr.json
In the file, type:
{
"names":
{
"your_username":"your_public_key"
}
}
If you’re using Damus, you will have to convert your public key to hex on damus.io/key
Then go to a file called:
.htaccess
and put this at the top:
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "*"
Header set Access-Control-Allow-Methods "GET"
Now head over to a client that allows you to edit your profile (ex. Damus) and in the section that says NIP-05 Indentifier, type your_username@your_domain.extension (ex. btcapsule@btcapsule.com).
That’s it! Now you will have a nice checkmark next to your name.
Published at
2023-02-01 02:30:01Event JSON
{
"id": "5ed7f6af94c07c7648d1de0eafc5a815cfc5f232e652097360d0ace03070af53",
"pubkey": "668ceee55475f595ec0e8ef44c64bf9da8d9dd6008ac54dcd24b2501930b960e",
"created_at": 1675218601,
"kind": 1,
"tags": [
[
"e",
"c4a65a5bccea24553a5dafa520372c4366b0fc34869affed6d83d1b9ed4066af"
],
[
"e",
"a62a58f104acf3659bd4a1fb7953fe4ef372da7452ef82d48616179ecb84d235"
],
[
"p",
"21cae3d84e2a34605941de2be730a2171f5bfe30dec5eab86cc86d370a7fe24b"
]
],
"content": "If you have your own website, you can set up NIP-05 for free with your own domain.\n\nIn your files, you should have a folder called:\n\n/.well-known\n\nCreate a file and name it:\n\nnostr.json\n\nIn the file, type:\n\n{\n \"names\":\n {\n \"your_username\":\"your_public_key\"\n \n }\n}\n\nIf you’re using Damus, you will have to convert your public key to hex on damus.io/key\n\nThen go to a file called:\n\n.htaccess\n\nand put this at the top:\n\nHeader set Access-Control-Allow-Origin \"*\"\n\nHeader set Access-Control-Allow-Headers \"*\"\n\nHeader set Access-Control-Allow-Methods \"GET\"\n\nNow head over to a client that allows you to edit your profile (ex. Damus) and in the section that says NIP-05 Indentifier, type your_username@your_domain.extension (ex. btcapsule@btcapsule.com).\n\nThat’s it! Now you will have a nice checkmark next to your name.",
"sig": "1893c2dfee74f31c1943489850d5ac9850e1c2eeefa1f5325816e8f7a156a967ca7c301b6d88d61346cc73d9a8a09ed420e30d865e45336357f6e3f03588d99e"
}