Skip to content

Commit

Permalink
feat: add scroll token list
Browse files Browse the repository at this point in the history
  • Loading branch information
gavriliumircea committed Nov 6, 2023
1 parent 0a9cdae commit 134d4c3
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/buildList.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const optimism_mainnet = require("./tokens/optimism_mainnet.json");
const polygon_mainnet = require("./tokens/polygon_mainnet.json");
const ronin_mainnet = require("./tokens/ronin_mainnet.json");
const ronin_testnet = require("./tokens/ronin_testnet.json");
const scroll_testnet = require("./tokens/scroll_mainnet.json");

const bridgeUtils = require("@uniswap/token-list-bridge-utils");

Expand Down Expand Up @@ -39,6 +40,7 @@ module.exports = function buildList() {
...polygon_mainnet,
...ronin_mainnet,
...ronin_testnet,
...scroll_testnet,
]
// sort them by symbol for easy readability
.sort((t1, t2) => {
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/ethereum_mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@
"logoURI": "https://files.sablier.com/tokens/TKST.png",
"name": "TokenSight",
"symbol": "TKST"
}
},
{
"address": "0x0000000000085d4780B73119b644AE5ecd22b376",
"chainId": 1,
Expand Down
90 changes: 90 additions & 0 deletions src/tokens/scroll_mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
[
{
"address": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"chainId": 534352,
"decimals": 6,
"logoURI": "https://files.sablier.com/tokens/USDT.png",
"name": "Tether USD",
"symbol": "USDT"
},
{
"address": "0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4",
"chainId": 534352,
"decimals": 6,
"logoURI": "https://files.sablier.com/tokens/USDC.png",
"name": "USD Coin",
"symbol": "USDC"
},
{
"address": "0x3c1bca5a656e69edcd0d4e36bebb3fcdaca60cf1",
"chainId": 534352,
"decimals": 8,
"logoURI": "https://files.sablier.com/tokens/WBTC.png",
"name": "Wrapped BTC",
"symbol": "WBTC"
},
{
"address": "0x434cda25e8a2ca5d9c1c449a8cb6bcbf719233e8",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984/logo.png",
"name": "Uniswap",
"symbol": "UNI"
},
{
"address": "0xca77eb3fefe3725dc33bccb54edefc3d9f764f97",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://files.sablier.com/tokens/DAI.png",
"name": "Dai Stablecoin",
"symbol": "DAI"
},
{
"address": "0x79379c0e09a41d7978f883a56246290ee9a8c4d3",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/polygon/assets/0xD6DF932A45C0f255f85145f286eA0b292B21C90B/logo.png",
"name": "Aave Token",
"symbol": "AAVE"
},
{
"address": "0x1b896893dfc86bb67cf57767298b9073d2c1ba2c",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://files.sablier.com/tokens/CAKE.png",
"name": "PancakeSwap Token",
"symbol": "CAKE"
},
{
"address": "0xb755039edc7910c1f1bd985d48322e55a31ac0bf",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://scrollscan.com/token/images/curvedao_ofc_32.png",
"name": "Curve DAO Token",
"symbol": "CRV"
},
{
"address": "0xedeabc3a1e7d21fe835ffa6f83a710c70bb1a051",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://scrollscan.com/token/images/liquitylusd_32.png",
"name": "LUSD Stablecoin",
"symbol": "LUSD"
},
{
"address": "0x6a28e90582c583fcd3347931c544819c31e9d0e0",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xba100000625a3754423978a60c9317c58a424e3D/logo.png",
"name": "Balancer",
"symbol": "BAL"
},
{
"address": "0x5300000000000000000000000000000000000004",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://ethereum-optimism.github.io/data/WETH/logo.png",
"name": "Wrapped Ether",
"symbol": "WETH"
}
]

0 comments on commit 134d4c3

Please sign in to comment.