Function workspaces::compile_project
source · [−]Expand description
Builds the cargo project located at project_path and returns the generated wasm file contents.
NOTE: This function does not check whether the resulting wasm file is a valid smart contract or not.