From d53addfbed35d3ed7e90c3422930d211254e2d60 Mon Sep 17 00:00:00 2001 From: Hyungsuk Kang Date: Tue, 16 Jul 2024 08:28:46 +0900 Subject: [PATCH] update buildlist --- .github/workflows/deploy.yaml | 6 ++--- README.md | 2 +- package.json | 22 +++++++++---------- src/buildList.js | 6 ++--- src/tokens/base.json | 8 +++++++ ...fault.test.js => standard-default.test.js} | 0 6 files changed, 26 insertions(+), 18 deletions(-) rename test/{uniswap-default.test.js => standard-default.test.js} (100%) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index d0167b414..d5e0e22b2 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -53,8 +53,8 @@ jobs: id: upload uses: anantaramdas/ipfs-pinata-deploy-action@a551f37c17ec3961df7c3ad52e1cd266dfd3d7e7 with: - pin-name: Uniswap Default Token List - path: "build/uniswap-default.tokenlist.json" + pin-name: Standard Default Token List + path: "build/standard-default.tokenlist.json" pinata-api-key: ${{ secrets.PINATA_API_KEY }} pinata-secret-api-key: ${{ secrets.PINATA_API_SECRET_KEY }} @@ -63,6 +63,6 @@ jobs: CLOUDFLARE_TOKEN: ${{ env.CLOUDFLARE_TOKEN }} CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }} CLOUDFLARE_GATEWAY_ID: ${{ secrets.CLOUDFLARE_GATEWAY_ID }} - uses: Uniswap/cloudflare-update-web3-gateway@b3205288b1c6d0acb63fa3bd8fb686c72a9e3f3e + uses: stadardweb3/cloudflare-update-web3-gateway@b3205288b1c6d0acb63fa3bd8fb686c72a9e3f3e with: cid: ${{ steps.upload.outputs.hash }} diff --git a/README.md b/README.md index 3d70ac353..97a071c3b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# @uniswap/default-token-list +# @standardweb3/default-token-list [![Tests](https://github.com/Uniswap/token-lists/workflows/Tests/badge.svg)](https://github.com/Uniswap/default-token-list/actions?query=workflow%3ATests) [![npm](https://img.shields.io/npm/v/@uniswap/default-token-list)](https://unpkg.com/@uniswap/default-token-list@latest/) diff --git a/package.json b/package.json index f43f3f0ea..419eb90a1 100644 --- a/package.json +++ b/package.json @@ -1,32 +1,32 @@ { - "name": "@uniswap/default-token-list", - "version": "12.4.0", - "description": "The Uniswap default token list", - "main": "build/uniswap-default.tokenlist.json", + "name": "@standardweb3/default-token-list", + "version": "0.0.0", + "description": "Standard default token list", + "main": "build/standard-default.tokenlist.json", "scripts": { "test": "mocha", - "build": "rimraf build && mkdir -p build && node src/write.js > build/uniswap-default.tokenlist.json", + "build": "rimraf build && mkdir -p build && node src/write.js > build/standard-default.tokenlist.json", "prepublishOnly": "npm test && npm run build" }, "files": [ - "build/uniswap-default.tokenlist.json" + "build/standard-default.tokenlist.json" ], "repository": { "type": "git", - "url": "git+https://github.com/Uniswap/default-token-list.git" + "url": "git+https://github.com/standardweb3/default-token-list.git" }, "keywords": [ - "uniswap", + "standard", "default", "token", "list" ], - "author": "Moody Salem", + "author": "Hyungsuk Kang", "license": "GPL-3.0-or-later", "bugs": { - "url": "https://github.com/Uniswap/default-token-list/issues" + "url": "https://github.com/standardweb3/default-token-list/issues" }, - "homepage": "https://github.com/Uniswap/default-token-list#readme", + "homepage": "https://github.com/standardweb3/default-token-list#readme", "devDependencies": { "@ethersproject/address": "^5.0.2", "@uniswap/token-list-bridge-utils": "^2.3.0", diff --git a/src/buildList.js b/src/buildList.js index 4daf4cdc1..a96afca6a 100644 --- a/src/buildList.js +++ b/src/buildList.js @@ -20,7 +20,7 @@ const bridgeUtils = require("@uniswap/token-list-bridge-utils"); module.exports = function buildList() { const parsed = version.split("."); const l1List = { - name: "Uniswap Labs Default", + name: "Standard Labs Default", timestamp: new Date().toISOString(), version: { major: +parsed[0], @@ -28,8 +28,8 @@ module.exports = function buildList() { patch: +parsed[2], }, tags: {}, - logoURI: "ipfs://QmNa8mQkrNKp1WEEeGjFezDmDeodkWRevGFN8JCV7b4Xir", - keywords: ["uniswap", "default"], + logoURI: "https://avatars.githubusercontent.com/u/73440097?s=200&v=4", + keywords: ["standard", "default"], tokens: [ ...mainnet, ...ropsten, diff --git a/src/tokens/base.json b/src/tokens/base.json index 8128331a2..de1f0c69e 100644 --- a/src/tokens/base.json +++ b/src/tokens/base.json @@ -7,6 +7,14 @@ "decimals": 6, "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png" }, + { + "chainId": 8453, + "symbol": "DEGEN", + "name": "Degen (Base)", + "logoURI": "https://assets.coingecko.com/coins/images/34515/large/android-chrome-512x512.png?1706198225", + "address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed", + "decimals": 18 + }, { "chainId": 8453, "address": "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22", diff --git a/test/uniswap-default.test.js b/test/standard-default.test.js similarity index 100% rename from test/uniswap-default.test.js rename to test/standard-default.test.js