I have been trying to upload my dApp to the live IC blockchain. I have obtained the required cycles in my wallet (10.093 Trillion Cycles) and have set everything ready. When I enter the dfx deploy --network ic command to deploy to the Internet Computer live chain, I get the following error:
I have also added the principal id’s of each canister created in my project in the above image. As in the name, dbank_frontend has the front-end contents and dbank_backend has the back-end contents. Can anyone please solve the issue for me? Both of the canisters are using the wallet id for the local development, as you can see in the image given above. Please provide suggestions for me to solve this error?
dfx canister info dbank_frontend/backend implicitly targets --network local. If you want the mainnet info you need to specify --ic / --network ic
Since I have heard the name dbank before: Is it possible that you cloned the repo and accidentally still have someone else’s canister_ids.json in there? Then dfx deploy --ic would attempt to deploy to the original author’s canisters, which obviously are not under your control
Yeah I understood what you were assuming and that’s right. I’m working on project as part of my Online Course, and cloned the repository directly from the authors GitHub. I have run the dfx canister dbank_frontend/dbank_backend --network ic and got the actual controllers. They are the same, and I have attached the contents below:
Now if what you have mentioned is true, that when I try to run dfx deploy --network ic it will deploy to the original author’s canisters,then how can I solve that issue?