Skip to content

JS -> Cairo -> JS function call #25

@henry-hz

Description

@henry-hz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions