Dear IC Developers, we are building a Note App that runs on Electron, and will be able to save data to the IC.
We are now on the IC Saving feature and are glad to have made it work with our local replica by using a great Motoko code piece by @cyberowl.
However, we based our Electron - JavaScript code on an unusual pattern that @cyberowl used, instead of doing the usual dfx deploy, he uses a pre-compiled WASM file that corresponds mainly to two Motoko programs:
- FileStorage.mo
- FileScalingManager.mo
Which become
- file_storage.wasm
- file_scaling_manager.wasm
this pattern can be seen here: https://github.com/cybrowl/static/tree/main/src, and also on our attached screenshot.
However, in order to grow the application we need to expand those two Motoko programs with new functionality, it is easy to do it in Motoko itself, but we do not know how to create those updated WASM files, does anyone know how we can go from the Motoko files to a WASM file as shown on the screenshot, and
the Github link?
Your help would be most appreciated, since it is urgent for us to continue with our development effort.
P.S. I did contact @cyberowl as well, but wanted to reach out the larger IC Dev Community too. Thanks.