sdk
sdk copied to clipboard
[Proposal] - Add Leo compiler to aleo-wasm crate
💥 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