Fun project I was working on awhile back: I compiled my C game engine to wasm and executed it with my hand-written C wasm interpreter. My idea was to build a “metaverse” client where people could render their own worlds by pulling down a wasm binary from the web. Maybe a future #damuslabs nostr project 🤔
Discussion
This same wasm interpreter is used in damus to execute the zap nostrscript! Seemingly odd side projects can make themselves useful in other ways!
I remember you talking about it back in the day, but I may have missed the official announcement and explanation. What exactly is nostrscript and how can we write our own?
well nostrscript in its current form doesn’t do anything except set bool flags, but once I have nostrdb fully integrated in damus, nostrscript will be able to query the local relay for building custom lists, algos, filtering, etc