I have a wasm file generated. Outside the dfx build and I want to create a canister using that wasm build is that possible ?
Thanks
I have a wasm file generated. Outside the dfx build and I want to create a canister using that wasm build is that possible ?
Thanks
I think there’s probably a more direct way now, but this example did something similar for wasm generated from C
Might have bit rotted though.
A more recent technique is described here https://ffgig-jyaaa-aaaae-aaaoa-cai.raw.ic0.app/
Thank you claudio !
I will try them, in similar way can we do java to wasm and write idl and deploy as canister ?
echo > reverse.did
{“canisters”:{“reverse”:{
“type”:“custom”,
“candid”:“reverse.did”,
“wasm”:“reverse.wasm”,
“build”:""
}}
}
dfx deploy
dfx canister call reverse go ‘(“repaid”)’
(“diaper”)