Skip to content

Commit

Permalink
chains: add REYA
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMyrddin committed Jun 20, 2024
1 parent 240b6a9 commit 57cc2ee
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/buildList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ require('dotenv').config()
const arbitrumSepolia = require("./tokens/arbitrum-sepolia.json");
const arbitrumOne = require("./tokens/arbitrum-one.json");
const rari = require("./tokens/rari.json");
const reya = require("./tokens/reya.json");
const sanko = require("./tokens/sanko.json");
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, ...rari, ...sanko, ...xai]
const tokens = [...arbitrumSepolia, ...arbitrumOne, ...rari, ...reya, ...sanko, ...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/reya.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"chainId": 1729,
"symbol": "WETH",
"name": "Wrapped Ether",
"address": "0x6B48C2e6A32077ec17e8Ba0d98fFc676dfab1A30",
"logoURI": "BASE_URL/assets/weth.svg",
"decimals": 18,
"isWNative": true,
"common": true,
"defaultSwapInput": true,
"quote": "native"
},
{
"chainId": 1729,
"symbol": "rUSD",
"name": "Reya USD",
"address": "0xa9F32a851B1800742e47725DA54a09A7Ef2556A3",
"logoURI": "BASE_URL/assets/usdc.svg",
"decimals": 6,
"common": true,
"defaultSwapOutput": true,
"quote": "stable"
}
]

0 comments on commit 57cc2ee

Please sign in to comment.