Skip to content

Master #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9e454b0
Merge pull request #493 from maticnetwork/dev
py-zoid Nov 30, 2023
b227c32
Added 1 token/s: 0xc85177d490373882db1addaaf950de8ce40a5cab
polygon-token-list-machine-user Dec 1, 2023
fd9266b
remove last added erc721 token
py-zoid Dec 1, 2023
2cbaa1d
Merge pull request #495 from maticnetwork/remove-last-added-erc721-token
py-zoid Dec 1, 2023
bc1baf0
Added 1 token/s: 0x0f8c058e7cef182782950a6c70a6073aa9e1d9d6
polygon-token-list-machine-user Dec 3, 2023
5905783
Added 1 token/s: 0xcd68dff4415358c35a28f96fd5bf7083b22de1d6
polygon-token-list-machine-user Dec 3, 2023
d7be5be
Added 1 token/s: 0x1a9c89175559a7a1ba9bb97a49ae225af0ffd2f2
polygon-token-list-machine-user Dec 3, 2023
d69b075
add custom withdraw signature tokens
py-zoid Dec 4, 2023
cc19b0e
Merge pull request #497 from maticnetwork/add-custom-withdraw-sig-tokens
py-zoid Dec 4, 2023
3836698
Added 1 token/s: 0x70a13201df2364b634cb5aac8d735db3a654b30c
polygon-token-list-machine-user Dec 4, 2023
a386e43
create testnet popular tokenlist
py-zoid Dec 5, 2023
95dffd7
create metadata for testnet popular tokens
py-zoid Dec 5, 2023
0b2bf7e
build polygonTestnetPopular tokenlist
py-zoid Dec 5, 2023
04caa56
Merge pull request #499 from maticnetwork/feat-testnet-popular
py-zoid Dec 5, 2023
994c596
Added 1 token/s: 0xf95c5f961cf676ae927dff05342a0741b99e3564
polygon-token-list-machine-user Dec 5, 2023
e0a692e
Added 1 token/s: 0x6f6875ed4e9aee09ff505ee65ca1b141d1f120e7
polygon-token-list-machine-user Dec 5, 2023
f9e9973
Added 2 token/s: 0x61816618a7ee9c1f64795974767d3cb9ad437f41
polygon-token-list-machine-user Dec 5, 2023
5ac2742
Added 1 token/s: 0x237f1754ef00d526fd3833e9840f35d0c294254e
polygon-token-list-machine-user Dec 6, 2023
83e23f5
Added 1 token/s: 0xeccd2f9d460c58added6c5d33b852da3f6a23309
polygon-token-list-machine-user Dec 6, 2023
32ab108
Added 1 token/s: 0xb7f2f528236db18cb003d68b0b94915509e9c6ee
polygon-token-list-machine-user Dec 6, 2023
8db407d
Added 1 token/s: 0x0ebd629e1b900d2a71ea5933785e9efba41e4fa7
polygon-token-list-machine-user Dec 6, 2023
ef76f92
Added 1 token/s: 0xa35c58514d994dfafb85d53803b2785c1a397c90
polygon-token-list-machine-user Dec 7, 2023
950c172
Added 1 token/s: 0x03668c32744c35b6981345e68ed5d4873cf1d3ae
polygon-token-list-machine-user Dec 7, 2023
7b9143a
Added 1 token/s: 0xd3bcdb3b1c223de7cebc442dbc39d3aa9f22ae3a
polygon-token-list-machine-user Dec 7, 2023
c77e7ac
Update polygonPopular.json
rahuldamodar94 Dec 7, 2023
5741f6e
Merge pull request #500 from maticnetwork/rahuldamodar94-patch-1
py-zoid Dec 7, 2023
2dc4d75
Added 1 token/s: 0xc3d0686eff428b2e4f853d85214eb65b17bcdc78
polygon-token-list-machine-user Dec 7, 2023
b9ad56e
Added 1 token/s: 0x95026af792ee89dc75b1e986ec2044bcf9a40ffc
polygon-token-list-machine-user Dec 8, 2023
2df26ab
make copy changes
py-zoid Dec 8, 2023
08717a4
add weeth token to popular list
py-zoid Dec 8, 2023
cc93161
Merge pull request #503 from maticnetwork/weeth-to-popular-list
py-zoid Dec 8, 2023
8961d0c
Merge pull request #502 from maticnetwork/copy-changes
py-zoid Dec 8, 2023
a65ae8b
Update README.md
rahuldamodar94 Dec 8, 2023
ba129d9
Merge pull request #504 from maticnetwork/rahuldamodar94-patch-1
py-zoid Dec 8, 2023
bfca87f
Added 1 token/s: 0x0d094ab5d3cd9eefa3cc929a8eadfa8d881fb84e
polygon-token-list-machine-user Dec 8, 2023
51f7fab
Added 1 token/s: 0xc87c8a36e3620e0af62edaf1e5cd0a20f47d76ef
polygon-token-list-machine-user Dec 9, 2023
fadb909
Added 1 token/s: 0x6df23b576bc552ff0a02c44946c9b95161e0e25d
polygon-token-list-machine-user Dec 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Polygon (previously Matic)
Copyright (c) 2023 PT Services DMCC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
# polygon-token-list
# Tokenlists

This repo contains the token lists to be used in Polygon products' interfaces.
This repo contains lists of tokens mapped to the Polygon chains that may be used in certain interfaces.

## Different Token Lists in JSON

The JSON schema for the tokens includes: chainId, name, address, decimals, symbol, logoURI (optional), tags (optional), and custom extensions metadata.

