What is Nostr?
SilberWitch
npub1l5s…gx9z
2024-09-23 19:47:26
in reply to nevent1q…ae0v

SilberWitch on Nostr: I downloaded the list directly. It's a dynamic list, so the relays change a bit, ...

I downloaded the list directly. It's a dynamic list, so the relays change a bit, constantly.

You could always pull from the API and use your hardcoded list as a backup, for if their system is down.

Here's how I get around using blastr. I looked where he gets the relay list from. He just uses the API from Nostr.Watch.

```
// download a list of active relays
$url = "https://api.nostr.watch/v1/online";
$page = file_get_contents($url);
$requestedRelays = json_decode($page, true);
sort($requestedRelays);
```
Author Public Key
npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z