I am building a simple ICRC 1 Token deployer so that new ICP users can deploy their tokens easily without bothering themselves with tools like dfx.
but i am facing certain problems :
Dynamic deployment of canisters require cycles. These cycles come from the canister that is triggering the deployment.
Is there any way to accept ICP from users convert them to cycles, top up the canister triggering the deployment and then deploy the canister in motoko?
It may be helpful to take a look at GitHub - icdevsorg/axon: DAO in a box. Each axon that is deployed gets its own ICRC1 token. Hopefully, in the coming weeks, I’ll have some time to update it to add ICRC2 and 3 as well. We take pull requests and adding a way to fund cycles would be amazing.