Why Nostr? What is Njump?
2025-04-04 18:44:48
in reply to

mleku on Nostr: yeah, the interesting thing is that a lot of what you have done is similar to what ...

yeah, the interesting thing is that a lot of what you have done is similar to what relayer does though you aren't using interfaces where they should be (just reading RelayFunctions right now) if you make those individual methods into individual interfaces you can optionally process with them in the main thread

also i noticed a lot of these methods you have a client type as the first parameter, this is a red flag you should be making the client type as an implementation type of the interface and then you can leave the rest out and you can use those methods anywhere if they are present (relayer does this with auth and several other things)
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku