Mirroring https://github.com/jup-ag/token-list

Github Bot 2f628f5dc5 Update latest partners' token list %!s(int64=2) %!d(string=hai) anos
.github 6f4ced6a18 bump gh action create-pr version %!s(int64=2) %!d(string=hai) anos
src 2f628f5dc5 Update latest partners' token list %!s(int64=2) %!d(string=hai) anos
.gitignore bd45d6846c Run Github actions to validate new PRs (#71) %!s(int64=2) %!d(string=hai) anos
README-developers.md 856c6d0df6 update to the docs url, missing /docs/ path (#195) %!s(int64=2) %!d(string=hai) anos
README.md 3e81b36970 Fix link readme (#297) %!s(int64=2) %!d(string=hai) anos
banned-tokens.csv 29199874e7 Update banned.tokens.csv (#288) %!s(int64=2) %!d(string=hai) anos
package.json 81e91d0879 Validate only tokens file and add dev guide (#112) %!s(int64=2) %!d(string=hai) anos
pull_request_template.md 5a8834012a update readme %!s(int64=2) %!d(string=hai) anos
tsconfig.json bd45d6846c Run Github actions to validate new PRs (#71) %!s(int64=2) %!d(string=hai) anos
validated-tokens.csv 4a2c5688f0 Update validated-tokens.csv (#370) %!s(int64=2) %!d(string=hai) anos
yarn.lock 2cd55f4836 feat: wormhole remote update (#89) %!s(int64=2) %!d(string=hai) anos

README-developers.md

Dev Guide to the Token List API

Hello curious one -- you found the tech README! 🥷 The Token List API consists of the "Strict" list and "All" list. The Strict list is currently made up of tokens from the original solana token list registry, community validated tokens, and wormhole tokens. We also add metadata tags on all tokens from partner APIs.

Everything that feeds the API can be found in this repo, so you know exactly how it's made and what token data is entering the API.

Key files

banned-tokens.csv
validated-tokens.csv 
src
   |-- partners
   |   |-- data
   |   |-- scripts
   |-- main.ts

Tokens and Metadata Tags:

  • validated-tokens.csv: Consists original Solana token registry and community validated tokens. Jupiter's API crawls this list, and updates to this file via community PRs will be reflected in the API response.
  • src/partners/data/wormhole.csv: Wormhole tokens. An update is crawled via src/partners/scripts/get-wormhole/ts every week, and any changes will be made via a PR to this repo.
  • src/partners/data/solana-fm.csv: We add metadata of tokens from solana fm that are "verified:true". An update is crawled via src/partners/scripts/get-solana-fm/ts every week, and any changes will be made via a PR to this repo.

API outcome:

  • Our 'All' token list API picks up all of the above tokens and tags
  • Our 'Strict' list filters for tokens from the 'All' list with these tags: "wormhole", "original-registry", and "community".