-
2024-09-23 10:27:24
If you have your own domain and optionally run a node, then you can consolidate your email address, NIP-05 and Lightning address to yourname@yourdomain
Here’s how to do it.
First NIP-05
Want your NIP-5 to be: yourname@yourdomain
Copy this nostr.json file from here:
https://mikehardcastle.com/.well-known/nostr.json
Replace the "mike" with your own name.
Replace the string to the right with the hex of your npub.
You can obtain the hex of your npub here:
https://nostrcheck.me/converter/
Also replace the string at the top of the relay list with your hex npub.
Then replace the relays at the bottom with your primary relays (just 3 or 4 primary relays are needed).
Be careful not to change commas, quotes, brackets etc....
Upload the "nostr.json" file to your web server, making sure it is in the directory:
/.well-known
at the root of your HTML content
Then your NIP-05 will be:
yourname@yourdomain
Lightning Address, optionally routing to your own node:
If you have your own domain, have an Alby account and want your Lightning payment address to be yourname@yourdomain then follow this guide:
https://guides.getalby.com/user-guide/v/alby-account-and-browser-extension/alby-account/use-your-lightning-address/own-domain
If you run your own lightning node, or have always wanted to self sovereign your own Sats, then follow this guide:
https://guides.getalby.com/user-guide/v/alby-account-and-browser-extension/alby-hub/getting-started
If you run an Umbrel or Start9, you can run Alby Hub directly from your node:
https://guides.getalby.com/user-guide/v/alby-account-and-browser-extension/alby-hub/alby-hub-flavors/umbrel-start9-etc