Giter Club home page Giter Club logo

Comments (8)

JamesSmartCell avatar JamesSmartCell commented on June 30, 2024 1

See https://api.coingecko.com/api/v3/coins/list?include_platform=true

I'm surprised to see that USDT is on 43 different blockchains. They'll need to be checked.

The Polygon address is different from the one published on Tether's official web site. I think the address in CoinGecko is the correct one based on the activity on PolygonScan. It's weird that the official web site shows an address with almost no activity.

Wow that's an epic API call! Nice find.

from alpha-wallet-android.

JamesSmartCell avatar JamesSmartCell commented on June 30, 2024

I see, how would you propose that this is shown? Maybe under defi we can show a 'conglomerate' view that bunches together the corresponding tokens, for a start at least.

I like the idea.

from alpha-wallet-android.

tab00 avatar tab00 commented on June 30, 2024

Here are some of my ideas:

Each row in the assets list can have:
On left show the logo of the logical token (as it already does, but without any small blockchain logo on it), then in the middle part show small icons of the blockchains on which the user has such tokens, then on right the total quantity across all blockchains.

There could be a dropdown button near the total, that when clicked, expands a subsection under the row that shows the breakdown of how much of the token the user has on each blockchain.

from alpha-wallet-android.

tab00 avatar tab00 commented on June 30, 2024

Behind the scenes there'd need to be a data structure that maps a logical token to a set of addresses on blockchains.

from alpha-wallet-android.

JamesSmartCell avatar JamesSmartCell commented on June 30, 2024

@tab00 do you know if there's a resource or API with a list of common tokens?

I can see on (for example) the Tether Coingecko page there's a drop down that shows the address for every chain:

https://www.coingecko.com/en/coins/tether

however I couldn't find the corresponding API call to fetch this.

from alpha-wallet-android.

tab00 avatar tab00 commented on June 30, 2024

See https://api.coingecko.com/api/v3/coins/list?include_platform=true

I'm surprised to see that USDT is on 43 different blockchains. They'll need to be checked.

The Polygon address is different from the one published on Tether's official web site. I think the address in CoinGecko is the correct one based on the activity on PolygonScan. It's weird that the official web site shows an address with almost no activity.

from alpha-wallet-android.

tab00 avatar tab00 commented on June 30, 2024

In the token details panes (e.g. Token Info, Activity) you'd need to add blockchain names.

from alpha-wallet-android.

tab00 avatar tab00 commented on June 30, 2024

For individual logical tokens see https://api.coingecko.com/api/v3/coins/tether which has keys platforms and detail_platforms (which has decimal_place which could be important).

from alpha-wallet-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.