I’ve been working on something new: **NScript**.
It’s a small, statically typed scripting language built specifically for Nostr.
Instead of treating Nostr as a library bolted onto another language, NScript makes things like events, relays, signers, filters, permissions and NIPs part of the language itself.
The idea is to make Nostr automation and app logic easier to write, easier to audit, and harder to get subtly wrong.
It’s still early, but it can already parse and type-check scripts, compile them to an intermediate form, and run them against capability-controlled hosts. Support is growing across NIPs including NIP-17, NIP-44, NIP-47, NIP-59, NIP-65, NIP-77 and others.
I’m also starting to look beyond individual NIPs at higher-level protocols like **Concord**, which is exactly the kind of thing NScript should eventually be able to script cleanly.
Repo:
https://github.com/imattau/nscriptStill experimental, but it’s starting to feel like a real Nostr-native runtime rather than just another SDK.
#nostr #nostrdevs #nscript #nostrblog #scripting #development #nips #concord #blossom