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

-2
View File
@@ -1,6 +1,5 @@
import { useSeoMeta } from '@unhead/react';
import { DMMessagingInterface } from '@/components/dm/DMMessagingInterface';
import { RelaySelector } from '@/components/RelaySelector';
const Messages = () => {
useSeoMeta({
@@ -14,7 +13,6 @@ const Messages = () => {
{/* Header */}
<div className="flex items-center justify-between mb-4">
<h1 className="text-2xl font-semibold">Messages</h1>
<RelaySelector />
</div>
<DMMessagingInterface className="flex-1" />