Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relay list returns wrong format #35

Open
Giszmo opened this issue Jan 15, 2024 · 0 comments
Open

relay list returns wrong format #35

Giszmo opened this issue Jan 15, 2024 · 0 comments

Comments

@Giszmo
Copy link
Collaborator

Giszmo commented Jan 15, 2024

This extension confuses for example noStrudel. It returns:

[
    {
        "url": "wss://nostr.wine/"
    },
    {
        "url": "wss://nos.lol/"
    },
    {
        "url": "wss://nostr-pub.wellorder.net/"
    },
    {
        "url": "wss://nostr.mutinywallet.com/"
    },
    {
        "url": "wss://relay.damus.io/"
    },
    {
        "url": "wss://nostr.oxtr.dev/"
    },
    {
        "url": "wss://nostr.bitcoiner.social/"
    },
    {
        "url": "wss://relay.toastr.space/"
    },
    {
        "url": "wss://relay.primal.net/"
    },
    {
        "url": "wss://relay.exit.pub/"
    },
    {
        "url": "wss://nostr.mom/"
    }
]

noStrudel does work however with nos2x-fox which returns for example:

{
  "wss://nostr.wine/": {
    "read": true,
    "write": true
  },
  "wss://nos.lol/": {
    "read": true,
    "write": true
  }
}

nip07 could be improved with an example but I guess nos2x-fox is correct here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant