MIT License

项目介绍

viaprotocol/tokenlists 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 141 个 Star、51 次 Fork。

仓库全名
viaprotocol/tokenlists
开源许可证
MIT License
Star 数
141
Fork 数
51
未关闭 Issue
8

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

tokenlists 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 141 个 Star。

tokenlists 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 tokenlists 的源码?

可以直接克隆仓库:git clone https://github.com/viaprotocol/tokenlists.git,默认分支为 main;安装与运行步骤见仓库 README。

tokenlists 最近还在维护吗?

仓库最近一次更新为 2022年11月24日,当前有 8 个未关闭 Issue;Star 数为 141,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Trusted tokenlists for 29 blockchains

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
246
价值分
99
活跃状态
活跃

语言占比

Python

README

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, 1531 tokens
  • Bsc, 1004 tokens
  • Polygon, 681 tokens
  • 101, 507 tokens
  • Solana, 394 tokens
  • Avax, 359 tokens
  • Ftm, 321 tokens
  • Gnosis, 285 tokens
  • Heco, 197 tokens
  • Arbitrum, 178 tokens
  • Optimism, 101 tokens
  • Aurora, 86 tokens
  • Harmony, 76 tokens
  • Cronos, 68 tokens
  • Celo, 68 tokens
  • Moonriver, 61 tokens
  • Okex, 48 tokens
  • Moonbeam, 34 tokens
  • Fuse, 23 tokens
  • Evmos, 21 tokens
  • Astar, 15 tokens
  • Boba, 13 tokens
  • Telos, 10 tokens
  • Kcc, 9 tokens

Testnets:

  • Rinkeby
  • Ropsten
  • Goerli
  • Mumbai
  • etc.

How are tokenlists formed

We collect many tokenlists from many providers, then 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

评论

暂无评论