diff --git a/layer/data/bridge.ts b/layer/data/bridge.ts index faab06ef..3e682690 100644 --- a/layer/data/bridge.ts +++ b/layer/data/bridge.ts @@ -21,13 +21,13 @@ export const CosmosChainId = { [Network.CosmosHubTestnet]: 'theta-testnet-001', [Network.Andromeda]: 'andromeda-1', [Network.Saga]: 'ssc-1', - + [Network.Fetch]: 'fetchhub-4', // networks below are disabled [Network.Canto]: 'canto_7700-1', [Network.Chihuahua]: 'chihuahua-1', [Network.Juno]: 'juno-1', - [Network.Terra]: 'columbus-5', + [Network.Terra]: 'columbus-5' } export const cosmoMainnetChannel: Record = { @@ -183,6 +183,15 @@ export const cosmoMainnetChannel: Record = { bToAChannelId: 'channel-261', bToAClientId: '', port: 'transfer' + }, + [Network.Fetch]: { + aChainId: CosmosChainId[Network.Fetch], + bChainId: CosmosChainId[Network.Injective], + aToBChannelId: 'channel-33', + aToBClientId: '07-tendermint-81', + bToAChannelId: 'channel-283', + bToAClientId: '07-tendermint-266', + port: 'transfer' } // networks below are disabled // [Network.Noble]: { @@ -238,8 +247,8 @@ export const cosmosTestnetChannels: Record = { export const cosmosChannels = IS_DEVNET ? {} : IS_TESTNET - ? cosmosTestnetChannels - : cosmoMainnetChannel + ? cosmosTestnetChannels + : cosmoMainnetChannel export const IBC_COIN_CHANNEL_IDS = Object.values(cosmosChannels).map( (cosmosChannel: CosmosChannel) => cosmosChannel.bToAChannelId diff --git a/layer/data/ibc.ts b/layer/data/ibc.ts index a1ad9062..298cadbf 100644 --- a/layer/data/ibc.ts +++ b/layer/data/ibc.ts @@ -20,6 +20,7 @@ export const canonicalChannelsToChainList = [ { channelId: 'channel-54', chainA: 'Kujira', chainB: 'Injective' }, { channelId: 'channel-13', chainA: 'Andromeda', chainB: 'Injective' }, { channelId: 'channel-25', chainA: 'Saga', chainB: 'Injective' }, + { channelId: 'channel-33', chainA: 'fetchhub-4', chainB: 'Injective' }, { channelId: 'channel-1', chainA: 'Injective', chainB: 'CosmosHub' }, { channelId: 'channel-83', chainA: 'Injective', chainB: 'Evmos' }, { channelId: 'channel-8', chainA: 'Injective', chainB: 'Osmosis' }, @@ -46,7 +47,8 @@ export const canonicalChannelsToChainList = [ { channelId: 'channel-152', chainA: 'Injective', chainB: 'Celestia' }, { channelId: 'channel-183', chainA: 'Injective', chainB: 'Gateway' }, { channelId: 'channel-213', chainA: 'Injective', chainB: 'Andromeda' }, - { channelId: 'channel-261', chainA: 'Injective', chainB: 'Saga' } + { channelId: 'channel-261', chainA: 'Injective', chainB: 'Saga' }, + { channelId: 'channel-283', chainA: 'Injective', chainB: 'fetchhub-4' } ] export const canonicalChannelIds = [ @@ -79,5 +81,6 @@ export const canonicalChannelIds = [ 'channel-152', 'channel-183', 'channel-213', - 'channel-261' + 'channel-261', + 'channel-283' ] diff --git a/layer/types/bridge.ts b/layer/types/bridge.ts index 63b651cc..9747570d 100644 --- a/layer/types/bridge.ts +++ b/layer/types/bridge.ts @@ -16,6 +16,7 @@ export enum Network { Ethereum = 'ethereum', EthereumWh = 'ethereumWh', Evmos = 'evmos', + Fetch = 'fetch', Injective = 'injective', Juno = 'juno', Osmosis = 'osmosis', diff --git a/layer/yarn.lock b/layer/yarn.lock index 6fd71699..76821e65 100644 --- a/layer/yarn.lock +++ b/layer/yarn.lock @@ -1564,13 +1564,13 @@ protobufjs "^7.0.0" rxjs "^7.4.0" -"@injectivelabs/exceptions@^1.14.12": - version "1.14.12" - resolved "https://registry.yarnpkg.com/@injectivelabs/exceptions/-/exceptions-1.14.12.tgz#bd1a7ebe07d044bf8d5265e4481770cf694be0f4" - integrity sha512-aZaGRIFVQIuOcPsbZcwEiWvDtO7yUWBplmPqBhPGt2h6YGaree8DbHJQnc/youIB61NpbGH6Qev4EJYDx9rIxA== +"@injectivelabs/exceptions@^1.14.13-beta.0": + version "1.14.13-beta.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/exceptions/-/exceptions-1.14.13-beta.0.tgz#1aa425e137e9290371be62b878ffa034a19ea0e6" + integrity sha512-91+zHTqt9RghoYZHmIkToo3DLB6LWKuyMoiLc7BKAfF1zAkJM+79L/Uq9kv8s1V3aQathfo0LzSqKxcH2wVrsA== dependencies: "@injectivelabs/grpc-web" "^0.0.1" - "@injectivelabs/ts-types" "^1.14.12" + "@injectivelabs/ts-types" "^1.14.13-beta.0" http-status-codes "^2.2.0" link-module-alias "^1.2.0" shx "^0.3.2" @@ -1612,14 +1612,14 @@ protobufjs "^7.0.0" rxjs "^7.4.0" -"@injectivelabs/networks@1.14.12", "@injectivelabs/networks@^1.14.12": - version "1.14.12" - resolved "https://registry.yarnpkg.com/@injectivelabs/networks/-/networks-1.14.12.tgz#4d6f6849d5329f3f2a06d3455c04a38216ca08e3" - integrity sha512-YlUyL5Q8W12xXS7Z4Wp/7WQvIxII3TLXq+muxHHwaH5vpMIS/06IFhhVl2RFtPyvVwUqHRowB8VnCeK22eCgYw== +"@injectivelabs/networks@1.14.13-beta.0", "@injectivelabs/networks@^1.14.13-beta.0": + version "1.14.13-beta.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/networks/-/networks-1.14.13-beta.0.tgz#c4cab543cbb2a702e31e76f395cbf482478f765d" + integrity sha512-KM+5C45kpbFBUEtHr1SMZCuAbdXggGm9fY/AKp0ktnCKPDbqIJDlKjVK/V/KfKk0XTG9V4bwlCQL/foaz3vcEw== dependencies: - "@injectivelabs/exceptions" "^1.14.12" - "@injectivelabs/ts-types" "^1.14.12" - "@injectivelabs/utils" "^1.14.12" + "@injectivelabs/exceptions" "^1.14.13-beta.0" + "@injectivelabs/ts-types" "^1.14.13-beta.0" + "@injectivelabs/utils" "^1.14.13-beta.0" link-module-alias "^1.2.0" shx "^0.3.2" @@ -1633,10 +1633,10 @@ "@bugsnag/source-maps" "^2.3.1" "@nuxt/kit" "^3.0.0-rc.13" -"@injectivelabs/sdk-ts@1.14.13-beta.2", "@injectivelabs/sdk-ts@^1.14.13-beta.2": - version "1.14.13-beta.2" - resolved "https://registry.yarnpkg.com/@injectivelabs/sdk-ts/-/sdk-ts-1.14.13-beta.2.tgz#42fe87a95392a37e26f5e679f090aa8aabf01865" - integrity sha512-XISCE0pUWIXS/KJYcCGsjxWC85Oloni+mrN08jXKPfLiVSIB5gnYN1HOIeM4a73LVS0sprtBztuXHxUt4MKOQw== +"@injectivelabs/sdk-ts@1.14.13-beta.3", "@injectivelabs/sdk-ts@^1.14.13-beta.3": + version "1.14.13-beta.3" + resolved "https://registry.yarnpkg.com/@injectivelabs/sdk-ts/-/sdk-ts-1.14.13-beta.3.tgz#196b39c16d18aa24cfb218ccf5f0d9a55cbe6063" + integrity sha512-qDGqIJ5DZPTD5xOqEjVyd3zKFj5ClOuXNAPhe5MztPVSEFxX5COy76WTPpgbW5J+r+LpWL7ZvfcxBz8Oa5VWnA== dependencies: "@apollo/client" "^3.5.8" "@cosmjs/amino" "^0.32.3" @@ -1645,16 +1645,16 @@ "@ethersproject/bytes" "^5.7.0" "@injectivelabs/core-proto-ts" "^0.0.21" "@injectivelabs/dmm-proto-ts" "1.0.20" - "@injectivelabs/exceptions" "^1.14.12" + "@injectivelabs/exceptions" "^1.14.13-beta.0" "@injectivelabs/grpc-web" "^0.0.1" "@injectivelabs/grpc-web-node-http-transport" "^0.0.2" "@injectivelabs/grpc-web-react-native-transport" "^0.0.2" "@injectivelabs/indexer-proto-ts" "1.11.42" "@injectivelabs/mito-proto-ts" "1.0.65" - "@injectivelabs/networks" "^1.14.12" + "@injectivelabs/networks" "^1.14.13-beta.0" "@injectivelabs/test-utils" "^1.14.13-beta.0" - "@injectivelabs/ts-types" "^1.14.12" - "@injectivelabs/utils" "^1.14.12" + "@injectivelabs/ts-types" "^1.14.13-beta.0" + "@injectivelabs/utils" "^1.14.13-beta.0" "@metamask/eth-sig-util" "^4.0.0" "@noble/curves" "^1.4.0" axios "^1.6.4" @@ -1686,21 +1686,21 @@ snakecase-keys "^5.1.2" store2 "^2.12.0" -"@injectivelabs/ts-types@1.14.12", "@injectivelabs/ts-types@^1.14.12": - version "1.14.12" - resolved "https://registry.yarnpkg.com/@injectivelabs/ts-types/-/ts-types-1.14.12.tgz#6a3b9882665d0e6899cdf1b3cc290ca1fd2cfa53" - integrity sha512-jDyBQQLbdeOSaMjdkeJhvwCRzAM/cixPLuyg9acxYvlwaRZgF4iZKt9nS/N/uWQxxE6pAy2c8hl4YHHbV/N9Ew== +"@injectivelabs/ts-types@1.14.13-beta.0", "@injectivelabs/ts-types@^1.14.13-beta.0": + version "1.14.13-beta.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/ts-types/-/ts-types-1.14.13-beta.0.tgz#f98f259616e16358fee664e46fe794c99a8f92c2" + integrity sha512-0ajPhvzvWzjOgTyABnb2ZVKiD1rNJZIo9NjkTkai15XPdLnXaP3b+lidDMKhF4xN7IEJ+zK9+abctr3yezC7GQ== dependencies: link-module-alias "^1.2.0" shx "^0.3.2" -"@injectivelabs/utils@1.14.12", "@injectivelabs/utils@^1.14.12": - version "1.14.12" - resolved "https://registry.yarnpkg.com/@injectivelabs/utils/-/utils-1.14.12.tgz#4f002f3923971e9a694a3ae30de049098750dfeb" - integrity sha512-4W38Mb6no+UH0pQsK9vhS6q6y5kFUTCVqFtxYs03Ra8AXqODyIS1nDBK9LT78WnJtjIPnbgKOlXgiZxyIVKJqQ== +"@injectivelabs/utils@1.14.13-beta.0", "@injectivelabs/utils@^1.14.13-beta.0": + version "1.14.13-beta.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/utils/-/utils-1.14.13-beta.0.tgz#4cfdb3aced1d41ef559f4b9d6a490f9f23d549ad" + integrity sha512-Pqm4jppaQTEPS+pydwLdLTisI8MZjZwQneMaUR/8DPdyODwWG1Ebo/d9uSgKZmNf0huVJcKCSmAXz10BQjGy5g== dependencies: - "@injectivelabs/exceptions" "^1.14.12" - "@injectivelabs/ts-types" "^1.14.12" + "@injectivelabs/exceptions" "^1.14.13-beta.0" + "@injectivelabs/ts-types" "^1.14.13-beta.0" axios "^1.6.4" bignumber.js "^9.0.1" http-status-codes "^2.2.0" @@ -1709,10 +1709,10 @@ snakecase-keys "^5.1.2" store2 "^2.12.0" -"@injectivelabs/wallet-ts@1.14.13-beta.3": - version "1.14.13-beta.3" - resolved "https://registry.yarnpkg.com/@injectivelabs/wallet-ts/-/wallet-ts-1.14.13-beta.3.tgz#8db63d3da25804ea84511c986c4719ce3d9c7426" - integrity sha512-Li/FxJpSVxFCEJ2321VAWcmHtxXhHTeDksamkuUBXvDEhXBT1JFep/U1HB3lzesWkEfvOcPRfi6epsZVPrDn4Q== +"@injectivelabs/wallet-ts@1.14.13-beta.4": + version "1.14.13-beta.4" + resolved "https://registry.yarnpkg.com/@injectivelabs/wallet-ts/-/wallet-ts-1.14.13-beta.4.tgz#af57156cd209e824aafbb1ec8cd7bdd380206a97" + integrity sha512-jtACOdDOsm5WpzBWpyzBDlK86q7DkVHGwGj3+Z+VwtLsv1hdK/BQEy9Mqx0fNbfzJmG81RQ8Dji0tpXTFA2lGg== dependencies: "@cosmjs/launchpad" "0.27.1" "@cosmjs/proto-signing" "0.32.2" @@ -1720,11 +1720,11 @@ "@cosmostation/extension-client" "^0.1.15" "@ethereumjs/common" "^3.1.1" "@ethereumjs/tx" "^4.1.1" - "@injectivelabs/exceptions" "^1.14.12" - "@injectivelabs/networks" "^1.14.12" - "@injectivelabs/sdk-ts" "^1.14.13-beta.2" - "@injectivelabs/ts-types" "^1.14.12" - "@injectivelabs/utils" "^1.14.12" + "@injectivelabs/exceptions" "^1.14.13-beta.0" + "@injectivelabs/networks" "^1.14.13-beta.0" + "@injectivelabs/sdk-ts" "^1.14.13-beta.3" + "@injectivelabs/ts-types" "^1.14.13-beta.0" + "@injectivelabs/utils" "^1.14.13-beta.0" "@keplr-wallet/cosmos" "^0.12.71" "@keplr-wallet/types" "^0.12.71" "@ledgerhq/hw-app-cosmos" "^6.29.5" @@ -11358,15 +11358,15 @@ sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: "shared-packages@https://github.com/InjectiveLabs/shared-packages#master": version "1.0.0" - resolved "https://github.com/InjectiveLabs/shared-packages#380613d01f4deac6606efca2d7c3f3b98cebad27" + resolved "https://github.com/InjectiveLabs/shared-packages#c0aca2bf2d0481944c7f6981479ee5d272d9f813" dependencies: "@bangjelkoski/ens-validation" "^0.1.1" - "@injectivelabs/networks" "1.14.12" + "@injectivelabs/networks" "1.14.13-beta.0" "@injectivelabs/nuxt-bugsnag" "0.0.3" - "@injectivelabs/sdk-ts" "1.14.13-beta.2" - "@injectivelabs/ts-types" "1.14.12" - "@injectivelabs/utils" "1.14.12" - "@injectivelabs/wallet-ts" "1.14.13-beta.3" + "@injectivelabs/sdk-ts" "1.14.13-beta.3" + "@injectivelabs/ts-types" "1.14.13-beta.0" + "@injectivelabs/utils" "1.14.13-beta.0" + "@injectivelabs/wallet-ts" "1.14.13-beta.4" "@types/canvas-confetti" "^1.6.4" "@vuepic/vue-datepicker" "^5.4.0" "@vueuse/integrations" "^10.7.1"