Hi everyone!
A major pain point for developers is cycle management (“Removal of Cycles Wallet” is currently at the number-2 spot on the DX feedback board).
We’d like to pick up work on this topic soon but would like to collect some community feedback first, of course.
We currently envision the following change to dfx
: A new subcommand (tentatively called) cycles
would be introduced that enables you to check the cycles balance of your principal ID (dfx cycles balance
). This new subcommand can also be used to transfer cycles to another principal ID or to any canister.
Naturally, it would also be possible to increase the cycles balance using ICP.
A promising approach to implement this functionality is the introduction of a cycles ledger, which would adhere to the ICRC-1 (and probably also the ICRC-2) standard.
There seems to be interest in such a ledger in general as the topic was brought up again recently on the forum.
Note that the cycles wallet will continue to exist for those who wish to use it. The cycles wallet can be used to call other canisters with cycles attached. A global cycles ledger would not have this functionality.
If you have any requests, questions, or feedback about this feature, please share them here!