I looked into a few options and NDK stood out as the simplest and best built. It is really tough to spot any issues.

I had to go through some nips and work out the exact tag symbols to use, which I think could be avoided. Also, I couldn't catch and handle the rate-limit exception from outside the library code.

Reply to this note

Please Login to reply.

Discussion

We’re you using fetchEvent or subscribe when you were hitting limits or was it publishing events?

I was connecting to multiple relays and publishing all threads from 2011. Ideally, I would want the rate limit to be abstracted out so that publishing blocks until it has actually been published to 'k' out of 'n' relays.

Did you publish the code somewhere?

Wrt the first part; I’m about to launch an ndk-kinds library that makes dealing with NIPs transparent.

I’ve been writing it and makes dealing with NIP peculiarities very nice and intuitive