can't create wallet canister
letmejustputthishere opened this issue · comments
I tried the following:
- create canister through nns dapp
- make local dfx identity controller of that canister
- try and install the wallet wasm into the canister
I expected to see this happen: the wasm is installed and i can set the canister as my identites wallet
Instead, this happened:
❯ dfx identity --network ic deploy-wallet obkml-oaaaa-aaaal-abk3q-cai
WARN: The default identity is not stored securely. Do not use it to control a lot of cycles/ICP. Create a new identity with `dfx identity create` and use it in mainnet-facing commands with the `--identity` flag
Creating a wallet canister on the ic network.
Error: Failed to create wallet for identity 'default' on network 'ic'.
Caused by: Failed to create wallet for identity 'default' on network 'ic'.
The wallet canister "obkml-oaaaa-aaaal-abk3q-cai" already exists for user "default" on "ic" network.
❯ dfx identity --network ic get-wallet
WARN: The default identity is not stored securely. Do not use it to control a lot of cycles/ICP. Create a new identity with `dfx identity create` and use it in mainnet-facing commands with the `--identity` flag
Error: Failed to get wallet for identity 'default' on network 'ic'.
Caused by: Failed to get wallet for identity 'default' on network 'ic'.
Wallet not configured.
Diagnosis was added here.
Error explanation:
This command requires a configured wallet, but the combination of identity 'default' and network 'ic' has no wallet set.
How to resolve the error:
To use an identity with a configured wallet you can do one of the following:
- Run the command for a network where you have a wallet configured. To do so, add '--network <network name>' to your command.
- Switch to an identity that has a wallet configured using 'dfx identity use <identity name>'.
- Configure a wallet for this identity/network combination: 'dfx identity set-wallet <wallet id> --network <network name>'.
Meta
dfx --version
:
dfx 0.12.1
Further log output
<log output>