I’m trying to create and install code for canister by using IC Interface functions, but I’m blocked by the following problem:
The code of IC.install_code function is as follows:
install_code : shared {
arg : [Nat8];
wasm_module : wasm_module;
mode : { #reinstall; #upgrade; #install };
canister_id : canister_id;
} -> async ();
How can I get the arg and wasm_module?