Any query that works on nostr, for open, non encrypted data, will work on Eve for your Closed Community Networks' specific content, no matter how complex the query, if it can be done on public nostr relays, it can be done on your private Eve Relay (and there will also be more complex queries supported in the future, such as negative queries).
Once the notes are in your relay you write apps just like for the public nostr, just only querying that relay. A kind 1 client, will just query:
{ kinds: [1] }
and the relay will handle the rest.
For example take a look at the code for the topic view in the forum
https://git.arx-ccn.com/Arx/Eve/src/branch/master/src/routes/Arbor/TopicView.ts
There's nothing in the code that deals with encryption, there's a complete separation of concerns.
```
this.subscription = ndk
.subscribe({
kinds: [893 as NDKKind],
'#E': [this.topicId],
});
```
The client doesn't know how the encryption works, it all happens automagically; the relay manages everything.
Discussion
No replies yet.