[Ethereum] Token supply and decimals / metamask

metamask

I recently created this token on mainnet. https://etherscan.io/address/0xef54d5a930fd31d4a9e8975ffd2522c295d4cc1c#code
It's total supply is 50,000,000 tokens, with 18 decimal places.

However, when i add token to metamask I see 50000000000000000000000000 (18 too many zeros) .

Have i done anything wrong?

Best Answer

I deployed the contract and the amount of tokens displays correctly on Metamask.

Did you set 18 decimals when adding the tokens on Metamask? enter image description here

enter image description here

Related Topic