{"id":18429316,"url":"https://github.com/asset-projects/token-list","last_synced_at":"2025-04-07T17:33:05.055Z","repository":{"id":38315295,"uuid":"402776055","full_name":"asset-projects/token-list","owner":"asset-projects","description":"This library is a list of tokens that exist on the ethereum mainnet, L2, and sidechain.","archived":false,"fork":false,"pushed_at":"2022-06-07T07:12:46.000Z","size":1775,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-21T09:56:42.856Z","etag":null,"topics":["arbitrum","erc20","ethereum","l2","mainnet","optimism","side-chain","test-network","token-list"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@asset-projects/token-list","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asset-projects.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-03T13:16:18.000Z","updated_at":"2024-03-28T17:25:10.000Z","dependencies_parsed_at":"2022-08-17T16:00:29.905Z","dependency_job_id":null,"html_url":"https://github.com/asset-projects/token-list","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asset-projects%2Ftoken-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asset-projects%2Ftoken-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asset-projects%2Ftoken-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asset-projects%2Ftoken-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asset-projects","download_url":"https://codeload.github.com/asset-projects/token-list/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223286316,"owners_count":17120002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arbitrum","erc20","ethereum","l2","mainnet","optimism","side-chain","test-network","token-list"],"created_at":"2024-11-06T05:16:37.908Z","updated_at":"2024-11-06T05:16:39.522Z","avatar_url":"https://github.com/asset-projects.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @asset-projects/token-list\n\n[![npm](https://img.shields.io/npm/v/@asset-projects/token-list)](https://unpkg.com/@asset-projects/token-list@latest/)[![Package size](https://badgen.net/bundlephobia/minzip/@asset-projects/token-list)](https://bundlephobia.com/package/@asset-projects/token-list)[![!License](https://badgen.net/npm/license/@asset-projects/token-balance)](https://github.com/asset-projects/token-balance/blob/main/LICENSE)\n\n[![Check Markdown links](https://github.com/asset-projects/token-list/actions/workflows/linkchecker.yml/badge.svg)](https://github.com/asset-projects/token-list/actions/workflows/linkchecker.yml)\n[![Tests](https://github.com/asset-projects/token-list/actions/workflows/tests.yml/badge.svg)](https://github.com/asset-projects/token-list/actions/workflows/tests.yml)\n[![release-please](https://github.com/asset-projects/token-list/actions/workflows/release-please.yml/badge.svg)](https://github.com/asset-projects/token-list/actions/workflows/release-please.yml)\n\nThis library maintains a list of ERC20 tokens that exist on the ethereum mainnet, L2 and sidechain.\n\nIt manages the main tokens and the top 100 or so tokens.\n\nSupport for Ethereum mainnet, optimistic-ethereum, arbitrum, polygon, and Other chains will be supported in the future.\n\n## Install on your project\n\n```zsh\n  # npm\n  npm i @asset-projects/token-list\n\n  # yarn\n  yarn add @asset-projects/token-list\n```\n\n# How to Use\n\n```ts\nimport { getTokenList } from '@asset-projects/token-list';\n\nconsole.log(getTokenList(1).ERC20);\n// [{\"chainId\": 1, \"type\": \"ERC20\", \"address\": \"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599\", \"name\": \"Wrapped BTC\", ...}]\n\nconsole.log(getTokenList(1).ERC721);\n// [{\"chainId\": 1, \"type\": \"ERC721\", \"address\": \"0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85\", \"name\": \"Ethereum Name Service\", ...}]\n```\n\n# Other imports\n\n```ts\nimport { tokens } from '@asset-projects/token-list';\n\nconsole.log(tokens().filter((token) =\u003e token.chainId === 1 \u0026\u0026 token.symbol === 'DAI'));\n// [\n//   {\n//     chainId: 1,\n//     type: 'ERC20',\n//     address: '0x6b175474e89094c44da98b954eedeac495271d0f',\n//     name: 'Dai Stablecoin',\n//     symbol: 'DAI',\n//     decimals: 18,\n//     logoURI: 'https://raw.githubusercontent.com/asset-projects/token-list/main/public/dai.png'\n//   }\n// ]\n\nconsole.log(\n  tokens().filter(\n    (token) =\u003e\n      token.chainId === 1 \u0026\u0026 token.address === '0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85', // ENS\n  ),\n);\n// [\n//   {\n//     chainId: 1,\n//     type: 'ERC721',\n//     address: '0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85',\n//     name: 'Ethereum Name Service',\n//     symbol: 'ENS',\n//     logoURI: ''\n//   }\n// ]\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasset-projects%2Ftoken-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasset-projects%2Ftoken-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasset-projects%2Ftoken-list/lists"}