Giving that it’s not possible to call canisters deployed to IC from a canister deployed locally what is the best way to test the integration?
I assume what you are looking for is dfx deps
which is further explained here:
for context, the following thread might also be helpful:
1 Like
@hips please note the dfx deps
can only be used for canisters that define pullable
. there are some canisters which define this, but I am not sure how widely this is adopted right now.
another option is to reference a custom
canister and provide the relevant information (candid, wasm path/url, remote canister id) “manually”.
an example for that is the exchange-rate-canister demo, see xrc_demo/dfx.json at main · THLO/xrc_demo · GitHub
please also note, that the exchange-rate-canister is indeed pullable, see exchange-rate-canister/dfx.json at main · dfinity/exchange-rate-canister · GitHub
1 Like