1

I'm thinking of creating a token with a decimal point of odd number. However I'm kind of worried if there is any issue that can be caused by using an odd number for the decimal point.

Is there any reason that why do almost all of the ERC20 tokens have even number of decimals?

3

There is no specific reason for this.

Most tokens use 18 decimals in order to achieve a high level of precision and to mimic the precision of ETH. Some use 2 decimals to mimic a fiat currency. Some use 8 decimals to mimic Bitcoin.

An odd number of decimals would work fine in all protocols that I know of today.

2
  • so 3,5,7,9 is fine? – bbnn Oct 23 '20 at 19:18
  • 1
    Yes, I believe so. – Shane Fontaine Oct 23 '20 at 20:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.