sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[Proposal] - Add Leo compiler to aleo-wasm crate

Open iamalwaysuncomfortable opened this issue 2 years ago • 0 comments

💥 Proposal

Currently %100 client side program execution and deployment can be executed directly from Aleo instructions in the web. However it would be desirable to also be able to write, compile, deploy, and execute Leo programs directly in the web as well.

To enable this the Leo compiler should be added to the aleo-wasm crate.

The tasks to do this roughly are: [ ] Decouple filesystem dependencies from being necessary in the Leo language + add the ability for Leo programs to be added directly from a text string [ ] Provide wasm-bindgen bindings to core Leo compiler routines [ ] Expose a public api in the aleo-wasm crate for invoking the Leo compiler via wasm

iamalwaysuncomfortable avatar Jun 22 '23 15:06 iamalwaysuncomfortable