diff --git a/app/utils/chains.ts b/app/utils/chains.ts index 990cb3d..7f03a0e 100644 --- a/app/utils/chains.ts +++ b/app/utils/chains.ts @@ -27,6 +27,8 @@ import { bsc, bscTestnet, celo, + citrea, + citreaTestnet, cronos, cyber, cyberTestnet, @@ -47,6 +49,8 @@ import { harmonyOne, hedera, hederaTestnet, + hyperEvm, + hyperliquidEvmTestnet, immutableZkEvm, immutableZkEvmTestnet, ink, @@ -91,7 +95,6 @@ import { scroll, scrollSepolia, sei, - seiDevnet, seiTestnet, sepolia, shape, @@ -199,7 +202,6 @@ const CYBER_TESTNET = cyberTestnet.id; const REDSTONE = redstone.id; const LYCAN = lycan.id; const SEI = sei.id; -const SEI_DEVNET = seiDevnet.id; const XAI = xai.id; const XAI_TESTNET = xaiTestnet.id; const ROLLUX = rollux.id; @@ -232,6 +234,10 @@ const INK = ink.id; const ABSTRACT = abstract.id; const APE_CHAIN = apeChain.id; const DYMENSION = dymension.id; +const CITREA = citrea.id; +const CITREA_TESTNET = citreaTestnet.id; +const HYPEREVM = hyperEvm.id; +const HYPEREVM_TESTNET = hyperliquidEvmTestnet.id; type Chain = | typeof ETHEREUM @@ -313,7 +319,6 @@ type Chain = | typeof REDSTONE | typeof LYCAN | typeof SEI - | typeof SEI_DEVNET | typeof XAI | typeof XAI_TESTNET | typeof ROLLUX @@ -345,7 +350,11 @@ type Chain = | typeof INK | typeof ABSTRACT | typeof APE_CHAIN - | typeof DYMENSION; + | typeof DYMENSION + | typeof CITREA + | typeof CITREA_TESTNET + | typeof HYPEREVM + | typeof HYPEREVM_TESTNET; const CHAINS: Chain[] = [ ETHEREUM, @@ -427,7 +436,6 @@ const CHAINS: Chain[] = [ REDSTONE, LYCAN, SEI, - SEI_DEVNET, XAI, XAI_TESTNET, ROLLUX, @@ -460,6 +468,10 @@ const CHAINS: Chain[] = [ ABSTRACT, APE_CHAIN, DYMENSION, + CITREA, + CITREA_TESTNET, + HYPEREVM, + HYPEREVM_TESTNET, ]; function getChainEndpointUrl(chain: Chain): string | null { @@ -632,8 +644,6 @@ function getChainData(chain: Chain): ChainData { return lycan; case SEI: return sei; - case SEI_DEVNET: - return seiDevnet; case XAI: return xai; case XAI_TESTNET: @@ -698,6 +708,14 @@ function getChainData(chain: Chain): ChainData { return apeChain; case DYMENSION: return dymension; + case CITREA: + return citrea; + case CITREA_TESTNET: + return citreaTestnet; + case HYPEREVM: + return hyperEvm; + case HYPEREVM_TESTNET: + return hyperliquidEvmTestnet; } } diff --git a/bun.lock b/bun.lock index e3dca5f..f44ff8e 100644 --- a/bun.lock +++ b/bun.lock @@ -14,7 +14,7 @@ "ky": "^1.10.0", "nuxt": "^4.1.1", "react": "^19.1.1", - "viem": "^2.40.0", + "viem": "^2.46.3", "vue": "^3.5.21", "vue-router": "^4.5.1", }, @@ -1572,7 +1572,7 @@ "own-keys": ["own-keys@1.0.1", "", { "dependencies": { "get-intrinsic": "^1.2.6", "object-keys": "^1.1.1", "safe-push-apply": "^1.0.0" } }, "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg=="], - "ox": ["ox@0.11.3", "", { "dependencies": { "@adraffy/ens-normalize": "^1.11.0", "@noble/ciphers": "^1.3.0", "@noble/curves": "1.9.1", "@noble/hashes": "^1.8.0", "@scure/bip32": "^1.7.0", "@scure/bip39": "^1.6.0", "abitype": "^1.2.3", "eventemitter3": "5.0.1" }, "peerDependencies": { "typescript": ">=5.4.0" }, "optionalPeers": ["typescript"] }, "sha512-1bWYGk/xZel3xro3l8WGg6eq4YEKlaqvyMtVhfMFpbJzK2F6rj4EDRtqDCWVEJMkzcmEi9uW2QxsqELokOlarw=="], + "ox": ["ox@0.12.4", "", { "dependencies": { "@adraffy/ens-normalize": "^1.11.0", "@noble/ciphers": "^1.3.0", "@noble/curves": "1.9.1", "@noble/hashes": "^1.8.0", "@scure/bip32": "^1.7.0", "@scure/bip39": "^1.6.0", "abitype": "^1.2.3", "eventemitter3": "5.0.1" }, "peerDependencies": { "typescript": ">=5.4.0" }, "optionalPeers": ["typescript"] }, "sha512-+P+C7QzuwPV8lu79dOwjBKfB2CbnbEXe/hfyyrff1drrO1nOOj3Hc87svHfcW1yneRr3WXaKr6nz11nq+/DF9Q=="], "oxc-minify": ["oxc-minify@0.86.0", "", { "optionalDependencies": { "@oxc-minify/binding-android-arm64": "0.86.0", "@oxc-minify/binding-darwin-arm64": "0.86.0", "@oxc-minify/binding-darwin-x64": "0.86.0", "@oxc-minify/binding-freebsd-x64": "0.86.0", "@oxc-minify/binding-linux-arm-gnueabihf": "0.86.0", "@oxc-minify/binding-linux-arm-musleabihf": "0.86.0", "@oxc-minify/binding-linux-arm64-gnu": "0.86.0", "@oxc-minify/binding-linux-arm64-musl": "0.86.0", "@oxc-minify/binding-linux-riscv64-gnu": "0.86.0", "@oxc-minify/binding-linux-s390x-gnu": "0.86.0", "@oxc-minify/binding-linux-x64-gnu": "0.86.0", "@oxc-minify/binding-linux-x64-musl": "0.86.0", "@oxc-minify/binding-wasm32-wasi": "0.86.0", "@oxc-minify/binding-win32-arm64-msvc": "0.86.0", "@oxc-minify/binding-win32-x64-msvc": "0.86.0" } }, "sha512-pjtM94KElw/RxF3R1ls1ADcBUyZcrCgn0qeL4nD8cOotfzeVFa0xXwQQeCkk+5GPiOqdRApNFuJvK//lQgpqJw=="], @@ -2044,7 +2044,7 @@ "v8-compile-cache-lib": ["v8-compile-cache-lib@3.0.1", "", {}, "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="], - "viem": ["viem@2.45.1", "", { "dependencies": { "@noble/curves": "1.9.1", "@noble/hashes": "1.8.0", "@scure/bip32": "1.7.0", "@scure/bip39": "1.6.0", "abitype": "1.2.3", "isows": "1.0.7", "ox": "0.11.3", "ws": "8.18.3" }, "peerDependencies": { "typescript": ">=5.0.4" }, "optionalPeers": ["typescript"] }, "sha512-LN6Pp7vSfv50LgwhkfSbIXftAM5J89lP9x8TeDa8QM7o41IxlHrDh0F9X+FfnCWtsz11pEVV5sn+yBUoOHNqYA=="], + "viem": ["viem@2.46.3", "", { "dependencies": { "@noble/curves": "1.9.1", "@noble/hashes": "1.8.0", "@scure/bip32": "1.7.0", "@scure/bip39": "1.6.0", "abitype": "1.2.3", "isows": "1.0.7", "ox": "0.12.4", "ws": "8.18.3" }, "peerDependencies": { "typescript": ">=5.0.4" }, "optionalPeers": ["typescript"] }, "sha512-2LJS+Hyh2sYjHXQtzfv1kU9pZx9dxFzvoU/ZKIcn0FNtOU0HQuIICuYdWtUDFHaGXbAdVo8J1eCvmjkL9JVGwg=="], "vite": ["vite@7.1.4", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.14" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-X5QFK4SGynAeeIt+A7ZWnApdUyHYm+pzv/8/A57LqSGcI88U6R6ipOs3uCesdc6yl7nl+zNO0t8LmqAdXcQihw=="], diff --git a/package.json b/package.json index 52223fe..1777029 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "ky": "^1.10.0", "nuxt": "^4.1.1", "react": "^19.1.1", - "viem": "^2.40.0", + "viem": "^2.46.3", "vue": "^3.5.21", "vue-router": "^4.5.1" },