When I was developing before Genesis, I could use the following command, which would create my canisters on the actual network (i.e. accessible over the internet, not just locally a locally running
dfx start instance):
dfx deploy --network ic
But now when I run that command, I get the following error:
Creating canisters... Creating canister "my_canister"... The replica returned an HTTP Error: Http Error: status 404 Not Found, content type "", content: Requested canister does not exist
Of course the canister doesn’t exist on the network; I’m trying to deploy it there for the first time.
Possibly this is because I haven’t bought any cycles? If that’s it, the error could be a little more helpful. If that’s not it, I’d love to figure out what is! I need to test my app on the actual internet, and I’d love to be able to do that without paying for cycles but I will if necessary.
Also, at one point I was given a Sodium wallet canister that was pre-loaded with
cycles. Are those usable in a post-genesis world? Is there another way to get cycles that can be used for testing?