Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check wasm-cairo integration #52

Open
rjnrohit opened this issue Aug 17, 2023 · 0 comments
Open

Check wasm-cairo integration #52

rjnrohit opened this issue Aug 17, 2023 · 0 comments

Comments

@rjnrohit
Copy link
Contributor

rjnrohit commented Aug 17, 2023

Assess the feasibility of implementing the whole plugin as a package of WebAssembly. This implies compiling the "api backend" and Cairo compiler to wasm and running in browser.
The feasibility study needs to cover:

  • Compilation of cairo compiler to Wasm
  • How to pass the Cairo source code from the IDE to the compiler?
  • How to retrieve compiler responses back to the plugin IDE?
  • Distribution of the package: how to package the react plugin part and how to integrate it with Remix? How to bundle the react part and the "api" part for distribution? (what is the proposed deployment model - host the react part on a centralized server and include the webassembly module in it?)
    NOTE: Include Scarb as well!

NOTE: view work done by https://t.me/sncorestars/31157 , https://twitter.com/cryptonerdcn - had some work done on porting compiler tools into WebAssembly. Worth reaching out to him and see if he's interested in contributing

@stranger80 stranger80 changed the title check wasm-cairo integration Check wasm-cairo integration Aug 17, 2023
@stranger80 stranger80 changed the title Check wasm-cairo integration [priority: medium] Check wasm-cairo integration Aug 17, 2023
@stranger80 stranger80 changed the title [priority: medium] Check wasm-cairo integration Check wasm-cairo integration Aug 17, 2023
@stranger80 stranger80 added low and removed medium labels Aug 21, 2023
@stranger80 stranger80 added the mid label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants