I’m trying to create a website on the IC, with dfx build and deploy I also get it displayed locally and the canister is created
If I want to deploy the website on the IC, I fail due to missing cycles.
I have tried several times to create an identity to get access to the wallet to be able to send icp. But here’s the problem, I always get this error message, I can’t manage to attach or create a wallet to the identity. I use Ubuntu on Windows
Using identity: “Test”.
root@DESKTOP-:~# dfx identity get-principal
Please enter the passphrase for your identity: [hidden]
Decryption complete.
xxxx-xxxx-lxxx-nxxx-xxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx
root@DESKTOP-:~# dfx wallet --network ic balance
Please enter the passphrase for your identity: [hidden]
Decryption complete.
Error: Failed to setup wallet caller.
Caused by: No wallet configured for combination of identity ‘Test’ and network ‘ic’
root@DESKTOP-:~# dfx wallet create --network ic
error: unrecognized subcommand ‘create’
Usage: dfx wallet [OPTIONS]
For more information, try ‘–help’.
root@DESKTOP-:~#
Thank you for your prompt response. I have a wallet in dfx containing cycles, but I cannot transfer them to another identity. I always receive the error message ( If I want to use the identity that shows me the cycles with the command dfx wallet balance to deploy on the IC, I get the message that I do not have enough cycles.):
Copy code
root@DESKTOP-:~/Test# dfx wallet balance
Please enter the passphrase for your identity: [hidden]
Decryption complete.
81.399 TC (trillion cycles).
root@DESKTOP-:~/Test# dfx cycles transfer dfx wallet transfer --to xxx-xxx-xxx-xxx-xxx-xxx 1000
error: invalid value 'dfx' for '<TO>': Text must be in valid Base32 encoding.
For more information, try '--help'.
I used the principal of the wallet to which the cycles should be sent, which I obtained with: dfx identity get-principal.
dfx wallet and dfx cycles don’t mix. One uses the cycles wallet, and the other the cycles ledger. If you use dfx canister deposit-cycles then dfx will automatically choose your wallet if you have one configured