I currently have a canister address hardcoded:
let nativeIPCToken = "ryjl3-tyaaa-aaaaa-aaaba-cai"; // native NNS ICP token.
But how to debug this?
So, I have several more questions:
- If I want to substitute a locally compiled canister in “debug mode”, how to do this (maybe, by passing
debug: Bool
to canister initialization? but this seems not to be a very good method). Something like C preprocessor? - Can I call IC canisters from the live network from my local canisters running on DFX (
dfx start
)? (If no, adding this would be a good feature, I think.)