@ -6,12 +6,16 @@ import {dateTime, formatTime} from './timeutil.js';
// 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.nostr.info', {read: true, write: true});
// pool.addRelay('wss://relay.damus.io', {read: true, write: true});
// pool.addRelay('wss://relay.snort.social', {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://relay.damus.io' , { read : true , write : true } ) ;
pool . addRelay ( 'wss://relay.snort.social' , { read : true , write : true } ) ;
pool . addRelay ( 'wss://eden.nostr.land' , { read : true , write : true } ) ;
pool . addRelay ( 'wss://relay.nostr.ch' , { read : true , write : true } ) ;
pool . addRelay ( 'wss://nostr.einundzwanzig.space' , { read : true , write : true } ) ;
pool . addRelay ( 'wss://relay.nostrich.de' , { read : true , write : true } ) ;
pool . addRelay ( 'wss://nostr.cercatrova.me' , { read : true , write : true } ) ;
function onEvent ( evt , relay ) {
switch ( evt . kind ) {