shunjizhan / crypto-portfolio-viewer

View your aggregated cryptocurrency portfolio -- across exchanges, ETH wallet, and any other places 🎉🎉
https://www.npmjs.com/package/crypto-portfolio-viewer
42 stars 13 forks source link

Missing ERC20 Token #5

Open Escaflownevan opened 2 years ago

Escaflownevan commented 2 years ago

Hi! at first, thanks for this great tool! I've got one problem... at some wallets missing some/all ERC20 tokens.

Reproduce: Check this wallet: 0x2BC195ceb9a005195D35A553376aEa9cc32664B6 There are these tokens: LPT, DAV, WPR, VIN, EGT, HYB

This is my log: ignored token EUR : can't find it's coingecko id... ignored token HYB : can't find it's coingecko id... ignored token VIN : can't find it's coingecko id...

So there are 4 undected tokens. EGT is a dead coin doesn't matter. But LPT, DAV, WPR all on coingecko listed.

Possible to fix?

shunjizhan commented 2 years ago

Hi! Thanks for letting me know, and I actually have seen this problem too, can't find some id when it should...

there are two things I can improve when I got a chance:

recently I have been super busy to fix it, but will let you me as soon as there is a fix : )

shunjizhan commented 2 years ago

At the same time, a work around for your own portfolio, is to put these missing token as USDT value, to at least make your portfolio net worth more accurate.

For example, if you have 1 BTC and can't find it's id, then put a hardcoded

{
  USDT: 43000,
}

into other assets, which compensates for the missing 1 BTC for your total portfolio value.

Escaflownevan commented 2 years ago

Thanks!