I published an ERC 20 token on Ropsten. The token's total supply, name and symbol shows on the self page (https://ropsten.etherscan.io/token/..) but the holders number and transfers are not shown. The holders is zero and transfers section is empty...

why can this happen?

thank you,

  • Did you verify your contract on Etherescan? That would be a likely reason. – Mikko Ohtamaa Apr 9 at 21:33
  • Also the link in the question does not work. – Mikko Ohtamaa Apr 9 at 21:33

My guess would be that you didn't add the Transfer event. Those are part of the standard and should definitely be implemented, see e.g. https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md#events.

A pretty good reference to use would be https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/contracts/token/ERC20.

| improve this answer | |
  • thank you for your comment. I solved this problem. I added the transfer event but I didn't trigger the transfer event. I made this. and then showed the holders count :) – sollover Apr 10 at 7:23

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