eco-stake / restake

Auto-compounder script for Cosmos Validators using REStake
https://restake.app
MIT License
362 stars 313 forks source link

Token Name of the Likecoin Chain should be "LIKE". Now it is shown as ANOLIKE #495

Closed oldcatv closed 2 years ago

oldcatv commented 2 years ago

The token name of Likecoin Chain is "LIKE", instead of "ANOLIKE". Please update. I also show the locations of text to be amended attached below for your reference. Thanks.

Screenshot 2022-05-18 at 23 35 23
chleeab commented 2 years ago

I believe restake took the daemon name as nanolike (Which is correct) and the slicing is wrong. Also, according to this, https://github.com/cosmos/chain-registry/blob/master/likecoin/assetlist.json , restake should able to take the token name LIKE. But can any likecoin validator confirm this? https://github.com/cosmos/chain-registry/blob/master/likecoin/assetlist.json#L14 Usually it is 6.

chleeab commented 2 years ago

Here is the bug: https://github.com/eco-stake/restake/blob/master/src/components/Coins.js#L17-L23 Likecoin daemon is nanolike and token name is LIKE. Which is not the normal convention of cosmos ecosystem token name as the convention is ATOM and uatom. I suggest the daemon name and decimal point can read from the assetlist from chain registry.

oldcatv commented 2 years ago

denom of LikeCoin is nanolike with decimal of 9. The name of the token is LIKE.

tombeynon commented 2 years ago

Thanks so much for investigating this @chleeab @freemanhk ❤️