What is Nostr?
jb55 / Will
npub1xts…kk5s
2023-02-10 16:14:52
in reply to nevent1q…q05c

jb55 on Nostr: Relay authors: I'm using limitation.payment_required to check to see if a relay is a ...

Relay authors: I'm using limitation.payment_required to check to see if a relay is a paid relay. Make sure this is set or else your relay will be filtered from global by default on next damus release.

```
{
"name": "nostr-relay-dev.wlvs.space",
"description": "A nostr relay written in Typescript.",
"pubkey": "00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
"contact": "operator@your-domain.com",
"supported_nips": [
1,
2,
4,
9,
11,
12,
15,
16,
20,
22,
26,
28,
33,
40
],
"software": "git+https://github.com/Cameri/nostream.git",
"version": "1.19.0",
"limitation": {
"max_message_length": 131072,
"max_subscriptions": 10,
"max_filters": 10,
"max_limit": 5000,
"max_subid_length": 256,
"min_prefix": 4,
"max_event_tags": 2500,
"max_content_length": 102400,
"min_pow_difficulty": 0,
"auth_required": false,
"payment_required": true
},
"payments_url": "https://nostr-relay-dev.wlvs.space/invoices",
"fees": {
"admission": [
{
"amount": 100000,
"unit": "msats"
}
],
"publication": []
}
}
```

#[0]
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s