you wanna be able to deploy new website with UI why not?
like generate whole thing using LLM a-la @websim_ai
and then deploy to NEAR without leaving your browser
that's the plan. NEAR AI to generate JS for use inside the smart contracts, and JS for customizing contracts used by NEAR AI. Who will create the first meme token based on the JsInRust Fungible Token contract? Think of the extra gamification features you could add with JS 😀
That's a good question. I think @salomonsen_p has mentioned an advantage with contract upgrades and cost before -- I'm also wondering what about jsinrust is advantageous for this agent flow specifically
I'm still hacking on the @JSInRust project. Having a JavaScript layer on top of @NEARProtocol smart contracts, makes it possible to add lightweight customizations.
The latest addition is the Fungible Token contract: github.com/petersalomonsen/q…
Just merged some updates for @JSInRust , for running JavaScript inside Rust compiled to WebAssembly smart contracts on NEAR protocol. The test cases show several different use cases. Check it out!
github.com/petersalomonsen/q…
26. @JSInRust allows using standard Rust smart contracts that can be customized using Javascript. There's a Web4 and NFT contract with a Javascript engine inside, so you can add custom behavior using JS.
Thanks for the shout-out, Peter! #CloseNodes would never be what it's about to become without these two technological gems. Everything in it will, as you already know, be launched through JSinRust on Web4 and running completely on-chain on #NEARProtocol.
Would be great to be able to spend more time on evolving this.
Thanks for posting this @elliot_braem, and bringing attention to @web4near and @JSInRust
Also check out the work of @fictionspawn who is one of the early adopters of this tech, for his game @CloseProtocol
There are profound changes happening in the #CloseNodes code these days. Where it used to be Unity, it's being build in JavaScript.
Why? Because #NEARProtocol#blockchain mechanics are happier in JS environment. And because #JSinRust rocks.
That's why.