Skip to content

Commit

Permalink
Add some default Nostr relays
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Dec 16, 2022
1 parent 9adb44c commit 841e2e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
29 changes: 10 additions & 19 deletions angular/src/shared/handlers/nostr-get-relays-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,16 @@ export class NostrGetRelaysHandler implements ActionHandler {

async prepare(state: ActionState): Promise<ActionPrepareResult> {
return {
content: [
'wss://nostr-pub.wellorder.net',
'wss://nostr-relay.untethr.me',
'wss://nostr.semisol.dev',
'wss://nostr-pub.semisol.dev',
'wss://nostr-verified.wellorder.net',
'wss://nostr.drss.io',
'wss://relay.damus.io',
'wss://nostr.openchain.fr',
'wss://nostr.delo.software',
'wss://relay.nostr.info',
'wss://relay.minds.com/nostr/v1/ws',
'wss://nostr.zaprite.io',
'wss://nostr.oxtr.dev',
'wss://nostr.ono.re',
'wss://relay.grunch.dev',
'wss://nostr.sandwich.farm',
'wss://relay.nostr.ch',
],
content: {
'wss://nostr-pub.wellorder.net': { read: true, write: true },
'wss://nostr-verified.wellorder.net': { read: false, write: true },
'wss://nostr.bitcoiner.social': { read: true, write: true },
'wss://nostr.drss.io': { read: true, write: true },
'wss://relay.damus.io': { read: true, write: true },
'wss://relay.nostr.info ': { read: true, write: true },
'wss://relay.minds.com/nostr/v1/ws': { read: false, write: true },
'wss://relay.nostr.ch ': { read: true, write: true },
},
consent: false,
};
}
Expand Down
1 change: 1 addition & 0 deletions angular/src/shared/handlers/nostr-public-key-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { SigningUtilities } from '../identity/signing-utilities';
// https://metadata.nostr.com/
// https://alphaama.com/
// https://nostr-army-knife.netlify.app/
// https://nostr-registry.netlify.app/

export class NostrPublicKeyHandler implements ActionHandler {
action = ['nostr.publickey'];
Expand Down

0 comments on commit 841e2e4

Please sign in to comment.