relay: add new relays and temp disable relay.damus.io

relay.damus.io seems to be down, added a few alternatives.
OFF0 2 years ago
parent f26cb737a4
commit c88dfa03b9
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -5,8 +5,11 @@ import {dateTime, formatTime} from './timeutil.js';
const pool = relayPool();
pool.addRelay('wss://relay.nostr.info', {read: true, write: true});
pool.addRelay('wss://relay.damus.io', {read: true, write: true});
pool.addRelay('wss://nostr.openchain.fr', {read: true, write: true});
// pool.addRelay('wss://relay.damus.io', {read: true, write: true});
pool.addRelay('wss://nostr-relay.wlvs.space', {read: true, write: true});
pool.addRelay('wss://relay.nostr.ch', {read: true, write: true});
pool.addRelay('wss://nostr.sandwich.farm', {read: true, write: true});
function onEvent(evt, relay) {
switch (evt.kind) {

Loading…
Cancel
Save