Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wc tokens #1874

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uniswap/default-token-list",
"version": "12.21.0",
"version": "12.22.0",
"description": "The Uniswap default token list",
"main": "build/uniswap-default.tokenlist.json",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/buildList.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const avalanche = require("./tokens/avalanche.json");
const base = require("./tokens/base.json");
const blast = require("./tokens/blast.json");
const zksync = require("./tokens/zksync.json");
const worldchain = require("./tokens/worldchain.json");

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

Expand Down Expand Up @@ -48,6 +49,7 @@ module.exports = function buildList() {
...base,
...blast,
...zksync,
...worldchain,
]
// sort them by symbol for easy readability
.sort((t1, t2) => {
Expand Down
26 changes: 26 additions & 0 deletions src/tokens/worldchain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"chainId": 480,
"address": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
"name": "Bridged USDC",
"symbol": "USDC.e",
"decimals": 6,
"logoURI": "https://assets.coingecko.com/coins/images/35218/large/USDC_Icon.png?1707908537"
},
{
"chainId": 480,
"address": "0x4200000000000000000000000000000000000006",
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
},
{
"chainId": 480,
"address": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3",
"name": "Wrapped BTC",
"symbol": "WBTC",
"decimals": 8,
"logoURI": "https://assets.coingecko.com/coins/images/7598/large/wrapped_bitcoin_wbtc.png?1696507857"
}
]
Loading