When you create a new Asset, it’s required to define the total supply. Is there any way to create an asset without a fixed limit of the supply?
You would have to define a fixed starting supply, which could be randomized. But, an indefinite supply function may look something like this.
def unlimited_supply():
starting_supply = 100
for moment in time:
starting_supply =+ 100
This would allow 100 tokens to be added indefinitely for every moment in time as defined. For example, for every day in a month, or every month in a year.
3 Likes
Additionally, see Stablecoin : How to burn the asset and update the supply - #2 by fabrice
3 Likes
Thanks so much for this answer. Have you tested this with Algo ASA’s? Dave B
Hi Dave. No, I have not tried this with Algo ASAs.
You may find ARC20 interesting for this exact use case.
Brian, Thanks for the response. Guess we’ll have to try it. Dave