Why Nostr? What is Njump?
2025-04-11 15:12:38
in reply to

Danny Morabito on Nostr: Once the notes are in your relay you write apps just like for the public nostr, just ...

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.
Author Public Key
npub1ven4zk8xxw873876gx8y9g9l9fazkye9qnwnglcptgvfwxmygscqsxddfh