How to generate wasm_module when i use install_code to deploy a canister

i want to create canister and install it by a canister , refer to the cycle wallet 's source code.

now i have create a canister successfully,but i can’t install it, cause i don’t know how to get wasm_module and format to param.

this is the code :

when i learn the source code of cycle wallet , there is a question about get canister’s wasm_module.