diff --git a/next.config.js b/next.config.js index 705de00fc..835d256d1 100755 --- a/next.config.js +++ b/next.config.js @@ -102,13 +102,16 @@ const nextConfig = { layers: true, }; - // TODO: Remove when @hyperlane-xyz/core fixes ethers v5/v6 compat in tron typechain. - // core's tron typechain does `import { utils } from 'ethers'` (v5 API) which - // flakily fails during barrel optimization with webpackBuildWorker enabled. - // See: https://github.com/hyperlane-xyz/hyperlane-warp-ui-template/pull/973 + // TODO: Remove when @hyperlane-xyz/core fixes ethers v5/v6 compat in typechain. + // core@11's typechain does `import { utils } from 'ethers'` (v5 API) which fails + // during barrel optimization with webpackBuildWorker. Stub out the entire typechain + // barrel — this app doesn't use contract factories directly. + // See: https://github.com/hyperlane-xyz/hyperlane-warp-ui-template/pull/976 config.resolve.alias = { ...config.resolve.alias, + '@hyperlane-xyz/core/dist/typechain': false, '@hyperlane-xyz/core/dist/tron': false, + '@hyperlane-xyz/core/dist/buildArtifact.js': false, }; if (isServer) { diff --git a/package.json b/package.json index 47c2fa1bc..8418f369a 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ "@emotion/styled": "^11.13.0", "@headlessui/react": "^2.2.0", "@hyperlane-xyz/registry": "24.0.0", - "@hyperlane-xyz/sdk": "25.3.2", - "@hyperlane-xyz/utils": "25.3.2", - "@hyperlane-xyz/widgets": "25.3.2", + "@hyperlane-xyz/sdk": "25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc", + "@hyperlane-xyz/utils": "25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc", + "@hyperlane-xyz/widgets": "25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc", "@interchain-ui/react": "^1.23.28", "@intercom/messenger-js-sdk": "^0.0.18", "@metamask/post-message-stream": "6.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76cdf83f4..5b82de13c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,14 +84,14 @@ importers: specifier: 24.0.0 version: 24.0.0 '@hyperlane-xyz/sdk': - specifier: 25.3.2 - version: 25.3.2(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3)(utf-8-validate@5.0.10) + specifier: 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc + version: 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3)(utf-8-validate@5.0.10) '@hyperlane-xyz/utils': - specifier: 25.3.2 - version: 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + specifier: 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc + version: 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) '@hyperlane-xyz/widgets': - specifier: 25.3.2 - version: 25.3.2(@cosmjs/amino@0.36.2)(@cosmjs/proto-signing@0.36.2)(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.90.12)(@tanstack/react-query@5.90.12(react@18.3.1))(@types/react-dom@18.3.7(@types/react@18.3.27))(@types/react@18.3.27)(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(babel-plugin-macros@3.1.0)(bs58@5.0.0)(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(get-starknet-core@4.0.0)(immer@10.2.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10)(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.21.4) + specifier: 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc + version: 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@cosmjs/amino@0.36.2)(@cosmjs/proto-signing@0.36.2)(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.90.12)(@tanstack/react-query@5.90.12(react@18.3.1))(@types/react-dom@18.3.7(@types/react@18.3.27))(@types/react@18.3.27)(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(babel-plugin-macros@3.1.0)(bs58@5.0.0)(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(get-starknet-core@4.0.0)(immer@10.2.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10)(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.21.4) '@interchain-ui/react': specifier: ^1.23.28 version: 1.26.3(@types/react@18.3.27)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1487,36 +1487,36 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} - '@hyperlane-xyz/aleo-sdk@25.3.2': - resolution: {integrity: sha512-165TeATSD2dKETPXv3nrQDdQHFx0/d/GHP7CRQUpmKUZef1+SWKpH9biXukPPMQHutRTkv4DKBhrLxA1DafTXA==} + '@hyperlane-xyz/aleo-sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-cKbat/Euz9xU0jzBRop/PYDpQnc+dkjIx1CfgmZ0uj5v08GWeh5AXApjlvI/Kr7CSdJDFc9qkVV8mMgb8OvQTQ==} peerDependencies: testcontainers: 11.7.0 peerDependenciesMeta: testcontainers: optional: true - '@hyperlane-xyz/core@10.2.0': - resolution: {integrity: sha512-PAiBscy7Zsln8X3FKpEFP9kbU2itTLjoJ8S2JfkL2vVfYbgoRXawcQa8RDaA9l5Pu8Gz7YvZ+31s3+W2CuuCfw==} + '@hyperlane-xyz/core@11.0.0': + resolution: {integrity: sha512-weoff5hgYyME+1eIQDpunpYwDFgDeTSaHOcWkGN0nLZG01z5NqBX3wnvmXyr2+nDNM4NDSkqU4h3BV93CMF1yQ==} engines: {node: '>=16'} peerDependencies: '@ethersproject/abi': '*' '@ethersproject/providers': '*' '@types/sinon-chai': '*' - '@hyperlane-xyz/cosmos-sdk@25.3.2': - resolution: {integrity: sha512-lktBKrwyU7/bAx1YEJQZMutJ7S1Cj9FvahXYo4leg5iWkkGKbYL+THIzrhlCgb8aOIHrytB5uxer7anKvpY5vw==} + '@hyperlane-xyz/cosmos-sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-yEsPt/6kKCBSBcZx0wFhUIt6ZfwR/JAOs/B97g3jEioO2lAxuMlr1SX6Pkjyc/zF8bcU88SFYLUiOQIa4Pp1cA==} - '@hyperlane-xyz/cosmos-types@25.3.2': - resolution: {integrity: sha512-EnhQyOHsL5GNHCyECdc6L9WnJbimQtiC6eXKSfcGWaXKPuMhmIr3r1yCzHXNZmihOKHXR+aO4kUeNxPv1yeJIw==} + '@hyperlane-xyz/cosmos-types@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-wfE1Bk0v2T3EwY4+sTK/fAuWTW/8g5y3kNyhsFp4/U9xeVo6TaVnExsdEcwyIVLvkouXGmTAgh7RokctGNcEgQ==} - '@hyperlane-xyz/deploy-sdk@1.3.6': - resolution: {integrity: sha512-Ty9B/9mb3JfeFwzJXVBovmbsgdIaOeTBcQXPX95QzLtqnMqR+oTLDaisTtWbJjtVyeH8AN6GigeLsw83Ffe0Yg==} + '@hyperlane-xyz/deploy-sdk@1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-2DUHVmtU0w6Sy6rOkuj03ghis1eFGWy3x9W5NC3pUerbPbeTBNXscXo1Jji7G0K/iJqFyoF/IqdsiD9NOd6tIg==} - '@hyperlane-xyz/provider-sdk@1.3.6': - resolution: {integrity: sha512-m8ptHmosmPjSjTIGTRE+Yy1I5VzSBD/P7CCh3YPGFbcZjDBnl5ZQnKuLUUGe/ULxIoNdaRx6JIz67E0e7veokA==} + '@hyperlane-xyz/provider-sdk@1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-LBEU2KssbYBZPSlt/vI9IH9isSabdyJU1OM5pKMY6nNApgZGD9uBS7G9VYdUOVsQPDgeEkKqUgkNUgDVcSYiSA==} - '@hyperlane-xyz/radix-sdk@25.3.2': - resolution: {integrity: sha512-NyCaprYVuUWfhchvDBYboz+ylNPUQ5rmseSP41BISsbGsrP5YbGFdl0ew3myEIeGjJE1LBAw7zqaNk4TIhSrdA==} + '@hyperlane-xyz/radix-sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-FBWQXf1IfwKn2gMoBjyXE5bmvAYi+TOT+b7QXtGl/rlyCIKnLguJ3A6tjcfqEWe3mxznPFrUIh0n9C+P0bTR/A==} '@hyperlane-xyz/registry@23.12.0': resolution: {integrity: sha512-KK3N2wC35xZhF8KFHD3awQ/GEPwT4G6Fquwcb3bjXaPPh/JwMRzHfeoyLQeTx2lA4cfSeODkDPRgmkrXDo2JqQ==} @@ -1526,20 +1526,20 @@ packages: resolution: {integrity: sha512-C/aw3qUSVzJZ6/MbKHJhB2Sgh3gPzSkQFAjzlFAyiyJxRfI0f46lzCgas5CI/OHG0ZAxcezHut5WH/IvHZncuQ==} engines: {node: '>=24'} - '@hyperlane-xyz/sdk@25.3.2': - resolution: {integrity: sha512-Q3ofnMo3pbZiEhdg9tti6b8k+YtLUIDScizuBawOGPVAitQgu7YIg1qmqM+CssCcuwZqUdH/kdCa52r3oFUNnA==} + '@hyperlane-xyz/sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-33Qr9BE18wUgLPlzsuP1k/HPZnunKccif2ytuhnEH4MOQDqMa+dkoPY1EcpJMg8EBGmdYAtkZjFeRU+hA3HPcA==} engines: {node: '>=16'} peerDependencies: '@ethersproject/abi': '*' - '@hyperlane-xyz/starknet-core@25.3.2': - resolution: {integrity: sha512-Uen/yZltZH76dN8YHW2hKFSLkU9LDYevvUg5dYKnOOXtqBIRMO6+cTJlWsl7QQWmfk8McqIUkg+nwc1Iji+Ehw==} + '@hyperlane-xyz/starknet-core@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-WmefutaWLftJatE6f+OhnRNC+caN90j9eaOucmaio8PqLHjxOGCeZktwlA9TBNbLcSFL220vvxCklaiUMPfCVA==} - '@hyperlane-xyz/tron-sdk@21.1.2': - resolution: {integrity: sha512-AEfxL+eeu+1lWY4TvGyp7mr1c9iSrZRA4//dbzpXuB+c1h8t77ueWpcEEMxPbN/gazMGC39HbgW5q98N8ZgnJA==} + '@hyperlane-xyz/tron-sdk@21.1.3-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-f8zDbqrX59RYBJw8Jj6mIVbHuC72WjSfhZHHX4ciQr6w/6GYjJIRkLFZWFXLemyjHo8Fok9xePz7KG+7wXB/QA==} - '@hyperlane-xyz/utils@25.3.2': - resolution: {integrity: sha512-9nQENxlHsQqjON2ZtkmPVKRA/8vmFTrSX1Ui3iWCXMqd3iO4vC0xHjf0t4ok4kEnqQ8WDdsxCugfUX9vk+lLvQ==} + '@hyperlane-xyz/utils@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-eC6z5ubAQDWu7+Q7A0XRfChRwokTQKj25I8Io412Vh1jOm8cMPuO9Av3SlR382Hw3opxffrOTcoQIIa1hF6laA==} engines: {node: '>=16'} peerDependencies: '@google-cloud/pino-logging-gcp-config': ^1.3.0 @@ -1550,8 +1550,8 @@ packages: pino-pretty: optional: true - '@hyperlane-xyz/widgets@25.3.2': - resolution: {integrity: sha512-AI6lGoYxCZt6X9zN4QRCkPg8tQNfySzgP706XoyeSKLUmtZd/ZiFzfTDQ9Qsr4/3IR39tHXgju+P0n2aqqmx5A==} + '@hyperlane-xyz/widgets@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': + resolution: {integrity: sha512-VA6NTwBj/lGRtdkAhHKz6UOkm+CpSzKedzSVaJyySnbQZkg04EBwEGBPPoHp5pRsr9UdIJ/KR1GNUhxxZVB8FA==} peerDependencies: react: ^18 react-dom: ^18 @@ -9090,8 +9090,8 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tronweb@6.2.0: - resolution: {integrity: sha512-09kyW6mqiFuSYXkR35ndxCeNF5rW1O18hKAClCLtVHP2xBFPYSGx3lDYC2hRKcuLiq6iLPxOVCrhzoKNGlFuQQ==} + tronweb@6.2.1: + resolution: {integrity: sha512-qDzdz5Qzuc9dfxYzo6yodfwtoIL+C/h1l3HbzwYJwNGgaj/owbzlLROjrlF/3Py7gO8QbTD0v4GuPQRJ1ZzseA==} trpc-browser@1.4.4: resolution: {integrity: sha512-5ZH/LqSoF008W8KU+4tfQ+g3F4Yl6BywDUnSlx5jT6fKa87mm8PkIXfhjGN1k6LoxjpMjy82bxvQzNLkJ3vUvw==} @@ -12162,10 +12162,10 @@ snapshots: '@humanwhocodes/retry@0.4.3': {} - '@hyperlane-xyz/aleo-sdk@25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/aleo-sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) '@provablehq/sdk': 0.9.15 bignumber.js: 9.3.1 unzipper: 0.12.3 @@ -12177,22 +12177,22 @@ snapshots: - typescript - utf-8-validate - '@hyperlane-xyz/core@10.2.0(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@types/sinon-chai@4.0.0)': + '@hyperlane-xyz/core@11.0.0(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@types/sinon-chai@4.0.0)': dependencies: '@ethersproject/abi': 5.8.0 '@ethersproject/providers': 5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@types/sinon-chai': 4.0.0 - '@hyperlane-xyz/cosmos-sdk@25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/cosmos-sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: '@cosmjs/amino': 0.32.4 '@cosmjs/math': 0.32.4 '@cosmjs/proto-signing': 0.32.4 '@cosmjs/stargate': 0.32.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@cosmjs/tendermint-rpc': 0.32.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@hyperlane-xyz/cosmos-types': 25.3.2 - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/cosmos-types': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@google-cloud/pino-logging-gcp-config' - bufferutil @@ -12202,19 +12202,19 @@ snapshots: - typescript - utf-8-validate - '@hyperlane-xyz/cosmos-types@25.3.2': + '@hyperlane-xyz/cosmos-types@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': dependencies: long: 5.3.2 protobufjs: 7.5.4 - '@hyperlane-xyz/deploy-sdk@1.3.6(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/deploy-sdk@1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: - '@hyperlane-xyz/aleo-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/cosmos-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/radix-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/tron-sdk': 21.1.2(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/aleo-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/cosmos-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/radix-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/tron-sdk': 21.1.3-beta.5122d0977e44c576088b40f9f119d44381857cdc(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) zod: 3.21.4 transitivePeerDependencies: - '@google-cloud/pino-logging-gcp-config' @@ -12227,9 +12227,9 @@ snapshots: - typescript - utf-8-validate - '@hyperlane-xyz/provider-sdk@1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/provider-sdk@1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) pino: 8.21.0 zod: 3.21.4 transitivePeerDependencies: @@ -12240,10 +12240,10 @@ snapshots: - typescript - utf-8-validate - '@hyperlane-xyz/radix-sdk@25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/radix-sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) '@radixdlt/babylon-core-api-sdk': 1.3.0 '@radixdlt/babylon-gateway-api-sdk': 1.10.1 '@radixdlt/radix-engine-toolkit': 1.0.6 @@ -12270,7 +12270,7 @@ snapshots: yaml: 2.4.5 zod: 3.21.4 - '@hyperlane-xyz/sdk@25.3.2(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/sdk@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: '@arbitrum/sdk': 4.0.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@aws-sdk/client-s3': 3.985.0 @@ -12284,15 +12284,15 @@ snapshots: '@cosmjs/stargate': 0.32.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@cosmjs/tendermint-rpc': 0.32.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@ethersproject/abi': 5.8.0 - '@hyperlane-xyz/aleo-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/core': 10.2.0(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@types/sinon-chai@4.0.0) - '@hyperlane-xyz/cosmos-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/deploy-sdk': 1.3.6(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/radix-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/starknet-core': 25.3.2 - '@hyperlane-xyz/tron-sdk': 21.1.2(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/aleo-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/core': 11.0.0(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@types/sinon-chai@4.0.0) + '@hyperlane-xyz/cosmos-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/deploy-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/radix-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/starknet-core': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc + '@hyperlane-xyz/tron-sdk': 21.1.3-beta.5122d0977e44c576088b40f9f119d44381857cdc(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) '@safe-global/api-kit': 4.0.0(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.21.4) '@safe-global/protocol-kit': 6.1.1(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.21.4) '@safe-global/safe-core-sdk-types': 5.1.0(typescript@5.6.3)(zod@3.21.4) @@ -12349,21 +12349,21 @@ snapshots: - uploadthing - utf-8-validate - '@hyperlane-xyz/starknet-core@25.3.2': + '@hyperlane-xyz/starknet-core@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc': dependencies: starknet: 7.6.4 - '@hyperlane-xyz/tron-sdk@21.1.2(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/tron-sdk@21.1.3-beta.5122d0977e44c576088b40f9f119d44381857cdc(@types/sinon-chai@4.0.0)(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: '@ethersproject/abi': 5.8.0 '@ethersproject/providers': 5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@hyperlane-xyz/core': 10.2.0(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@types/sinon-chai@4.0.0) - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/core': 11.0.0(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@types/sinon-chai@4.0.0) + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) '@hyperlane-xyz/registry': 23.12.0 - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) bignumber.js: 9.3.1 ethers: 5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - tronweb: 6.2.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + tronweb: 6.2.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@google-cloud/pino-logging-gcp-config' - '@types/sinon-chai' @@ -12374,7 +12374,7 @@ snapshots: - typescript - utf-8-validate - '@hyperlane-xyz/utils@25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': + '@hyperlane-xyz/utils@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10)': dependencies: '@cosmjs/encoding': 0.32.4 '@ethersproject/bytes': 5.8.0 @@ -12393,18 +12393,18 @@ snapshots: - typescript - utf-8-validate - '@hyperlane-xyz/widgets@25.3.2(@cosmjs/amino@0.36.2)(@cosmjs/proto-signing@0.36.2)(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.90.12)(@tanstack/react-query@5.90.12(react@18.3.1))(@types/react-dom@18.3.7(@types/react@18.3.27))(@types/react@18.3.27)(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(babel-plugin-macros@3.1.0)(bs58@5.0.0)(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(get-starknet-core@4.0.0)(immer@10.2.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10)(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.21.4)': - dependencies: + ? '@hyperlane-xyz/widgets@25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@cosmjs/amino@0.36.2)(@cosmjs/proto-signing@0.36.2)(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@tanstack/query-core@5.90.12)(@tanstack/react-query@5.90.12(react@18.3.1))(@types/react-dom@18.3.7(@types/react@18.3.27))(@types/react@18.3.27)(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(babel-plugin-macros@3.1.0)(bs58@5.0.0)(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(get-starknet-core@4.0.0)(immer@10.2.0)(react-dom@18.3.1(react@18.3.1))(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10)(ws@8.18.3(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.21.4)' + : dependencies: '@chain-registry/types': 0.50.269 '@cosmjs/stargate': 0.32.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@cosmos-kit/react': 2.18.0(@cosmjs/amino@0.36.2)(@cosmjs/proto-signing@0.36.2)(@interchain-ui/react@1.26.3(@types/react@18.3.27)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/react-dom@18.3.7(@types/react@18.3.27))(@types/react@18.3.27)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(utf-8-validate@5.0.10) '@headlessui/react': 2.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@hyperlane-xyz/aleo-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/cosmos-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/provider-sdk': 1.3.6(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/radix-sdk': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/sdk': 25.3.2(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3)(utf-8-validate@5.0.10) - '@hyperlane-xyz/utils': 25.3.2(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/aleo-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/cosmos-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/provider-sdk': 1.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/radix-sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/sdk': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(@ethersproject/abi@5.8.0)(@ethersproject/providers@5.8.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(@react-native-async-storage/async-storage@1.24.0(react-native@0.82.1(@babel/core@7.28.5)(@types/react@18.3.27)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)))(@types/sinon-chai@4.0.0)(@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.972.5))(bufferutil@4.0.9)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@hyperlane-xyz/utils': 25.4.0-beta.5122d0977e44c576088b40f9f119d44381857cdc(bufferutil@4.0.9)(typescript@5.6.3)(utf-8-validate@5.0.10) '@interchain-ui/react': 1.26.3(@types/react@18.3.27)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@provablehq/aleo-types': 0.3.0-alpha.1 '@provablehq/aleo-wallet-adaptor-react': 0.3.0-alpha.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -23899,7 +23899,7 @@ snapshots: tr46@0.0.3: {} - tronweb@6.2.0(bufferutil@4.0.9)(utf-8-validate@5.0.10): + tronweb@6.2.1(bufferutil@4.0.9)(utf-8-validate@5.0.10): dependencies: '@babel/runtime': 7.26.10 axios: 1.13.2 diff --git a/src/consts/warpRouteWhitelist.ts b/src/consts/warpRouteWhitelist.ts index 8c6ae88cc..9bf778bb4 100644 --- a/src/consts/warpRouteWhitelist.ts +++ b/src/consts/warpRouteWhitelist.ts @@ -2,8 +2,12 @@ // Warp Route IDs use format `SYMBOL/chainname1-chainname2...` where chains are ordered alphabetically // If left null, all warp routes in the configured registry will be included // If set to a list (including an empty list), only the specified routes will be included -export const warpRouteWhitelist: Array | null = null; -// Example: -// [ -// // 'ETH/ethereum-viction' -// ]; +export const warpRouteWhitelist: Array | null = [ + 'SOL/celestia-solanamainnet', + 'SOL/celestia-eden', + 'ETH/celestia-ethereum', + 'ETH/celestia-eden', + 'WBTC/celestia-ethereum', + 'WBTC/celestia-eden', + 'TIA/celestia-eden', +]; diff --git a/src/consts/warpRoutes.yaml b/src/consts/warpRoutes.yaml index 090dcb3b9..88af431af 100644 --- a/src/consts/warpRoutes.yaml +++ b/src/consts/warpRoutes.yaml @@ -2,5 +2,175 @@ # These configs will be merged with the warp routes in the configured registry # The input here is typically the output of the Hyperlane CLI warp deploy command --- -tokens: [] +tokens: + # SOL/celestia: Native SOL on Solana <-> Synthetic SOL on Celestia + - addressOrDenom: '0x726f757465725f6170700000000000000000000000000002000000000000000a' + chainName: celestia + connections: + - token: sealevel|solanamainnet|4Acwq4Sw8Y7rZT8traFYmYsxZ86MAe2pQtGgkjh1mHP6 + decimals: 9 + name: SOL + standard: CosmosNativeHypSynthetic + symbol: SOL + - addressOrDenom: 4Acwq4Sw8Y7rZT8traFYmYsxZ86MAe2pQtGgkjh1mHP6 + chainName: solanamainnet + connections: + - token: cosmosnative|celestia|0x726f757465725f6170700000000000000000000000000002000000000000000a + decimals: 9 + name: SOL + standard: SealevelHypNative + symbol: SOL + # SOL/eden: Collateral SOL on Celestia <-> Synthetic SOL on Eden + - addressOrDenom: '0x726f757465725f6170700000000000000000000000000001000000000000000c' + chainName: celestia + collateralAddressOrDenom: hyperlane/0x726f757465725f6170700000000000000000000000000002000000000000000a + connections: + - token: ethereum|eden|0x16eD50F96ea655Cb03638d7054e62e42Afb7b4fA + decimals: 9 + name: SOL + standard: CosmosNativeHypCollateral + symbol: SOL + - addressOrDenom: '0x16eD50F96ea655Cb03638d7054e62e42Afb7b4fA' + chainName: eden + connections: + - token: cosmosnative|celestia|0x726f757465725f6170700000000000000000000000000001000000000000000c + decimals: 9 + name: SOL + standard: EvmHypSynthetic + symbol: SOL + # ETH/celestia: Native ETH on Ethereum <-> Synthetic ETH on Celestia + - addressOrDenom: '0x726f757465725f6170700000000000000000000000000002000000000000000b' + chainName: celestia + connections: + - token: ethereum|ethereum|0x26Cba9F11119892a7540a26b67cBcB9c08F586cD + decimals: 18 + name: Ether + standard: CosmosNativeHypSynthetic + symbol: ETH + - addressOrDenom: '0x26Cba9F11119892a7540a26b67cBcB9c08F586cD' + chainName: ethereum + coinGeckoId: ethereum + connections: + - token: cosmosnative|celestia|0x726f757465725f6170700000000000000000000000000002000000000000000b + decimals: 18 + name: Ether + standard: EvmHypNative + symbol: ETH + # ETH/eden: Collateral ETH on Celestia <-> Synthetic ETH on Eden + - addressOrDenom: '0x726f757465725f61707000000000000000000000000000010000000000000010' + chainName: celestia + coinGeckoId: ethereum + collateralAddressOrDenom: hyperlane/0x726f757465725f6170700000000000000000000000000002000000000000000b + connections: + - token: ethereum|eden|0x23958cBa555AC52C9495Df9b121ff73003e39dBb + decimals: 18 + name: Ether + standard: CosmosNativeHypCollateral + symbol: ETH + - addressOrDenom: '0x23958cBa555AC52C9495Df9b121ff73003e39dBb' + chainName: eden + connections: + - token: cosmosnative|celestia|0x726f757465725f61707000000000000000000000000000010000000000000010 + decimals: 18 + name: Ether + standard: EvmHypSynthetic + symbol: ETH + # WBTC/celestia: LBTC Collateral on Ethereum <-> Synthetic BTC on Celestia + - addressOrDenom: '0x726f757465725f6170700000000000000000000000000002000000000000000e' + chainName: celestia + connections: + - token: ethereum|ethereum|0x02D28685e808A962aF327180AD55cEE32Eb94C94 + decimals: 8 + name: BTC + standard: CosmosNativeHypSynthetic + symbol: BTC + - addressOrDenom: '0x02D28685e808A962aF327180AD55cEE32Eb94C94' + chainName: ethereum + coinGeckoId: wrapped-bitcoin + collateralAddressOrDenom: '0x8236a87084f8B84306f72007F36F2618A5634494' + connections: + - token: cosmosnative|celestia|0x726f757465725f6170700000000000000000000000000002000000000000000e + decimals: 8 + name: Lombard Staked Bitcoin + standard: EvmHypCollateral + symbol: LBTC + # WBTC/eden: Collateral BTC on Celestia <-> Synthetic BTC on Eden + - addressOrDenom: '0x726f757465725f61707000000000000000000000000000010000000000000011' + chainName: celestia + collateralAddressOrDenom: hyperlane/0x726f757465725f6170700000000000000000000000000002000000000000000e + connections: + - token: ethereum|eden|0xFA3198ecF05303a6d96E57a45E6c815055D255b1 + decimals: 8 + name: BTC + standard: CosmosNativeHypCollateral + symbol: BTC + - addressOrDenom: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1' + chainName: eden + connections: + - token: cosmosnative|celestia|0x726f757465725f61707000000000000000000000000000010000000000000011 + decimals: 8 + name: BTC + standard: EvmHypSynthetic + symbol: BTC + # TIA/eden: Collateral TIA on Celestia <-> Native TIA on Eden + - addressOrDenom: '0x726f757465725f61707000000000000000000000000000010000000000000009' + chainName: celestia + connections: + - token: ethereum|eden|0x4A60C46f671A3b86D78E9c0b793235C2D502d44E + decimals: 6 + name: TIA + standard: CosmosNativeHypCollateral + symbol: TIA + - addressOrDenom: '0x4A60C46f671A3b86D78E9c0b793235C2D502d44E' + chainName: eden + connections: + - token: cosmosnative|celestia|0x726f757465725f61707000000000000000000000000000010000000000000009 + decimals: 18 + name: TIA + standard: EvmNative + symbol: TIA + # eUSD/celestia: Collateral eUSD on Ethereum <-> Synthetic eUSD on Celestia + - addressOrDenom: '0x726f757465725f61707000000000000000000000000000020000000000000013' + chainName: celestia + connections: + - token: ethereum|ethereum|0x129b6d0b13e04a3de4c3e133ca926c174fdcec7d + decimals: 18 + logoURI: /deployments/warp_routes/eUSD/logo.svg + name: eUSD + standard: CosmosNativeHypSynthetic + symbol: eUSD + - addressOrDenom: '0x129b6d0b13e04a3de4c3e133ca926c174fdcec7d' + chainName: ethereum + # no info on coingecko for this token yet but will assume its usdc priced + coinGeckoId: usd-coin + collateralAddressOrDenom: '0x399cc65703e01c7fdefdf27093f84e7eb4b3f8b6' + connections: + - token: cosmosnative|celestia|0x726f757465725f61707000000000000000000000000000020000000000000013 + decimals: 18 + logoURI: /deployments/warp_routes/eUSD/logo.svg + name: eUSD + standard: EvmHypCollateral + symbol: eUSD + # eUSD/eden: Collateral eUSD on Celestia <-> Synthetic eUSD on Eden + - addressOrDenom: '0x726f757465725f61707000000000000000000000000000010000000000000014' + chainName: celestia + # no info on coingecko for this token yet but will assume its usdc priced + coinGeckoId: usd-coin + collateralAddressOrDenom: hyperlane/0x726f757465725f61707000000000000000000000000000020000000000000013 + connections: + - token: ethereum|eden|0xF4e644772b17b6c57327F4D111a73D68C8cC731B + decimals: 18 + logoURI: /deployments/warp_routes/eUSD/logo.svg + name: eUSD + standard: CosmosNativeHypCollateral + symbol: eUSD + - addressOrDenom: '0xF4e644772b17b6c57327F4D111a73D68C8cC731B' + chainName: eden + connections: + - token: cosmosnative|celestia|0x726f757465725f61707000000000000000000000000000010000000000000014 + decimals: 18 + logoURI: /deployments/warp_routes/eUSD/logo.svg + name: eUSD + standard: EvmHypSynthetic + symbol: eUSD options: {} diff --git a/src/features/tokens/TokenListModal.tsx b/src/features/tokens/TokenListModal.tsx index b8e5f4e51..ed0671906 100644 --- a/src/features/tokens/TokenListModal.tsx +++ b/src/features/tokens/TokenListModal.tsx @@ -114,7 +114,9 @@ export function TokenList({ // All route tokens (stable — only changes on origin/destination change, NOT on search) const allRouteTokens = useMemo(() => { - const multiChainTokens = warpCore.tokens.filter((t) => t.isMultiChainToken()); + const multiChainTokens = warpCore.tokens.filter( + (t) => t.isMultiChainToken() || t.getConnections().length > 0, + ); const tokensWithRoute = warpCore.getTokensForRoute(origin, destination); const items = multiChainTokens .map((t) => ({ token: t, disabled: !tokensWithRoute.includes(t) }))