Skip to content

relay list returns wrong format #35

@Giszmo

Description

@Giszmo

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.

Metadata

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