RandyMcMillan - Overview
NIP5: Mapping Nostr keys to DNS-based internet identifiers
Buy a domain
Setup Domain DNS records to point to GitHub Pages:
| Type | Host | Answer | TTL | Priority |
|---|---|---|---|---|
| A | randymcmillan.net | 185.199.108.153 | 3600 | |
| A | randymcmillan.net | 185.199.109.153 | 3600 | |
| A | randymcmillan.net | 185.199.110.153 | 3600 | |
| A | randymcmillan.net | 185.199.111.153 | 3600 |
$ dig randymcmillan.net
Create a new github repo github.com/new
Create a new file your-repo/.well-known/nostr.json
Edit nostr.json to reflect YOUR pub key and desired nickname this content:
{
"names": {
"randymcmillan": "e88a691e98d9987c964521dff60025f60700378a4879180dcbbb4a5027850411"
}
}Create a new file in the root folder _config.yml and add this line
Navigate to: https://github.com/RandyMcMillan/randymcmillan/settings/pages
Under "Build and deployment" select "Deploy from branch" then below select "Main/Master" branch
Under "Custom domain" type your naked randymcmillan.net (github might complain, ignore)
Below it, check Enforce HTTPS. Sometimes this may take a few minutes to be available.
Then head over branle.netlify.app/settings or astral.ninja/settings (using an extension like Alby or nos2x) edit the NIP-05 Indentifier field to reflect "randymcmillan@randymcmillan.net" and press Save you are all set now, enjoy the vanity address.
