Imagine a tool that lets you add a relay. You then setup different settings for that relay i.e default filters, should it get latest events, should it scan for past events? Should it scan for past events once again once all already scanned, should it provide auth by default or by some rule…. And many more

Once you check that relay as active it begins to process all events from this relay. This tool ensures every event will only be processed ones. When processed - it populates internal database with relays found in event (say kind 10002 from nip65, p tags, e tags etc), which by default are inactive but you can make them be active as soon as they added

This tool also lets you monitor reconnects, errors, logs etc #relaynet

Reply to this note

Please Login to reply.

Discussion

So there are basically 2 most important use cases:

1) being able to monitor relays on the network you are interested from zero upto entire network bringing functionality similar to nostr.watch

2) collect and deduplicate events and stream them to destination of your choice, say database of kafka etc

Sounds somewhat interesting but complex. I’m not even sure where I’d start with that 🤔

Is this mainly for advanced users?

Yeah, its complex indeed and I don’t even see yet all the necessary features. Finishing core logic soon and gonna start UI, maybe it would be better for you to think about it once PoC ready

Yeah, thats for advanced companies/services I’d say. The idea is:

1) deploy this service (relaynet) and granularly decide which events from which events you want to save to which destination (all using UI, no code)

2) next create your services that will sort those events somehow (say, AI/ML processing or group by pubkey), thats outside of what I’m doing, at least some code should be developed here

3) when you have different sets of events you want to store on different relays, deploy saltivka relay which will soon have subrelays feature and upload your events to desired once using its API

The easiest example if you want to grab events from 3 relays, split them by languages using AI/ML and deliver to different relays say en.saltivka.org, es.saltivka.org etc