reuse relayprovider

This commit is contained in:
Ren Amamiya
2023-04-29 10:25:40 +07:00
parent be8b40c86d
commit 3f06193c59
27 changed files with 151 additions and 156 deletions

View File

@@ -15,18 +15,12 @@ export const METADATA_SERVICE = 'https://us.rbr.bio';
export const READONLY_RELAYS = ['wss://welcome.nostr.wine', 'wss://relay.nostr.band'];
// write-only relay list
export const WRITEONLY_RELAYS = ['wss://nostr.mutinywallet.com', 'wss://relay.nostr.band'];
export const WRITEONLY_RELAYS = ['wss://nostr.mutinywallet.com', 'wss://relay.nostr.band', 'wss://relay.damus.io'];
// full-relay list, used for inital page and chat/channel messages loading
export const FULL_RELAYS = [
'wss://welcome.nostr.wine',
'wss://relay.nostr.band',
'wss://nostr.mutinywallet.com',
'wss://relay.damus.io',
'wss://nos.lol',
'wss://nostr.mom',
'wss://relay.plebstr.com',
'wss://nostr-pub.wellorder.net',
'wss://nostr.zebedee.cloud',
'wss://nostr.fmt.wiz.biz',
'wss://relay.snort.social',
'wss://offchain.pub',
'wss://relay.current.fyi',
];