I found 2 projects as example for cairo with wasm, the astro editor and the starklings [https://app.onlydust.com/p/wasm-cairo] . Is the actual state of the cairo wasm is limited to compiling the code on the browser ? The documentation is scarce and both examples are limited. Could you help us to find [or create] an example of a simple cairo function that "talks" with the JS, like 'fn x = x + 1' ? so we can send the number 3 from JS to the cairo wasm module, and get 4 back on the JS UI.
thanks
hh
I found 2 projects as example for cairo with wasm, the astro editor and the starklings [https://app.onlydust.com/p/wasm-cairo] . Is the actual state of the cairo wasm is limited to compiling the code on the browser ? The documentation is scarce and both examples are limited. Could you help us to find [or create] an example of a simple cairo function that "talks" with the JS, like 'fn x = x + 1' ? so we can send the number
3from JS to the cairo wasm module, and get4back on the JS UI.thanks
hh