When I call
dfx canister --network ic deposit-cycles 100000000000 main
Error: The deposit cycles call needs to proxied via the wallet canister. Invoke this command without the `--no-wallet` flag.
When I call
Misleading error message. I just patched it, but it hasn’t made its way into a release yet. The new message will be:
The deposit cycles call needs to proxied via the wallet canister. Please run this command using 'dfx canister --wallet <your wallet id> deposit-cycles <other arguments>'. Does this work?
Thanks, its works. Also
dfx wallet send ... works too.
I was receiving this error when executing any of the following commands
% dfx canister --wallet=local deposit-cycles 8000000000000 6t4yy-zqaaa-aaaaa-aag3a-cai Error: Text cannot be converted to a Principal; too small. % dfx canister --wallet=local deposit-cycles 8000000000000 index Error: Text cannot be converted to a Principal; too small.
I figured out that I needed to pass the principal of my wallet, and couldn’t use the wallet name that I had set.
% dfx canister --wallet=zj7qq-3iaaa-aaaaa-aagjq-cai deposit-cycles 8000000000000 index
It would be nice if we could use the wallet name alias with these commands (just like we can use the canister name alias)
Added this to our backlog. I agree and I’m not sure why there are even wallet names in the first place if we don’t allow them to be used by name…