Skip to content

Commit

Permalink
fix: upgrade relay list
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Sep 5, 2024
1 parent 640cf20 commit 7656298
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/state/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ interface Actions {
clearCart(): void;
}

const initialRelays = ["wss://relay.damus.io", "wss://relay.shitforce.one"];
const initialRelays = [
"wss://relay.damus.io",
"wss://relay.primal.net",
"wss://relay.nostr.net"
];

const useStore = create<State & Actions>((set, get) => ({
provider: undefined,
Expand All @@ -33,7 +37,7 @@ const useStore = create<State & Actions>((set, get) => ({
explicitRelayUrls: initialRelays,
autoConnectUserRelays: false,
autoFetchUserMutelist: false,
signer: new NDKPrivateKeySigner(provider.secret),
signer: new NDKPrivateKeySigner(provider.client.secret),
});
ndk.connect();
} else {
Expand Down

0 comments on commit 7656298

Please sign in to comment.