0

I have deployed my ERC223Token contract in my private blockchain. I have transferred some tokens to my wallet It is showing tokens in my mist wallet and remix as well, but it is not showing tokens in meta mask.

enter image description here enter image description here

enter image description here

enter image description here

0

In order to being automatically visible and manageable by metamask UI you need to have as public function at least the following ERC20functions: name(), symbol(), balanceOf(), decimals() (the UI gives you the possibility to partially input those data by hand as well).

At that point you simply give the address of your “custom token” contract and that is all.

On the other side you need an ERC20 compatible transfer() as well in order to being able to move your tokens by metamask UI.

As far as I know nothing more is required.

Of course you need to be connected to the same blockchain where your contract has been deployed, but it can be obvious. Just to have an additional check...

ADDED:

Another check is on decimals value: if you have decimals 10^18 and the balance number is 1000 or whatever, it is under the threshold of the UI and it will display zero (but they are there: you can transfer them for instance).

  • I provided the address of the custom token, then the symbol and the decimal precision was automatically visible but, the number of tokens the account is holding is showing zero.@RickPark – crypto S. Jan 22 at 10:48
  • What decimals value have you? – Rick Park Jan 22 at 11:04
  • I kept 18 as decimal value and X as symbol. I have added the image. – crypto S. Jan 22 at 11:32
  • Read what I added to my answer: your balance divided 10^18 results zero if the UI has for decimal place – Rick Park Jan 22 at 11:34
  • 1
    1000000030 represented in 10^18 decimals is 0.0000000001000000030 or something like it! (I counted the zeros approximately) – Rick Park Jan 22 at 11:35

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.