diff --git a/src/build.js b/src/build.js index 6b1d47033..f0ae01bd1 100644 --- a/src/build.js +++ b/src/build.js @@ -9,6 +9,8 @@ const allPolygonPopularTokens = require("./tokens/polygonPopular.json"); const allPolygonTestnetPopularTokens = require("./tokens/polygonTestnetPopular.json"); const v2PopularTokens = require("./tokens/defaultTokens.json"); const v2MappedTokens = require("./tokens/mappedTokens.json"); +const v2PopularTokensTestnet = require("./tokens/defaultTokensTestnet.json"); +const v2MappedTokensTestnet = require("./tokens/mappedTokensTestnet.json"); const polygonTokensTokenList = require("./metadata/polygonTokens.json"); const popularTokenList = require("./metadata/popularTokens.json"); const testnetTokenList = require("./metadata/testnetTokens.json"); @@ -20,6 +22,8 @@ const allPolygonPopularTokenList = require("./metadata/polygonPopular.json"); const allPolygonTestnetPopularTokenList = require("./metadata/polygonTestnetPopular.json"); const v2PopularTokenList = require("./metadata/defaultTokens.json"); const v2MappedTokenList = require("./metadata/mappedTokens.json"); +const v2PopularTestnetTokenList = require("./metadata/defaultTokensTestnet.json"); +const v2MappedTestnetTokenList = require("./metadata/mappedTokensTestnet.json"); // Staging list const stagingTokenList = JSON.parse(JSON.stringify(polygonTokensTokenList)); @@ -54,6 +58,14 @@ module.exports = function buildList() { timestamp, tokens: v2MappedTokens, }); //v2 Mapped List + Object.assign(v2PopularTestnetTokenList, { + timestamp, + tokens: v2PopularTokensTestnet, + }); // v2 Default Testnet List + Object.assign(v2MappedTestnetTokenList, { + timestamp, + tokens: v2MappedTokensTestnet, + }); //v2 Mapped Testnet List Object.assign(allPolygonTokenList, { timestamp, tokens: allPolygonTokens }); // Aggregated Polygon Tokens List Object.assign(allPolygonPopularTokenList, { @@ -91,5 +103,7 @@ module.exports = function buildList() { stagingTokenList, v2PopularTokenList, v2MappedTokenList, + v2PopularTestnetTokenList, + v2MappedTestnetTokenList, }; }; diff --git a/src/metadata/crossChain.json b/src/metadata/crossChain.json deleted file mode 100644 index 467a30f8c..000000000 --- a/src/metadata/crossChain.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Cross Chain", - "version": { - "major": 1, - "minor": 0, - "patch": 1 - }, - "logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg", - "keywords": ["polygon", "crosschain", "swap", "tokens"], - "tags": { - "erc20": { - "name": "ERC20", - "description": "Tokens are of erc20 token type" - }, - "bep20": { - "name": "BEP20", - "description": "Tokens are of bep20 token type" - } - } -} diff --git a/src/metadata/defaultTokensTestnet.json b/src/metadata/defaultTokensTestnet.json new file mode 100644 index 000000000..032207ce3 --- /dev/null +++ b/src/metadata/defaultTokensTestnet.json @@ -0,0 +1,45 @@ +{ + "name": "Popular Tokens Testnet", + "version": 2, + "logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg", + "description": "Contains the top 100 most used tokens on the Polygon chains", + "tags": { + "lxly": { + "name": "lxly", + "description": "Token mapped through lxly bride" + }, + "pos": { + "name": "pos", + "description": "Token mapped through pos bride" + }, + "plasma": { + "name": "plasma", + "description": "Token mapped through plasma bride" + }, + "fx": { "name": "fx", "description": "Token mapped through fx bride" }, + "zkevmMessageBridge": { + "name": "zkevmMessageBridge", + "description": "Token mapped through zkevmMessageBridge bride" + }, + "customFx": { + "name": "customFx", + "description": "Token mapped through customFx bride" + }, + "erc20": { + "name": "erc20", + "description": "Token of ERC20 token type" + }, + "nativeToken": { + "name": "nativeToken", + "description": "Native token of the chain" + }, + "customWithdrawEventSig": { + "name": "customWithdrawEventSig", + "description": "The token has a custom withdraw event signature" + }, + "noDeposit": { + "name": "noDeposit", + "description": "Token not eligible for deposits" + } + } +} diff --git a/src/metadata/mappedTokensTestnet.json b/src/metadata/mappedTokensTestnet.json new file mode 100644 index 000000000..97baa39d3 --- /dev/null +++ b/src/metadata/mappedTokensTestnet.json @@ -0,0 +1,45 @@ +{ + "name": "Mapped Tokens Testnet", + "version": 2, + "logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg", + "description": "Contains tokens that are mapped to Polygon PoS and Polygon zkEVM. Anyone can propose updates to this list.", + "tags": { + "lxly": { + "name": "lxly", + "description": "Token mapped through lxly bride" + }, + "pos": { + "name": "pos", + "description": "Token mapped through pos bride" + }, + "plasma": { + "name": "plasma", + "description": "Token mapped through plasma bride" + }, + "fx": { "name": "fx", "description": "Token mapped through fx bride" }, + "zkevmMessageBridge": { + "name": "zkevmMessageBridge", + "description": "Token mapped through zkevmMessageBridge bride" + }, + "customFx": { + "name": "customFx", + "description": "Token mapped through customFx bride" + }, + "erc20": { + "name": "erc20", + "description": "Token of ERC20 token type" + }, + "nativeToken": { + "name": "nativeToken", + "description": "Native token of the chain" + }, + "customWithdrawEventSig": { + "name": "customWithdrawEventSig", + "description": "The token has a custom withdraw event signature" + }, + "noDeposit": { + "name": "noDeposit", + "description": "Token not eligible for deposits" + } + } +} diff --git a/src/tokens/defaultTokensTestnet.json b/src/tokens/defaultTokensTestnet.json new file mode 100644 index 000000000..3e5f48cf9 --- /dev/null +++ b/src/tokens/defaultTokensTestnet.json @@ -0,0 +1,328 @@ +[ + { + "chainId": 5, + "name": "Ether - PoS", + "symbol": "ETH", + "decimals": 18, + "originTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", + "originNetworkId": 0, + "tags": ["nativeToken"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + }, + { + "chainId": 1442, + "wrappedTokenAddress": "0x0000000000000000000000000000000000000000", + "wrappedNetworkId": 1, + "tags": ["lxly", "nativeToken"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Matic", + "symbol": "MATIC", + "decimals": 18, + "originTokenAddress": "0x499d11e0b6eac7c0593d8fb292dcbbf815fb29ae", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0x0000000000000000000000000000000000001010", + "wrappedNetworkId": -1, + "tags": ["plasma", "nativeToken"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg" + }, + { + "chainId": 5, + "name": "Dummy ERC20", + "symbol": "DERC20", + "decimals": 18, + "originTokenAddress": "0x655f2166b0709cd575202630952d71e2bb0d61af", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + }, + { + "chainId": 80001, + "wrappedTokenAddress": "0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Test Token", + "symbol": "TST", + "decimals": 18, + "originTokenAddress": "0x3f152b63ec5ca5831061b2dccfb29a874c317502", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0xa0d9f8282cd48d22fd875e43be32793124f8ed47", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "USD Coin", + "symbol": "USDC", + "decimals": 18, + "originTokenAddress": "0xd35cceead182dcee0f148ebac9447da2c4d449c4", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0xd0c02072a1132c8e6e63e57d11b97429e9628cba", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Tether USD", + "symbol": "USDT", + "decimals": 18, + "originTokenAddress": "0x509ee0d083ddf8ac028f2a56731412edd63223b9", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x7554db7c0be89cfdaaa38dbb8c8cf5b78410e45b", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Sample USDC", + "symbol": "sUSDC", + "decimals": 18, + "originTokenAddress": "0xcdb5456dcdfe09e7cb78be79c8e4bf3c7498e217", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x20e8337597474636f95b68594ecb8dadec4d3604", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20", "customZkevmBridge"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Dai Stablecoin", + "symbol": "DAI", + "decimals": 18, + "originTokenAddress": "0x11fe4b6ae13d2a6055c8d9cf65c55bac32b5d844", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x755cb8a808c99706afaa34547204f17cd33c6316", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20", "customZkevmBridge"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/dai.svg" + }, + { + "chainId": 5, + "name": "Matic Token", + "symbol": "MATIC", + "decimals": 18, + "originTokenAddress": "0x4701aa9471d7bfac765d87dcb1ea6bb23ad32733", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x244f21e2cdb60e9b6c9aebb96ffe04489831f881", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "Clober DAI", + "symbol": "DAI", + "decimals": 18, + "originTokenAddress": "0x592fd6f9c35229cc0c4c64e61f8f2d6517f6cc65", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0x592fd6f9c35229cc0c4c64e61f8f2d6517f6cc65", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "Wrapped Ether", + "symbol": "WETH", + "decimals": 18, + "originTokenAddress": "0xb008b98c2a3eb376c9b0dcf4e626ffd7de1c5d67", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0xb008b98c2a3eb376c9b0dcf4e626ffd7de1c5d67", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Dai Stablecoin", + "symbol": "DAI", + "decimals": 18, + "originTokenAddress": "0xd7e55eb808693d5ff81a3391c59886c7e0449f35", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x0cda85ade5c84c386b69b562d1722642748dd194", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Uniswap", + "symbol": "UNI", + "decimals": 18, + "originTokenAddress": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x378588d64a464d61c646e5e86f4da5277e65802c", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "zkEVM Test Token", + "symbol": "ZKTST", + "decimals": 18, + "originTokenAddress": "0xd23d6ec4bf2ea11a6d5a6efb25ad1aaa6765fe66", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0xd23d6ec4bf2ea11a6d5a6efb25ad1aaa6765fe66", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "bb-native", + "symbol": "bbntv", + "decimals": 18, + "originTokenAddress": "0xd1f91a9be1cc816e317fe8c69f32589182b85c09", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0xd1f91a9be1cc816e317fe8c69f32589182b85c09", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "BLUEBERRYNATIVE", + "symbol": "BLBRN", + "decimals": 18, + "originTokenAddress": "0x533dc89624dcc012c7323b41f286bd2df478800b", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0x533dc89624dcc012c7323b41f286bd2df478800b", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Wrapped Ether", + "symbol": "WETH", + "decimals": 18, + "originTokenAddress": "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x3ce1bab7b7bae26775f81ee3576a99f0ead5b33c", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Georli TestNet Bit Token", + "symbol": "BIT", + "decimals": 18, + "originTokenAddress": "0x5a94dc6cc85fda49d8e9a8b85dde8629025c42be", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x0bb4a5e24045b7744e771c4fb5bc97f8a8073d63", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + } +] diff --git a/src/tokens/mappedTokensTestnet.json b/src/tokens/mappedTokensTestnet.json new file mode 100644 index 000000000..3e5f48cf9 --- /dev/null +++ b/src/tokens/mappedTokensTestnet.json @@ -0,0 +1,328 @@ +[ + { + "chainId": 5, + "name": "Ether - PoS", + "symbol": "ETH", + "decimals": 18, + "originTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", + "originNetworkId": 0, + "tags": ["nativeToken"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + }, + { + "chainId": 1442, + "wrappedTokenAddress": "0x0000000000000000000000000000000000000000", + "wrappedNetworkId": 1, + "tags": ["lxly", "nativeToken"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Matic", + "symbol": "MATIC", + "decimals": 18, + "originTokenAddress": "0x499d11e0b6eac7c0593d8fb292dcbbf815fb29ae", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0x0000000000000000000000000000000000001010", + "wrappedNetworkId": -1, + "tags": ["plasma", "nativeToken"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg" + }, + { + "chainId": 5, + "name": "Dummy ERC20", + "symbol": "DERC20", + "decimals": 18, + "originTokenAddress": "0x655f2166b0709cd575202630952d71e2bb0d61af", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + }, + { + "chainId": 80001, + "wrappedTokenAddress": "0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Test Token", + "symbol": "TST", + "decimals": 18, + "originTokenAddress": "0x3f152b63ec5ca5831061b2dccfb29a874c317502", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 80001, + "wrappedTokenAddress": "0xa0d9f8282cd48d22fd875e43be32793124f8ed47", + "wrappedNetworkId": -1, + "tags": ["pos", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "USD Coin", + "symbol": "USDC", + "decimals": 18, + "originTokenAddress": "0xd35cceead182dcee0f148ebac9447da2c4d449c4", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0xd0c02072a1132c8e6e63e57d11b97429e9628cba", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Tether USD", + "symbol": "USDT", + "decimals": 18, + "originTokenAddress": "0x509ee0d083ddf8ac028f2a56731412edd63223b9", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x7554db7c0be89cfdaaa38dbb8c8cf5b78410e45b", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Sample USDC", + "symbol": "sUSDC", + "decimals": 18, + "originTokenAddress": "0xcdb5456dcdfe09e7cb78be79c8e4bf3c7498e217", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x20e8337597474636f95b68594ecb8dadec4d3604", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20", "customZkevmBridge"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg" + }, + { + "chainId": 5, + "name": "Dai Stablecoin", + "symbol": "DAI", + "decimals": 18, + "originTokenAddress": "0x11fe4b6ae13d2a6055c8d9cf65c55bac32b5d844", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x755cb8a808c99706afaa34547204f17cd33c6316", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20", "customZkevmBridge"] + } + ], + "logoURI": "https://assets.polygon.technology/tokenAssets/dai.svg" + }, + { + "chainId": 5, + "name": "Matic Token", + "symbol": "MATIC", + "decimals": 18, + "originTokenAddress": "0x4701aa9471d7bfac765d87dcb1ea6bb23ad32733", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x244f21e2cdb60e9b6c9aebb96ffe04489831f881", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "Clober DAI", + "symbol": "DAI", + "decimals": 18, + "originTokenAddress": "0x592fd6f9c35229cc0c4c64e61f8f2d6517f6cc65", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0x592fd6f9c35229cc0c4c64e61f8f2d6517f6cc65", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "Wrapped Ether", + "symbol": "WETH", + "decimals": 18, + "originTokenAddress": "0xb008b98c2a3eb376c9b0dcf4e626ffd7de1c5d67", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0xb008b98c2a3eb376c9b0dcf4e626ffd7de1c5d67", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Dai Stablecoin", + "symbol": "DAI", + "decimals": 18, + "originTokenAddress": "0xd7e55eb808693d5ff81a3391c59886c7e0449f35", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x0cda85ade5c84c386b69b562d1722642748dd194", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Uniswap", + "symbol": "UNI", + "decimals": 18, + "originTokenAddress": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x378588d64a464d61c646e5e86f4da5277e65802c", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "zkEVM Test Token", + "symbol": "ZKTST", + "decimals": 18, + "originTokenAddress": "0xd23d6ec4bf2ea11a6d5a6efb25ad1aaa6765fe66", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0xd23d6ec4bf2ea11a6d5a6efb25ad1aaa6765fe66", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "bb-native", + "symbol": "bbntv", + "decimals": 18, + "originTokenAddress": "0xd1f91a9be1cc816e317fe8c69f32589182b85c09", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0xd1f91a9be1cc816e317fe8c69f32589182b85c09", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 1442, + "name": "BLUEBERRYNATIVE", + "symbol": "BLBRN", + "decimals": 18, + "originTokenAddress": "0x533dc89624dcc012c7323b41f286bd2df478800b", + "originNetworkId": 1, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 5, + "wrappedTokenAddress": "0x533dc89624dcc012c7323b41f286bd2df478800b", + "wrappedNetworkId": 0, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Wrapped Ether", + "symbol": "WETH", + "decimals": 18, + "originTokenAddress": "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x3ce1bab7b7bae26775f81ee3576a99f0ead5b33c", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + }, + { + "chainId": 5, + "name": "Georli TestNet Bit Token", + "symbol": "BIT", + "decimals": 18, + "originTokenAddress": "0x5a94dc6cc85fda49d8e9a8b85dde8629025c42be", + "originNetworkId": 0, + "tags": ["erc20"], + "wrappedTokens": [ + { + "chainId": 1442, + "wrappedTokenAddress": "0x0bb4a5e24045b7744e771c4fb5bc97f8a8073d63", + "wrappedNetworkId": 1, + "tags": ["lxly", "erc20"] + } + ] + } +] diff --git a/src/write.js b/src/write.js index 43edf1fd5..140db7150 100644 --- a/src/write.js +++ b/src/write.js @@ -28,6 +28,30 @@ fs.writeFile( } ); +// v2 Popular Testnet List +fs.writeFile( + "build/tokenlists/popularTestnet.tokenlist.json", + JSON.stringify(tokenlists.v2PopularTestnetTokenList, null, 2), + (err) => { + if (err) { + throw err; + } + console.log("popularTestnet.tokenlist.json successfully built"); + } +); + +// v2 Mapped Testnet List +fs.writeFile( + "build/tokenlists/mappedTestnet.tokenlist.json", + JSON.stringify(tokenlists.v2MappedTestnetTokenList, null, 2), + (err) => { + if (err) { + throw err; + } + console.log("mappedTestnet.tokenlist.json successfully built"); + } +); + // Aggregated List fs.writeFile( "build/tokenlists/polygon.tokenlist.json",