From ea70e971f3b8e873188de6b3f508e6fc8452bf3e Mon Sep 17 00:00:00 2001 From: shane-moore Date: Wed, 10 Jul 2024 16:10:20 -0700 Subject: [PATCH] chore: evmos testnet bridge config --- packages/ts-types/src/cosmos.ts | 1 + packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/packages/ts-types/src/cosmos.ts b/packages/ts-types/src/cosmos.ts index e0127c965..57c40425b 100644 --- a/packages/ts-types/src/cosmos.ts +++ b/packages/ts-types/src/cosmos.ts @@ -35,6 +35,7 @@ export enum CosmosChainId { export enum TestnetCosmosChainId { Injective = 'injective-888', Cosmoshub = 'theta-testnet-001', + Evmos = 'evmos_9000-4', } export enum DevnetCosmosChainId { diff --git a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts index 62916ca17..581b1aad3 100644 --- a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts +++ b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts @@ -156,6 +156,11 @@ export const getEndpointsFromChainId = ( rpc: 'https://fetch-rpc.publicnode.com', rest: 'https://fetch-rest.publicnode.com', } + case TestnetCosmosChainId.Evmos: + return { + rpc: 'https://evmos-testnet-rpc.polkachu.com', + rest: 'https://evmos-testnet-api.polkachu.com', + } default: throw new GeneralException( new Error(`Endpoints for ${chainId} not found`),