setRelayList
Publishes a NIP-65 relay list to Nostr, allowing configuration of read, write, or read-write relays with optional private key authentication.
Instructions
Publish a relay list (NIP-65 kind 10002)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| readRelays | No | Relays for reading | |
| writeRelays | No | Relays for writing | |
| readWriteRelays | No | Relays for both read and write | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. | |
| relays | No | Relays to publish the list to |