I have a contract with the decimals hardcoded to 8
// Hardcoded to be a constant uint8 public constant decimals = 8;
I think this is the reason Im having problems with wallets and explorer to show token balances..
Metamask says: "We had trouble loading your token balances. You can view them here"
How can I show correctly my tokens?
Also can be possible to use 18 decimals, but then I would need to modify this:
// constant to simplify conversion of token amounts into integer form uint256 public tokenUnit = uint256(10)**decimals;
Any tip about what can be the best solution and how I can do it?