diff --git a/src/main.js b/src/main.js index e42245c..5d5baf9 100644 --- a/src/main.js +++ b/src/main.js @@ -1,11 +1,12 @@ import {relayPool, generatePrivateKey, getPublicKey, signEvent} from 'nostr-tools'; import {elem, parseTextContent} from './domutil.js'; import {dateTime, formatTime} from './timeutil.js'; -// curl -H 'accept: application/nostr+json' https://nostr.x1ddos.ch +// curl -H 'accept: application/nostr+json' https://relay.nostr.ch/ 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.x1ddos.ch', {read: true, write: true}); +pool.addRelay('wss://relay.nostr.ch', {read: true, write: true}); // pool.addRelay('wss://nostr.openchain.fr', {read: true, write: true}); // pool.addRelay('wss://nostr.bitcoiner.social/', {read: true, write: true}); // read only