Are we able to deploy applications to the mainnet yet? If so how are cycles added to the canister?
Accidentally found my answer!
Network deployment
Following the instructions given here
Enjoying learning. However, I have stumbled on this. Please help
% dfx ledger account-id
error: Found argument âledgerâ which wasnât expected, or isnât valid in this context
% dfx --help
dfx 0.6.26
No options or subcommands: âledgerâ
Hi
Youâll need to upgrade dfx to 0.7.0 to see the ledger sub command.
Add DFX_VERSION=0.7.0 before the installation command.
DFX_VERSION=0.7.0 sh -ci â$(curl -fsSL https://sdk.dfinity.org/install.sh)â
Impossible to deploy on the mainnet !!
The commands took me some ICP, not a big amount fortunately, but guys, is it nice to give the information in the bottom of a page that is not the getting started tutorial ?
Because application subnets are not yet widely available to the general public, you should not convert ICP tokens to cycles on the Internet Computer.
For an introduction to developing applications locally, see the Local development quick start and Tutorials.
See below my journey results:
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic balance
0.00010000 ICP
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic create-canister blah-blih... --amount .00001
The Replica returned an error: code 5, message: âCanister ryjl3-tyaaa-aaaaa-aaaba-cai trapped explicitly: Panicked at âYou have tried to spend more than the balance of your accountâ, rosetta-api/ledger_canister/src/lib.rs:300:13â
OK, I need more ICPs for the transaction fees. Lets transfer more and try againâŚ
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic balance
0.10010000 ICP
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic create-canister blah-blih... --amount .001
Transfer sent at BlockHeight: 101622
Refunded at block height 101625 with message :No subnets in which to create a canister.
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic balance
Nice, I lost 0.0007 ICPsâŚwait how much is this in dollars ? $400+ that I paid near introduction, ~$100 that they are âworthâ right now ? $4.20 (500/119) that they were worth for the airdrop beneficiary (you know, those earthworms that were constantly whining on the telegram group âwhen airdrop, you scammers blabla I paid $10 for registration fees, refund !â that can now get ~$10000 by selling them on exchanges to people like you and me that need them for⌠yes, for losing them in failed transactions)?
0.09940000 ICP
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic create-canister blah-blih...
Transfer sent at BlockHeight: 101678
Refunded with message: No subnets in which to create a canister.
lisica@lisica-20n2000lfr:~/prog/dfinity/hello$ dfx ledger --network ic balance
0.09920000 ICP
This time I lost only 0.0002âŚ
The team is still adding subnets, until this process hasnât finished you cannot deploy to mainnet just yet. If you want to deploy a frontend you can try fleek.co to bypass this restriction
I am getting that same error when deploying on fleek. Super-simple static site, tried different docker images with no luck.
Whats your error ? I deployed in fleek.co
Whats your error ? I deployed in fleek.co
Have a look but this simple static
https://xhboi-liaaa-aaaad-qac6q-cai.raw.ic0.app/index.html
You might ask them for support, they have a slack channel and are super helpful!
Is still the deployment to mainnet is not supported?
I am still getting issue with dfx deploy --network=icâŚ
@all
@cryptoschindler
Still not⌠Iâm sure it will come soon( matter of weeks I believe)
Okay, thanks for reply