Skip to content

How to add a Relay to nostrwatch

Sandwich edited this page Nov 13, 2023 · 3 revisions

Since February 2023, nostr.watch has been discovering relays automatically, and it has not been necessary to add relays to the relays.yaml. The relays.yaml is a seed list of relays to assist in the organic discovery of new relays. Contributions to the relays.yaml list was still allowed to help build a seed list of relays from verified github accounts. However, the seed list moving forward will be periodically generated based on a number of factors, and will no longer allow contibutes from 0.3.0 forward.

To add relays to nostr.watch, you need to do one of the following:

  1. Suggested: Add your new relay to your relays list, event kind 10002 (NIP-65)
  2. Add your new relay to your legacy contact list, event kind 3 (NIP-02).

You will also need to make sure you have a relay on your NIP-2 or NIP-65 list that is known and reachable by nostr.watch, so that your list can be easily found.

Adding a relay to you relay list can be done in most nostr clients. Most clients utilize the modern NIP-65 solution, but some have not upgraded and still use NIP-02.

Within 30 minutes of your relay being added to the relay list and published to a known and accessible relay, your relay will be propagated throughout the stack and reflected on nostr.watch.

Clone this wiki locally