Skip to content

relay list returns wrong format #35

Open
@Giszmo

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions