Open vladiuz1 opened 3 years ago
Instead of having our own tokenlist, we must:
We should also need to move to SVG coin logos. A good repo for coin logos is here:
xDai tokens lists: https://tokens.honeyswap.org/
Avalanche tokens lists: https://raw.githubusercontent.com/pangolindex/tokenlists/main/aeb.tokenlist.json
Polygon tokens lists: https://unpkg.com/quickswap-default-token-list/build/quickswap-default.tokenlist.json https://tokens.coingecko.com/polygon-pos/all.json https://storageapi.fleek.co/tomafrench-team-bucket/polygon.listed.tokenlist.json
ETH tokens lists: https://tokens.coingecko.com/uniswap/all.json https://t2crtokens.eth.link/ https://uniswap.mycryptoapi.com/ https://zapper.fi/api/token-list https://tokenlist.zerion.eth.link/
UNISWAP TOKEN LISTS https://github.com/Uniswap/tokenlists-org/blob/master/src/token-lists.json
UDPATED... See 1st comment to this ticket: https://github.com/swaponline/swap.io-networks/issues/1#issuecomment-890929730
We need to create a tokenlist compliant with tokenlists.org / https://github.com/Uniswap/token-lists
The list must include multi-chain tokens. Tokens in different chains with matching SYMBOLs must be considered equivalents... e.g. USDC with chainId 56 and chainId 1 are the same USDC but on different chains.
https://gateway.pinata.cloud/ipfs/QmdKy1K5TMzSHncLzUXUJdvKi1tHRmJocDRfmCXxW5mshS
Based on TL compliant tokenlist we may or may not need our own format. E.g. hosted in /data/coins.json or some other format.
To start with, we can use some else's tokenlist as a base. We need to keep in mind that our tokenlists must reference logos hosted in our frontend repo.
The logos must be SVG
The job of mainterner must be converting the logos to SVG format using tools like sketch with Potrace plugin, or some other vector converter