Add Support for Native Chain Tokens Not 18 Decimals

Description:

When adding a custom network to MetaMask, it only supports chains with a native token of 18 decimals, although there are several chains with 8, 9, or other decimal options different than 18.

Purpose:

Increase MetMask’s compatibility with more custom networks.

Extension/Mobile/Both:

Both.

Images/Attacments:

I work for a blockchain/web3 accelerator, and we have 15 blockchains in our ecosystem that all operate on 8 decimals. Now that we’ve added support for MetaMask, we are struggling with lack of support for chains that aren’t 18 decimals. All wallet balances and transactions appear severely wrong because things are off by 10 decimal places. It’s funny because the API to set a network includes the ability to specify how many decimals the network has, but MetaMask doesn’t support anything other than 18. Please add this support!

Agreed. Same issue while developing a chain myself.

I figure this is only a display issue and should not be too hard to implement.
Yet it is very hard to solve by chain projects themselves if MetaMask does not support this issue.

1 Like

It would be nice the development team can take a look and analyse the task. It won’t be too hard, nor cost too much; but it would help quite a lot for chain developers.