This repository contains the definitive default token list used across the QuickSwap ecosystem and is published as an NPM package.
The primary goal is to provide a source of token information for dApps, wallets, and developers interacting with QuickSwap.
You can install the package via NPM:
npm install quickswap-default-token-list
Once installed, you can import the JSON token list directly into your project.
JavaScript / TypeScript Example:
import tokenList from 'quickswap-default-token-list';
// or if you are using CommonJS
// const tokenList = require('quickswap-default-token-list');
console.log(tokenList.tokens);
// Example: Find a token by its symbol
const wmatic = tokenList.tokens.find(token => token.symbol === 'WMATIC');
console.log(wmatic);
The list is structured by networks. You can find tokens for Polygon PoS, zkEVM, and other supported chains inside the src/tokens/
directory. The build process aggregates them into a single file.
We welcome contributions to expand the token list. To maintain quality and security, please follow these steps:
- Do Not Create a Pull Request Directly: All token additions or updates must start with an issue.
- File an Issue: Use the Token Request template to submit your token. Please provide all the required information.
- Review Process: The team will review the issue. Please be patient, as this process takes time.
Disclaimer: Filing an issue does not guarantee that a token will be added to the list. The QuickSwap team reserves the right to accept or reject any token request at its discretion.
This repository is configured with GitHub Actions for CI/CD.
-
Clone the repository:
git clone https://github.com/QuickSwap/quickswap-default-token-list.git cd quickswap-default-token-list
-
Install dependencies:
npm install
-
Run tests: Tests validate the integrity of the token lists (e.g., schema compliance, no duplicate entries).
npm test
-
Build the list: This command generates the final
quickswap-default.tokenlist.json
file in thebuild/
directory.npm run build
Publishing to NPM is handled automatically via the Publish workflow and is triggered manually by maintainers.
This project is licensed under the GPL-3.0-or-later.