Skip to content

Commit

Permalink
chains: add aleph zero
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMyrddin committed Sep 13, 2024
1 parent 9672fb9 commit 5a22ac0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
Binary file added src/assets/azero.png
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 @@ -2,6 +2,7 @@ const { version } = require("../package.json");
require('dotenv').config()
const arbitrumSepolia = require("./tokens/arbitrum-sepolia.json");
const arbitrumOne = require("./tokens/arbitrum-one.json");
const alephZero = require("./tokens/aleph-zero.json");
const gravity = require("./tokens/gravity.json");
const molten = require("./tokens/molten.json");
const proofOfPlay = require("./tokens/proof-of-play.json");
Expand All @@ -14,7 +15,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, ...gravity, ...molten, ...proofOfPlay, ...rari, ...reya, ...sanko, ...winr, ...xai]
const tokens = [...arbitrumSepolia, ...arbitrumOne, ...alephZero, ...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
45 changes: 45 additions & 0 deletions src/tokens/aleph-zero.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[
{
"chainId": 41455,
"symbol": "WAZERO",
"name": "Wrapped Aleph Zero",
"address": "0xb7Da55D7040ef9C887e20374D76A88F93A59119E",
"logoURI": "BASE_URL/assets/azero.png",
"decimals": 18,
"isWNative": true,
"common": true,
"defaultSwapOutput": true,
"quote": "native"
},
{
"chainId": 41455,
"symbol": "USDC",
"name": "USD Coin",
"address": "0x4Ca4B85Ead5EA49892d3a81DbfAE2f5c2F75d53D",
"logoURI": "BASE_URL/assets/usdc.svg",
"decimals": 6,
"common": true,
"defaultSwapInput": true,
"quote": "stable"
},
{
"chainId": 41455,
"symbol": "USDT",
"name": "Tether USD",
"address": "0xD648529D4803d3467bA8850577BEd4e4b8Ae583C",
"logoURI": "BASE_URL/assets/usdt.svg",
"decimals": 6,
"common": true,
"quote": "derived_stable"
},
{
"chainId": 41455,
"symbol": "WETH",
"name": "Wrapped Ether",
"address": "0xB3f0eE446723f4258862D949B4c9688e7e7d35d3",
"logoURI": "BASE_URL/assets/weth.svg",
"decimals": 18,
"common": true,
"quote": "other"
}
]

0 comments on commit 5a22ac0

Please sign in to comment.