nscript1qpshxmgpqqqqqqgtqfsqxlml0uqh7cqqqqppsqg9dehhxarjpehx7um5wf0hxet5ta3x7mmvqqqqxqspqyzsxqgqqyrs5qgxd4jk6mmj0ypqqzqpqyxqzqs2z5q3xqzp5qyyr8qg9qpqqsgpweqsqyqqrg9skggzqpqcczqtqywqqsvcpq93xqsqqqqqcqqqqphqqmcq0gqxzqrsqpesehczp5

This is a nostrscript. Portable, executable, sandboxed code.

Reply to this note

Please Login to reply.

Discussion

👀(no idea)

What does it do?

Can I get one? Lol and what's it for

nscript2dbweiufobweiufbwieucbwekjcnsdlkvnsdlkvnsdlkvnsdokvneflkvnfslkvnsdlk s DLL23(4487238((8788’ooonbvbbjjikknnbnknjndscinddjkvbsdkckknskjcnskjcnskcmsnkcsnckmshhsuihugugugugugubuhisssssssssssqwwwssxmmnmsssss,,,sssss

how do you execute it

more details soon

🔥

try put .exe behind it

saved lol

It doesn't seem to fit in normal bech32 conversion - at least a few of the online tools I found were unhappy about it's length (something something 90 character limit).

So how did you encode it?

cmoog/bech32

Handy! Thanks :)

That said, it looks like its neither WASM nor anything else. Am I overlooking something?

# hexdump nscript.dat

0000000 feff 0000 0061 0073 006d 0001 0000 0000

paste | bech32 -d | xxd

Is it a Zap button?

When will we be able to play around with these?

jb55 一直在探索我早先对nostr感到最激动的可能性。我觉得这是nostr上最被低估的特性,也是我后面想花最多精力探索的一个地方(可惜我现在被一堆flycat 体验上的活拖着)这个想法是把代码直接存到 relay 上,代码的作者可验证(有哈希有签名,解决分发代码的信任问题)、note的数据格式统一,只要客户端再配合上相同的runtime,就可以运行代码了。看着好像是非常简单的一个idea,但这不比 EVM 智能合约 web3 之流强上一百倍?我们要想想所谓的 web3、smart contract 到底要解决什么问题?就大部分场景(尤其是 web3/社交等等),一个nostr这样的信任保证和relay机制才是正确的选择。而不是p2p/blockchain。 jb55 has been exploring the potential that initially excited me the most about Nostr. I believe it is the most underestimated feature of Nostr and the area where I want to dedicate the most effort in my exploration going forward (unfortunately, I'm currently being occupied with a bunch of activities related to Flycat experiences). The idea is to directly store code on Relay, with the code author being verifiable (using hashes and signatures to address code distribution trust issues), and the note data format being standardized. As long as the client is equipped with the same runtime, the code can be executed. This idea seems to be a very simple one, but isn't it a hundred times more powerful than concepts like EVM, smart contracts, and web3? We need to carefully consider what problems web3 and smart contracts are truly meant to solve. In most scenarios, especially web3/social contexts, a trust guarantee and relay mechanism like Nostr is the right choice, rather than relying on p2p/blockchain.

you should talk with nostr:npub1mygerccwqpzyh9pvp6pv44rskv40zutkfs38t0hqhkvnwlhagp6s3psn5p 🤔he shared same idea at nostrovia with nomad

super cool! let me follow him first and see if we find some chance to talk about this

Or let’s talk about it this Saturday haha

sure!

I had a silly idea like 6 months ago:

A PWA framework that pulls in functions from nostr events.

Functions can call other functions from other events by including the event ID.

Apps can then be composed from events, and maybe even composed dynamically on the fly based on user input or usage patterns.

Each event could have a LUD16 or whatever and the author gets 1 sat or whatever every time it's run.

Is it using javascript or a brand new language?

It can use any language

Than it's going to be impossible to implement and standardize it.

*imho

false

so you going to have dozens of runtimes and compliers?

or are we talking about a binary form?

I think it is just wasm bytecode right now. I would love some standard runtime with predefined nostr stuff on the client side

That sounds interesting! Is it going to use WebAssembly then? What kind of things can we do with a nostrscript?

I am just testing and apparently I can’t see what I qetie

Basically the new Browser

ELI5 kind ser 🙏

Still need to do a writeup

I want to go down that rabbit hole. Now. Any git link?

I realized we can probably dig into the Damus repo since Will said nostrscript is working

nostrscript is just wasm

Documentation: COMPLETE

should i worry about XSS?

👀

Any link to read about how this works?