warp icon indicating copy to clipboard operation
warp copied to clipboard

feat: sandboxing js contracts

Open ppedziwiatr opened this issue 2 years ago • 0 comments

Right now we're using VM2, but that obviously works only in node.js env.

Another idea is to run js code in the js engine that is embedded in a wasm module. Example: https://bellard.org/quickjs/

with js bindings - https://github.com/justjake/quickjs-emscripten

ppedziwiatr avatar Apr 08 '22 15:04 ppedziwiatr