Skip to content

Commit

Permalink
chore: evmos testnet bridge config
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-moore committed Jul 12, 2024
1 parent c39602b commit ea70e97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ts-types/src/cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export enum CosmosChainId {
export enum TestnetCosmosChainId {
Injective = 'injective-888',
Cosmoshub = 'theta-testnet-001',
Evmos = 'evmos_9000-4',
}

export enum DevnetCosmosChainId {
Expand Down
5 changes: 5 additions & 0 deletions packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`),
Expand Down

0 comments on commit ea70e97

Please sign in to comment.