From c2b7a29d074f352bc0942bd49b5c845bf7e5b137 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Tue, 16 Jun 2026 22:35:09 +0700 Subject: [PATCH] feat: update default relay set to all 5 relays Added auth.nostr1.com and wotr.relatr.xyz back as default relays. All 5 relays are now the default for all new users: - wss://auth.nostr1.com (auth) - wss://wotr.relatr.xyz (web of trust) - wss://relay.ditto.pub (general) - wss://goskatespots.nostr1.com (community - toggleable) - wss://purplepag.es (profiles - read only) Updated across: App.tsx, NostrProvider.tsx, NostrSync.tsx, TestApp.tsx Updated Settings page Default Relays info cards to show all 5 with descriptions. Co-authored-by: shakespeare.diy --- src/App.tsx | 2 ++ src/components/NostrProvider.tsx | 2 ++ src/components/NostrSync.tsx | 2 ++ src/pages/SettingsPage.tsx | 59 +++++++++++++++++++++++++++----- src/test/TestApp.tsx | 2 ++ 5 files changed, 59 insertions(+), 8 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index fc17bd3..96c8cd4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -38,6 +38,8 @@ const defaultConfig: AppConfig = { theme: "dark", relayMetadata: { relays: [ + { url: 'wss://auth.nostr1.com', read: true, write: true }, + { url: 'wss://wotr.relatr.xyz', read: true, write: true }, { url: 'wss://relay.ditto.pub', read: true, write: true }, { url: 'wss://goskatespots.nostr1.com', read: true, write: true }, { url: 'wss://purplepag.es', read: true, write: false }, // Profile aggregator - read only diff --git a/src/components/NostrProvider.tsx b/src/components/NostrProvider.tsx index 5b55c27..f1e1dd3 100644 --- a/src/components/NostrProvider.tsx +++ b/src/components/NostrProvider.tsx @@ -11,6 +11,8 @@ interface NostrProviderProps { // Default fallback relays - used if no relays are configured const DEFAULT_RELAYS = [ + { url: 'wss://auth.nostr1.com', read: true, write: true }, + { url: 'wss://wotr.relatr.xyz', read: true, write: true }, { url: 'wss://relay.ditto.pub', read: true, write: true }, { url: SKATE_RELAY, read: true, write: true }, { url: 'wss://purplepag.es', read: true, write: false }, // Profile aggregator diff --git a/src/components/NostrSync.tsx b/src/components/NostrSync.tsx index b110c50..328a2d2 100644 --- a/src/components/NostrSync.tsx +++ b/src/components/NostrSync.tsx @@ -9,6 +9,8 @@ import { useToast } from '@/hooks/useToast'; // Default relays for new users const NEW_USER_RELAYS = [ + { url: 'wss://auth.nostr1.com', read: true, write: true }, + { url: 'wss://wotr.relatr.xyz', read: true, write: true }, { url: 'wss://relay.ditto.pub', read: true, write: true }, { url: 'wss://goskatespots.nostr1.com', read: true, write: true }, { url: 'wss://purplepag.es', read: true, write: false }, // Profile aggregator diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index 5694916..056a82d 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -364,7 +364,7 @@ function RelaysTab() {
- {/* Primary Relay */} + {/* Community Relay */}
🛹
@@ -374,32 +374,75 @@ function RelaysTab() {

- Your dedicated skateboarding relay with custom policies for spots, events, Lab services (coaches/filmers), and shops. + The dedicated SkateSpots community relay. Custom policies for spots, events, coaches, filmers, and shops. Toggle it on/off above.

- ⚠️ Important: This relay uses an allowlist for trust and spam management. Your npub must be specifically allowed to publish events. DM the relay owner to request access. + ⚠️ Allowlisted: Your npub must be approved to publish here. DM the relay owner to request access.

- {/* Profile Aggregator Relay */} + {/* Auth relay */} +
+
+
🔐
+
+

auth.nostr1.com

+

wss://auth.nostr1.com

+
+
+

+ Authentication relay for Nostr identity verification and NIP-42 auth flows. +

+
+ + {/* WoTR relay */}
🛡️
-

purplepag.es

-

wss://purplepag.es

+

wotr.relatr.xyz

+

wss://wotr.relatr.xyz

- Profile aggregator relay that indexes Nostr profiles from across the network. Used for fast profile lookups and discovery. + Relatr's Web of Trust relay. Powers trust scores and broader Nostr network connectivity. +

+
+ + {/* Ditto relay */} +
+
+
🌐
+
+

relay.ditto.pub

+

wss://relay.ditto.pub

+
+
+

+ General purpose relay with broad Nostr network coverage for maximum reach. +

+
+ + {/* Profile Aggregator */} +
+
+
👤
+
+

purplepag.es

+

wss://purplepag.es

+ Read only +
+
+

+ Profile aggregator that indexes Nostr profiles from across the network. Used for fast profile lookups and discovery.

- Your content publishes to both relays for maximum reliability. If the primary relay rejects your event (not yet on allowlist), the backup relay ensures your content still gets published. + Your content publishes to all write-enabled relays for maximum reliability. You can customise your relay list above using the relay manager.

diff --git a/src/test/TestApp.tsx b/src/test/TestApp.tsx index 8041f46..23f7bae 100644 --- a/src/test/TestApp.tsx +++ b/src/test/TestApp.tsx @@ -25,6 +25,8 @@ export function TestApp({ children }: TestAppProps) { theme: 'dark', relayMetadata: { relays: [ + { url: 'wss://auth.nostr1.com', read: true, write: true }, + { url: 'wss://wotr.relatr.xyz', read: true, write: true }, { url: 'wss://relay.ditto.pub', read: true, write: true }, { url: 'wss://goskatespots.nostr1.com', read: true, write: true }, { url: 'wss://purplepag.es', read: true, write: false },