Implement NIP-65 relay management

- Replace single relayUrl with NIP-65 compatible relayMetadata structure
- Add RelayListManager component for managing multiple relays with read/write permissions
- Add NostrSync component to automatically sync user's NIP-65 relay list on login
- Update NostrProvider to use relay list instead of single relay
- Remove RelaySelector component and update empty states
- Update AGENTS.md documentation to reflect relay management changes
- Automatically publish relay list changes as NIP-65 events when user is logged in
This commit is contained in:
Alex Gleason committed 2025-11-04 23:58:32 -06:00
1 parent d7dee81b1c
commit 8eddf49e61
13 files changed
+478 -272

No files matched your search

+1 -1
View File
@@ -205,7 +205,7 @@ export function useZaps(
profile: actualTarget.pubkey,
event: event,
amount: zapAmount,
relays: [config.relayUrl],
relays: config.relayMetadata.relays.map(r => r.url),
comment
});