MyEtherWallet / etherwallet

https://vintage.myetherwallet.com
MIT License
2.34k stars 1.72k forks source link

Better linkage / history for tokens via Ethplorer #431

Open tayvano opened 7 years ago

tayvano commented 7 years ago

"Hi, insomniasexx

Hope everything is grand.

Just wanted to share that we just released a big update for Ethplorer.io (you have seen this tool before) https://www.reddit.com/r/ethereum/comments/5wukrh/ethplorer_20_big_update_tokens_for_investors/

What you may find interesting is that Ethplorer now have public Tokens API. For example, vDice designed own simple wallet using MEW for creating transactions and Ethplorer’s API to get information about tokens, balances, history. Here is their announce https://blog.vdice.io/vslice-web-wallet-is-live/

Now, if we go to MEW’s page View Wallet Info and then go to transaction history – we actually doesn’t see any tokens. But just Ethereum transactions. Many users don’t understand this. For example, link from MEW to history: https://etherscan.io/address/0x11cc555935225020d73a73cdee2c7927b9c02300

Compare it with https://ethplorer.io/address/0x11cc555935225020d73a73cdee2c7927b9c02300

I believe it will be mutually beneficial, if MEW would use our API to display information about different tokens and have more user friendly. Please take a look. We have a special API key for you. It has higher limit to 100 history records for any address or token. If you need more, just let us know.

Looking forward to know what do you think.

Thank you."

tayvano commented 7 years ago

Added a link to Ethplorer.io address in v 3.6.6. It's not everything I want to do, but it's all I (personally) am capable of. Will continue on for actual integration.

alexesnsk commented 7 years ago

@tayvano There are also current prices available in token's API. So you can easy show token and transactions prices in USD using same API as before. Structure added:

price:
{ # token 
   price (false, if token is non-tradeble)
   rate:  # current rate 
   currency: # token price currency (USD)
   diff: # 24 hour rate difference (in percent)
   ts: # last rate update timestamp 
},

There's a sample address balance with a lot of tokens: https://ethplorer.io/address/0xd47297cdcf36eed17305d6a5471c6cd482c7e91c