Skip to content

Commit

Permalink
chore: add xion testnet ibc config
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-moore committed Jul 24, 2024
1 parent 4d71d68 commit 29758d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ts-types/src/cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ export enum CosmosChainId {
}

export enum TestnetCosmosChainId {
Evmos = 'evmos_9000-4',
Injective = 'injective-888',
Cosmoshub = 'theta-testnet-001',
Evmos = 'evmos_9000-4',
Xion = 'xion-testnet-1',
}

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 @@ -161,6 +161,11 @@ export const getEndpointsFromChainId = (
rpc: 'https://evmos-testnet-rpc.polkachu.com',
rest: 'https://evmos-testnet-api.polkachu.com',
}
case TestnetCosmosChainId.Xion:
return {
rpc: 'https://rpc.xion-testnet-1.burnt.com/',
rest: 'https://api.xion-testnet-1.burnt.com/',
}
default:
throw new GeneralException(
new Error(`Endpoints for ${chainId} not found`),
Expand Down

0 comments on commit 29758d1

Please sign in to comment.