NDK is a nostr development kit that aims to make the experience of building Nostr-related applications, whether they are relays, clients, or anything in between, better, more reliable and overall nicer to work with than existing solutions.
"I just hit the big red PUBLISH button on NDK 2.4," announced @PABLOF7z.
"Nostr is a, mostly, friendly environment with not too many developers and no ill-intent among them. But this will not always be the case. Compatibility issues, mistakes, and all kinds of chaos is to be expected."
"This version of NDK introduces validation at the library-level so that clients built using NDK can rely on some guarantees on handled-kinds that events they are consuming comply with what is defined on their respective NIPs."
"An example? NIP-88, recurring subscriptions, defines that Tier events should have amount tags of what subscribers are expected to pay and the cadence. Prior to NDK 2.4 some malformed events would render like this."
"But with NDK 2.4 the malformed parts of the events don't reach the client code."
"This is just a beginning, but event-validation is now moving into the library!"