nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w I see that you’re behind the zap.army ability to toggle note-zaps in Damus. Thank you for that.

I had a look at the HTML which links to the damus:nostr:nscript1qpshxmgpqq… script. But how does someone read the source code for that nscript itself?

Reply to this note

Please Login to reply.

Discussion

its a compiled wasm blob that calls a single function that sets a boolean value. You can use wasm-objdump to see the function that is imported

We also display the imported functions when you are about to run the script. The imports means these are the functions that are called.