How to serve NIP-05 identities
Starting from version 1.1, nostr-relay
can optionally serve identities from /.well-known/nostr.json
To add identities:
nostr-relay adduser -i username@domain -p <pubkey> -r wss://relayaddress.foo -r wss://secondrelay.bar
(Relays are optional)
To delete an entry, leave out the -p
option
Domain must match the domain that the relay serves from. A relay can serve multiple domains and have multiple separate NIP-05 identifiers.