diff --git a/.gitignore b/.gitignore index c6bba59..c7f406b 100644 --- a/.gitignore +++ b/.gitignore @@ -119,6 +119,9 @@ dist # TernJS port file .tern-port +# Stores VSCode workspace state +.vscode + # Stores VSCode versions used for testing VSCode extensions .vscode-test diff --git a/.prettierrc.json b/.prettierrc.json index 0967ef4..80d9433 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1 +1,10 @@ -{} +{ + "overrides": [ + { + "files": "*.svg", + "options": { + "parser": "html" + } + } + ] +} diff --git a/lint-staged.config.js b/lint-staged.config.js index 171d73d..58a75b8 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -2,8 +2,8 @@ const formatFiles = "prettier --ignore-unknown --write"; const sortPackageJson = "better-sort-package-json"; module.exports = { - "!(*.{js,json,md,ts,tsx,yml}|package.json)": [formatFiles], - "*.{js,md,ts,tsx,yml}": [formatFiles], + "!(*.{js,json,md,svg,ts,tsx,yml}|package.json)": [formatFiles], + "*.{js,md,svg,ts,tsx,yml}": [formatFiles], "src/*.json": [formatFiles], "package.json": [sortPackageJson, formatFiles], }; diff --git a/package-lock.json b/package-lock.json index c440d52..94fd2ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hemilabs/token-list", - "version": "1.0.2", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hemilabs/token-list", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "devDependencies": { "@commitlint/cli": "19.5.0", diff --git a/package.json b/package.json index 20bb2f2..1bf2266 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hemilabs/token-list", - "version": "1.0.2", + "version": "1.1.0", "description": "List of ERC-20 tokens in the Hemi Network chains", "bugs": { "url": "https://github.com/hemilabs/token-list/issues" diff --git a/src/hemi.tokenlist.json b/src/hemi.tokenlist.json index 561be5b..8375ded 100644 --- a/src/hemi.tokenlist.json +++ b/src/hemi.tokenlist.json @@ -3,16 +3,16 @@ "timestamp": "2024-05-07T22:03:02.686Z", "version": { "major": 1, - "minor": 0, - "patch": 2 + "minor": 1, + "patch": 0 }, "tokens": [ { "address": "0xec46E0EFB2EA8152da0327a5Eb3FF9a43956F13e", "chainId": 743111, "decimals": 18, - "logoURI": "https://raw.githubusercontent.com/ethereum-optimism/ethereum-optimism.github.io/master/data/DAI/logo.svg", - "name": "DAI", + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/dai.svg", + "name": "Dai", "symbol": "DAI", "extensions": { "birthBlock": 71589, @@ -46,7 +46,7 @@ } } }, - "logoURI": "https://raw.githubusercontent.com/ethereum-optimism/ethereum-optimism.github.io/master/data/USDT/logo.png", + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/usdt.svg", "name": "Tether", "symbol": "USDT.e" }, @@ -62,9 +62,217 @@ } } }, - "logoURI": "https://raw.githubusercontent.com/ethereum-optimism/ethereum-optimism.github.io/master/data/USDC/logo.png", + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/usdc.svg", "name": "USD Coin", "symbol": "USDC.e" + }, + { + "address": "0x21c1F6be5765d378AdD561edDdD1127a65df3820", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 11835649, + "bridgeInfo": { + "1": { + "tokenAddress": "0x1b40183EFB4Dd766f11bDa7A7c3AD8982e998421" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/vsp.svg", + "name": "Vesper", + "symbol": "VSP" + }, + { + "address": "0x54dF33333C78C13B1448CB35A0E49F75C3D4347F", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 15398777, + "bridgeInfo": { + "1": { + "tokenAddress": "0x2Ebd53d035150f328bd754D6DC66B99B0eDB89aa" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/met.svg", + "name": "Metronome", + "symbol": "MET" + }, + { + "address": "0x98D6E32f3092D39A6c0B36062cC9EB1E52Ccc99D", + "chainId": 43111, + "decimals": 8, + "extensions": { + "birthBlock": 13411764, + "bridgeInfo": { + "1": { + "tokenAddress": "0x4b1D0b9F081468D780Ca1d5d79132b64301085d1" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/lmr.svg", + "name": "Lumerin", + "symbol": "LMR" + }, + { + "address": "0x6c851F501a3F24E29A8E39a29591cddf09369080", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 8928158, + "bridgeInfo": { + "1": { + "tokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/dai.svg", + "name": "Dai", + "symbol": "DAI" + }, + { + "address": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "chainId": 43111, + "decimals": 8, + "extensions": { + "birthBlock": 6766284, + "bridgeInfo": { + "1": { + "tokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/wbtc.svg", + "name": "wBTC", + "symbol": "WBTC" + }, + { + "address": "0x6fD31f56eb971113bEA12C5883deC68337b3B7b5", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 10861674, + "bridgeInfo": { + "1": { + "tokenAddress": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/uni.svg", + "name": "Uniswap", + "symbol": "UNI" + }, + { + "address": "0x584666A5024B9Fe9e6a9caCb834F42CCaA248D08", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 4281611, + "bridgeInfo": { + "1": { + "tokenAddress": "0x514910771AF9Ca656af840dff83E8264EcF986CA" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/link.svg", + "name": "ChainLink", + "symbol": "LINK" + }, + { + "address": "0xB2960608948C4D216f72F98C39Eb3d0E775E3923", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 10926829, + "bridgeInfo": { + "1": { + "tokenAddress": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/aave.svg", + "name": "Aave Token", + "symbol": "AAVE" + }, + { + "address": "0x1EBD781B9259822d00b0c5F4Ca2F0838D72BBE9c", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 10736094, + "bridgeInfo": { + "1": { + "tokenAddress": "0x6B3595068778DD592e39A122f4f5a5cF09C90fE2" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/sushi.svg", + "name": "SushiToken", + "symbol": "SUSHI" + }, + { + "address": "0x4f6a87566eBcA017b147DA84954d94B10d830727", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 4620855, + "bridgeInfo": { + "1": { + "tokenAddress": "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/mkr.svg", + "name": "Maker", + "symbol": "MKR" + }, + { + "address": "0xDF0e8f7b7FDA30605cA5665161F9f3dDb489c870", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 19678360, + "bridgeInfo": { + "1": { + "tokenAddress": "0x6985884C4392D348587B19cb9eAAf157F13271cd" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/zro.svg", + "name": "LayerZero", + "symbol": "ZRO" + }, + { + "address": "0xc4a20a608616F18aA631316eEDa9Fb62d089361e", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 11465581, + "bridgeInfo": { + "1": { + "tokenAddress": "0x853d955aCEf822Db058eb8505911ED77F175b99e" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/frax.svg", + "name": "Frax", + "symbol": "FRAX" + }, + { + "address": "0xc9FE18dEF46952bAB59Bd15fBAC865346F621649", + "chainId": 43111, + "decimals": 18, + "extensions": { + "birthBlock": 9601359, + "bridgeInfo": { + "1": { + "tokenAddress": "0xc00e94Cb662C3520282E6f5717214004A7f26888" + } + } + }, + "logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/comp.svg", + "name": "Compound", + "symbol": "COMP" } ] } diff --git a/src/logos/aave.svg b/src/logos/aave.svg new file mode 100644 index 0000000..e8119c1 --- /dev/null +++ b/src/logos/aave.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + diff --git a/src/logos/comp.svg b/src/logos/comp.svg new file mode 100644 index 0000000..73c2e66 --- /dev/null +++ b/src/logos/comp.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/src/logos/dai.svg b/src/logos/dai.svg new file mode 100644 index 0000000..16bbae4 --- /dev/null +++ b/src/logos/dai.svg @@ -0,0 +1,16 @@ + + + + diff --git a/src/logos/eth.svg b/src/logos/eth.svg new file mode 100644 index 0000000..bad7507 --- /dev/null +++ b/src/logos/eth.svg @@ -0,0 +1,34 @@ + + + + + + + + + diff --git a/src/logos/frax.svg b/src/logos/frax.svg new file mode 100644 index 0000000..eea8ec9 --- /dev/null +++ b/src/logos/frax.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + diff --git a/src/logos/link.svg b/src/logos/link.svg new file mode 100644 index 0000000..0a9fe3d --- /dev/null +++ b/src/logos/link.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/src/logos/lmr.svg b/src/logos/lmr.svg new file mode 100644 index 0000000..de80f40 --- /dev/null +++ b/src/logos/lmr.svg @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/logos/met.svg b/src/logos/met.svg new file mode 100644 index 0000000..6e3009a --- /dev/null +++ b/src/logos/met.svg @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/src/logos/mkr.svg b/src/logos/mkr.svg new file mode 100644 index 0000000..536a3aa --- /dev/null +++ b/src/logos/mkr.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + diff --git a/src/logos/sushi.svg b/src/logos/sushi.svg new file mode 100644 index 0000000..5853aee --- /dev/null +++ b/src/logos/sushi.svg @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/logos/uni.svg b/src/logos/uni.svg new file mode 100644 index 0000000..ffbb810 --- /dev/null +++ b/src/logos/uni.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/logos/usdc.svg b/src/logos/usdc.svg new file mode 100644 index 0000000..31f652e --- /dev/null +++ b/src/logos/usdc.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + diff --git a/src/logos/usdt.svg b/src/logos/usdt.svg new file mode 100644 index 0000000..91ed97d --- /dev/null +++ b/src/logos/usdt.svg @@ -0,0 +1,15 @@ + + + + diff --git a/src/logos/vsp.svg b/src/logos/vsp.svg new file mode 100644 index 0000000..7e0967d --- /dev/null +++ b/src/logos/vsp.svg @@ -0,0 +1,20 @@ + + + + + diff --git a/src/logos/wbtc.svg b/src/logos/wbtc.svg new file mode 100644 index 0000000..329b525 --- /dev/null +++ b/src/logos/wbtc.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + diff --git a/src/logos/weth.svg b/src/logos/weth.svg new file mode 100644 index 0000000..e6fb230 --- /dev/null +++ b/src/logos/weth.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + diff --git a/src/logos/zro.svg b/src/logos/zro.svg new file mode 100644 index 0000000..5e14c2b --- /dev/null +++ b/src/logos/zro.svg @@ -0,0 +1,25 @@ + + + + + + + + + + +