0 (zero) not accepted in studio mint function

The Studio UI doesn’t reject 0 as a figure for starting number of coins for a mint/burn currency.

But contract fails when it is used, as it needs to be >0.

Either:

  1. UI needs to not allow 0.

  2. Community creation is dis-associated from currency creation, such that:

a) Community Creation
b) Create Currency 1 (could be a place holder if 0 is the starting number of tokens)
c) Create Currency 2 (could be a place holder if 0 is the starting number of tokens)
d) etc

This would be useful so that multiple currencies can be used for 1 community.


Also, studio only shows token balances to 2 decimal places.

Thanks for @RB_1010,
Fixing the UI to not allow 0 is simple enough, we will add this to the sprint.

Second options is interesting as well. We allow secondaryCurrency for communities, but it was mostly a fast hack. FYI @adar.