From c0b8495913cca1608280c94c1b66409eccb6ff01 Mon Sep 17 00:00:00 2001 From: Sameep Singhania Date: Tue, 27 Aug 2024 14:30:12 +0530 Subject: [PATCH] Added Ethereum --- package.json | 2 +- src/buildList.js | 4 +- src/tokens/ethereum.json | 82 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 src/tokens/ethereum.json diff --git a/package.json b/package.json index 82d1ef0..1ab72d9 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quickswap-default-token-list", - "version": "1.3.50", + "version": "1.3.51", "description": "◦ The Quickswap default token list", "main": "build/quickswap-default.tokenlist.json", "scripts": { diff --git a/src/buildList.js b/src/buildList.js index cc217ef..10b155a 100755 --- a/src/buildList.js +++ b/src/buildList.js @@ -12,6 +12,7 @@ const tIMX = require('./tokens/tIMX.json'); const IMX = require('./tokens/IMX.json'); const ASTARZKEVM = require('./tokens/astarZKEVM.json'); const XLAYER = require('./tokens/xlayer.json'); +const ETHEREUM = require('./tokens/ethereum.json'); module.exports = function buildList() { const parsed = version.split('.'); @@ -42,7 +43,8 @@ module.exports = function buildList() { ...tIMX, ...IMX, ...ASTARZKEVM, - ...XLAYER + ...XLAYER, + ...ETHEREUM ] // sort them by symbol for easy readability .sort((t1, t2) => { diff --git a/src/tokens/ethereum.json b/src/tokens/ethereum.json new file mode 100644 index 0000000..f5322a0 --- /dev/null +++ b/src/tokens/ethereum.json @@ -0,0 +1,82 @@ +[ + { + "name": "Matic", + "address": "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0", + "symbol": "MATIC", + "decimals": 18, + "chainId": 1, + "logoURI": "https://i.imgur.com/uIExoAr.png" + }, + { + "name": "Dai Stablecoin", + "address": "0x6b175474e89094c44da98b954eedeac495271d0f", + "symbol": "DAI", + "decimals": 18, + "chainId": 1, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png" + }, + { + "name": "Tether USD", + "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", + "symbol": "USDT", + "decimals": 6, + "chainId": 1, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png" + }, + { + "name": "USDC", + "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + "symbol": "USDC", + "decimals": 6, + "chainId": 1, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png" + }, + { + "name": "Wrapped BTC", + "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + "symbol": "WBTC", + "decimals": 8, + "chainId": 137, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png" + }, + { + "name": "Wrapped Ether", + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "symbol": "WETH", + "decimals": 18, + "chainId": 1, + "logoURI": "https://s2.coinmarketcap.com/static/img/coins/64x64/2396.png" + }, + { + "name": "QuickSwap", + "address": "0xd2ba23de8a19316a638dc1e7a9adda1d74233368", + "symbol": "QUICK", + "decimals": 18, + "chainId": 1, + "logoURI": "https://i.ibb.co/HGWTLM7/Quick-Icon-V2.png" + }, + { + "name": "ChainLink Token", + "address": "0x514910771af9ca656af840dff83e8264ecf986ca", + "symbol": "LINK", + "decimals": 18, + "chainId": 1, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x514910771AF9Ca656af840dff83E8264EcF986CA/logo.png" + }, + { + "name": "Aave", + "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9", + "symbol": "AAVE", + "decimals": 18, + "chainId": 1, + "logoURI": "https://etherscan.io/token/images/aave_32.png" + }, + { + "name": "Uniswap", + "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + "symbol": "UNI", + "decimals": 18, + "chainId": 1, + "logoURI": "https://raw.githubusercontent.com/sameepsi/quickswap-interface/master/public/favicon1.png" + } +] \ No newline at end of file