There are two token lists that we are maintaining currently on mainet and another one on testnet:
1. [Mapped Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/polygon.tokenlist.json) Contains tokens that are mapped to Polygon PoS and Polygon zkEVM. Anyone can propose updates to this list.

1. [Polygon Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/polygon.tokenlist.json) contains all the valid tokens that are mapped on the Polygon PoS chain. The community can raise token addition and updation issues to help us keep the token list up-to-date.

2. [Popular Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/polygonPopular.tokenlist.json) is a subset of the allTokens list. It contains the mostly used tokens on Polygon products.
2. [Popular Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/polygonPopular.tokenlist.json) Contains the top 100 most used tokens on the Polygon chains.

3. [Testnet Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/polygonTestnet.tokenlist.json) contains the tokens mapped on the Mumbai chain.

Apart from these 3 token list there is one blacklisted token list:

1. [Blacklist Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/blacklist.tokenlist.json) contains all the blacklisted tokens which should be filtered out from the UI.
4. [Blacklist Tokens List](https://api-polygon-tokens.polygon.technology/tokenlists/blacklist.tokenlist.json) Contains tokens that have been flagged for issues.

## Adding or Updating a token

Expand Down
7 changes: 7 additions & 0 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const zkevmPopularTokens = require("./tokens/zkevmPopularTokens.json");
const allPolygonTokens = require("./tokens/polygon.json");
const allPolygonTestnetTokens = require("./tokens/polygonTestnet.json");
const allPolygonPopularTokens = require("./tokens/polygonPopular.json");
const allPolygonTestnetPopularTokens = require("./tokens/polygonTestnetPopular.json");
const polygonTokensTokenList = require("./metadata/polygonTokens.json");
const popularTokenList = require("./metadata/popularTokens.json");
const testnetTokenList = require("./metadata/testnetTokens.json");
Expand All @@ -14,6 +15,7 @@ const zkevmPopularTokenList = require("./metadata/zkevmPopularTokens.json");
const allPolygonTokenList = require("./metadata/polygon.json");
const allPolygonTestnetTokenList = require("./metadata/polygonTestnet.json");
const allPolygonPopularTokenList = require("./metadata/polygonPopular.json");
const allPolygonTestnetPopularTokenList = require("./metadata/polygonTestnetPopular.json");

// Cross-chain lists
const ccTokenList = require("./metadata/crossChain.json");
Expand Down Expand Up @@ -63,6 +65,10 @@ module.exports = function buildList() {
timestamp,
tokens: allPolygonTestnetTokens,
}); // Aggregated Polygon Testnet Tokens List
Object.assign(allPolygonTestnetPopularTokenList, {
timestamp,
tokens: allPolygonTestnetPopularTokens,
}); // Aggregated Polygon Testnet Popular Tokens List
Object.assign(polygonTokensTokenList, { timestamp, tokens: polygonTokens }); // PolygonTokens tokenlist
Object.assign(popularTokenList, { timestamp, tokens: popularTokens }); // popular tokenlist
Object.assign(zkevmPopularTokenList, {
Expand Down Expand Up @@ -91,6 +97,7 @@ module.exports = function buildList() {
allPolygonTokenList,
allPolygonPopularTokenList,
allPolygonTestnetTokenList,
allPolygonTestnetPopularTokenList,
polygonTokensTokenList,
popularTokenList,
zkevmPopularTokenList,
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/polygon.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Polygon Tokens",
"name": "Mapped Tokens",
"version": {
"major": 1,
"minor": 0,
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/polygonTestnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Polygon Testnet",
"name": "Mapped Testnet",
"version": {
"major": 1,
"minor": 0,
Expand Down
68 changes: 68 additions & 0 deletions src/metadata/polygonTestnetPopular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"name": "Testnet Popular",
"version": {
"major": 1,
"minor": 0,
"patch": 0
},
"logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg",
"keywords": ["polygon", "default", "tokens", "PoS", "zkEVM"],
"tags": {
"stablecoin": {
"name": "Stablecoin",
"description": "Tokens that are fixed to an external asset, e.g. the US dollar"
},
"swapable": {
"name": "Swapable",
"description": "Tokens are eligible for swaps"
},
"native": {
"name": "Native",
"description": "Tokens are native tokens of the chain"
},
"erc20": {
"name": "ERC20",
"description": "Tokens are of ERC20 token type"
},
"pos": {
"name": "PoS",
"description": "PoS tokens"
},
"fx": {
"name": "Fx",
"description": "fx tokens"
},
"plasma": {
"name": "Plasma",
"description": "Plasma tokens"
},
"lxly": {
"name": "LxLy",
"description": "LxLy tokens"
},
"metaTx": {
"name": "MetaTx",
"description": "Tokens are eligible for meta transactions"
},
"customSig": {
"name": "Custom Withdraw Sig",
"description": "The token has a custom withdraw event signature"
},
"noDeposit": {
"name": "Deposit Disabled",
"description": "Tokens are not eligible for deposits"
},
"noWithdraw": {
"name": "Withdraw Disabled",
"description": "Tokens are not eligible for withdraws"
},
"customZkevmBridge": {
"name": "Custom Zkevm Bridge",
"description": "Tokens that are bridged using zkEVM messaging layer"
},
"legacy": {
"name": "Legacy Token",
"description": "Tokens that are legacy"
}
}
}
2 changes: 1 addition & 1 deletion src/metadata/polygonTokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Polygon Tokens",
"name": "Mapped Tokens",
"version": {
"major": 3,
"minor": 2,
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/testnetTokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Polygon Testnet",
"name": "Mapped Testnet",
"version": {
"major": 1,
"minor": 1,
Expand Down
Loading