Clear every stored relay list.
Drop a single author's stored relay list. Returns true if one existed.
Get the stored relay list for an author, or undefined if none seen.
Author hex public key
Whether a relay list has been stored for pubkey.
Parse and store a kind-10002 event under its own pubkey. Overwrites any
previously stored list for that author (kind-10002 is replaceable).
A kind-10002 relay-list event
The parsed entries that were stored
Resolve write (outbox) relay URLs across the given authors, de-duplicated.
Authors with no stored list contribute nothing. Empty input or all-unknown
authors yield [].
Author hex public keys
De-duplicated outbox relay URLs in first-seen order
Resolve read (inbox) relay URLs across the given authors, de-duplicated.
Author hex public keys
De-duplicated inbox relay URLs in first-seen order
Store an already-parsed relay list for an explicit pubkey. Use when you parsed elsewhere or want to seed the registry without an event object.
Author hex public key
Parsed relay entries
A closure-scoped registry of parsed NIP-65 relay lists keyed by author pubkey. Returned by createNip65Registry. Each registry owns its own
Map— two registries never share state (unlike a module-globals pattern).Example