Skip to content

Commit

Permalink
project: replace goerli w/ sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMyrddin committed Feb 14, 2024
1 parent f0acad0 commit 26e792d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 137 deletions.
4 changes: 2 additions & 2 deletions src/buildList.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const { version } = require("../package.json");
require('dotenv').config()
const arbitrumGoerli = require("./tokens/arbitrum-goerli.json");
const arbitrumSepolia = require("./tokens/arbitrum-sepolia.json");
const arbitrumOne = require("./tokens/arbitrum-one.json");

const BASE_URL = process.env.BASE_URL || "https://token-list.camelot.exchange"

module.exports = function buildList() {
const tokens = [...arbitrumGoerli, ...arbitrumOne]
const tokens = [...arbitrumSepolia, ...arbitrumOne]
const processedTokens = JSON.parse(JSON.stringify(tokens).replace(/BASE_URL/g, BASE_URL))
const parsed = version.split(".");

Expand Down
135 changes: 0 additions & 135 deletions src/tokens/arbitrum-goerli.json

This file was deleted.

23 changes: 23 additions & 0 deletions src/tokens/arbitrum-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[
{
"chainId": 421614,
"symbol": "WETH",
"name": "Wrapped ETH",
"address": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
"logoURI": "BASE_URL/assets/weth.svg",
"decimals": 18,
"isWNative": true,
"common": true,
"quote": "derived_native"
},
{
"chainId": 421614,
"symbol": "USDC",
"name": "USDC Sepolia",
"address": "0xb893E3334D4Bd6C5ba8277Fd559e99Ed683A9FC7",
"logoURI": "BASE_URL/assets/usdc.svg",
"decimals": 18,
"common": true,
"quote": "stable"
}
]

0 comments on commit 26e792d

Please sign in to comment.