Skip to content

Commit

Permalink
Add wc tokens (#1874)
Browse files Browse the repository at this point in the history
* add wc tokens

* 12.22.0

* checksum address
  • Loading branch information
matteenm authored Oct 10, 2024
1 parent 0a03e02 commit 36d59e0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
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"
}
]

0 comments on commit 36d59e0

Please sign in to comment.