Skip to content

Commit

Permalink
chains: add geist
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMyrddin committed Nov 21, 2024
1 parent 0c69725 commit df3032c
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/assets/ghst.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/buildList.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const arbitrumSepolia = require("./tokens/arbitrum-sepolia.json");
const arbitrumOne = require("./tokens/arbitrum-one.json");
const alephZero = require("./tokens/aleph-zero.json");
const apechain = require("./tokens/apechain.json");
const geist = require("./tokens/geist.json");
const gravity = require("./tokens/gravity.json");
const molten = require("./tokens/molten.json");
const proofOfPlay = require("./tokens/proof-of-play.json");
Expand All @@ -16,7 +17,7 @@ const xai = require("./tokens/xai.json");
const BASE_URL = process.env.BASE_URL || "https://token-list.camelot.exchange"

module.exports = function buildList() {
const tokens = [...arbitrumSepolia, ...arbitrumOne, ...alephZero, ...apechain, ...gravity, ...molten, ...proofOfPlay, ...rari, ...reya, ...sanko, ...winr, ...xai]
const tokens = [...arbitrumSepolia, ...arbitrumOne, ...alephZero, ...apechain, ...geist, ...gravity, ...molten, ...proofOfPlay, ...rari, ...reya, ...sanko, ...winr, ...xai]
const processedTokens = JSON.parse(JSON.stringify(tokens).replace(/BASE_URL/g, BASE_URL))
const parsed = version.split(".");

Expand Down
25 changes: 25 additions & 0 deletions src/tokens/geist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"chainId": 63157,
"symbol": "WGHST",
"name": "Wrapped GHST",
"address": "0x74e2051A9Cd994F83f2d789448dCa4a3e879964c",
"logoURI": "BASE_URL/assets/ghst.svg",
"decimals": 18,
"isWNative": true,
"common": true,
"defaultSwapOutput": true,
"quote": "native"
},
{
"chainId": 63157,
"symbol": "USDC",
"name": "USD Coin",
"address": "0xCFa0bC1ED6135166e9163211b4Ca566a0EE81e35",
"logoURI": "BASE_URL/assets/usdc.svg",
"decimals": 6,
"common": true,
"defaultSwapInput": true,
"quote": "stable"
}
]

0 comments on commit df3032c

Please sign in to comment.