HiP0 on Nostr: For me I created a simple script to bundle the relays, so I have just one ...
For me I created a simple script to bundle the relays, so I have just one relay/websocket which collects data from relays and proxies it to the client.
The requested relays are provided as params like wss://my.ip:8080?relay.nostr.ch&relay.snort.social&nos.lol&relay.damus.io
Very effective because the client needs to handle just this one connection.
Prototype:
https://tsplay.dev/WG2k2mPublished at
2023-02-08 13:21:52Event JSON
{
"id": "895d59a88be7ef76ea9c77d9dbb5f21a4234a5d26ae200916e01518d40017399",
"pubkey": "e7e08099a1ed997fbf0620da3dc57d88d66c97b06130cfb97d40fbf6813d43a0",
"created_at": 1675862512,
"kind": 1,
"tags": [
[
"e",
"09c108193f0a839b7f7c27490c558876f3f18d02fe407fc03dbb1b4c96acecc9"
],
[
"p",
"50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63"
]
],
"content": "For me I created a simple script to bundle the relays, so I have just one relay/websocket which collects data from relays and proxies it to the client. \n\nThe requested relays are provided as params like wss://my.ip:8080?relay.nostr.ch\u0026relay.snort.social\u0026nos.lol\u0026relay.damus.io\n\nVery effective because the client needs to handle just this one connection.\n\nPrototype: https://tsplay.dev/WG2k2m",
"sig": "ab39ababfb834e08f90bf063859f67a594bfec4c2b60f672787fd77f082470c4cf166a8a105c7a63b00c956486d588e95e77de2a5c7680f6a60d1dea3f496002"
}