How can I mint tokens whenever I want and how many I want?

Hey everyone,

Is there a way to mint tokens on demand? Let’s say I don’t want to issue any tokens initially, total supply is 0. But I want to create and distribute tokens on some certain scenarios in the future…

What I read from the docs and forum so far, is that minting is done by moving tokens from the reserve address to the address of my choice. But what if my total supply is 0, reserve address has no tokens…

Even if it Total isn’t 0 and reserve has tokens, my tests showed that sending from reserve address don’t create new tokens, but subtracts from the existing total amount.

Yes, you can set reserve to 1000,000,000,000,000,000,000, then you always have some coin to issue.
Max. is 2**64-1, that should be enough, shoudn’t be?

Ok, that should be enough. But let me clarify one thing. The reserve amount is the same as total issuance amount, isn’t it?

---- Yes, definitely. ----

Alright, thanks. So it’s not really minting, but rather distribution.