Is there a way to specify in the dfx.json to deploy a canister only locally instead? I have a canister that I use for tests and don’t need to deploy it to the IC.
That’s what I’m doing at the moment, but since I have never deployed that canister to the IC (and I don’t want to do it), I’m arbitrarily using the Ledger canister remote id as a workaround.
I find this crappy though, is there a better way to achieve this?
No, at the moment there is no better way. If you don’t want to use an arbitrary canister ID it is common to use the virtual management canister (aaaaa-aa) as sort-of a black hole