Skip to content

omerozan16/tokenlists

 
 

Repository files navigation

Multi-chain token list standard.

TLDR

In this repo you may find tokenlists aggregated from various trusted providers, such as sushiswap or 1inch. We only list a token if it appeared in 2 or more different tokenlists. So we believe that if 2 or more providers list a token, than it is most likely not a scam.

Usage example

If you want to use tokenlist in your dApp — simply download json with needed chain tokens. Head for raw link like

https://raw.githubusercontent.com/viaprotocol/tokenlists/main/tokenlists/ethereum.json (Ethereum tokenlist)

or

https://raw.githubusercontent.com/viaprotocol/tokenlists/main/tokenlists/bsc.json (Binance Smart Chain Tokenlist)

Providers

We collect tokenlists from github repos or open APIs from various platforms, currently:

Feel free to add new provider if you think it is trusted and if it has opensource tokenlists, on github or in API.

Chains with trusted tokens

Here are chains presented in our tokenlists with current token count. You can find out more in /tokenlists folder. Token counts are approximate and may vary as providers update their tokenlists.

  • Ethereum, 1216 tokens
  • Solana, 956 tokens
  • Bsc, 656 tokens
  • Polygon, 398 tokens
  • Ftm, 263 tokens
  • Avax, 247 tokens
  • Heco, 197 tokens
  • Arbitrum, 132 tokens
  • Aurora, 79 tokens
  • Harmony, 63 tokens
  • Gnosis, 60 tokens
  • Moonriver, 50 tokens
  • Okex, 29 tokens
  • Optimism, 17 tokens
  • Fuse, 16 tokens
  • Celo, 14 tokens
  • Cronos, 11 tokens
  • Telos, 10 tokens

Testnets:

  • Rinkeby
  • Ropsten
  • Goerli
  • Mumbai
  • etc.

How are tokenlists formed

We collect many tokenlists from many providers, than we aggregate them by chains and tokens addresses. For each token we check whether it is listed in 2 or more tokenlists from different providers. If so, we add it to our trusted tokenlist.

Run aggregation script yourself

Install requirements $ pip3 install -r requirements.txt Run the script from repo root folder python3 aggregate_tokens.py

Generate readme.md based on aggregated data

python generate_readme.py

Contribute

Feel free to open issues and PRs with tokens, chains or providers that you want to add.

Developed by Via.Exchange team

About

Trusted tokenlists for 18 chains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%