I'm trying to build from scratch a smart contract. I'm starting from cargo new my-contract
.
I wired the MultiversX dependencies and now cargo run does not complain.
Now when I run mxpy contract build
I get
FileNotFoundError: [Errno 2] No such file or directory: '/home/bogdan/workspace/sc-from-scratch/wasm'
When I look at the other templates, I see that the content of this wasm folder is generated.
This is the relevant commit for my question: https://github.com/bogdan-marian/sc-from-scratch/commit/aa6f912e6bca413a91f18c9de52257390645b139
How do I generate the content from the wasm
folder?
It turns out that there is more to this question than I initially believed. I ended up creating an entire tutorial about how to create from scratch a smart contract. Short version is