From d65ecffec252f3e4a4e9e21919d3cbade9ff9afb Mon Sep 17 00:00:00 2001 From: nnoln Date: Fri, 5 Jul 2024 16:00:40 -0300 Subject: [PATCH] add cosmos chains --- package.json | 2 +- src/chains/index.ts | 78 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 73 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 5ab805f..d5c106a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xsquid/squid-types", - "version": "0.1.84", + "version": "0.1.85", "description": "JS and TS types relating to 0xsquid related projects.", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/chains/index.ts b/src/chains/index.ts index 2067fcb..2a2f304 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -58,6 +58,7 @@ export type EvmChain = BaseChain & { export type CosmosChain = BaseChain & { rest: string; + rpcList: string[]; stakeCurrency: CosmosCurrency; walletUrl?: string; walletUrlForStaking?: string; @@ -130,13 +131,11 @@ export enum ChainName { // Cosmos AGORIC = "agoric", ASSETMANTLE = "assetmantle", - AURA = "aura", AXELARNET = "axelarnet", CARBON = "carbon", COMDEX = "comdex", COSMOS = "cosmoshub", CRESCENT = "crescent", - EMONEY = "e-money", EVMOS = "evmos", FETCH = "fetch", INJECTIVE = "injective", @@ -149,13 +148,48 @@ export enum ChainName { OSMOSIS7 = "osmosis-7", //testnet REGEN = "regen", SEI = "sei", - SECRET = "secret", //deprecated SECRETSNIP = "secret-snip", STARGAZE = "stargaze", STRIDE = "stride", TERRA2 = "terra-2", UMEE = "umee", DYDX = "dydx", + ACRECHAIN = "acre", + ARCHWAY = "archway", + BITCANNA = "bitcanna", + BITSONG = "bitsong", + CHEQD = "cheqd", + CELESTIA = "celestia", + COREUM = "coreum", + DECENTR = "decentr", + DESMOS = "desmos", + DIG = "dig", + DYMENSION = "dymension", + IRISNET = "irisnet", + IXO = "impacthub", + JACKAL = "jackal", + LUM = "lumnetwork", + LIKECOIN = "likecoin", + KAVA_IBC = "kava-ibc", + NOLUS = "nolus", + XPLA = "xpla", // disabled on V1 + AKASH = "akash", + CHIHUAHUA = "chihuahua", + CRONOS = "cronos", + GRAVITYBRIDGE = "gravitybridge", + MARS = "mars", + MIGALOO = "migaloo", + PERSISTENCE = "persistence", + OMNIFLIXHUB = "omniflixhub", + QUICKSILVER = "quicksilver", + SOMMELIER = "sommelier", + TERRA = "terra", + TERITORI = "teritori", + SENTINEL = "sentinel", + HUMANS = "humans", + CHAIN4ENERGY = "c4e", + SAGA = "saga", + NIBIRU = "nibiru", } export enum NetworkIdentifier { @@ -183,14 +217,12 @@ export enum NetworkIdentifier { // COSMOS AGORIC = "agoric", ASSETMANTLE = "assetmantle", - AURA = "aura", AXELAR = "axelar", AXELARNET = "axelarnet", CARBON = "carbon", COMDEX = "comdex", COSMOS = "cosmoshub", CRESCENT = "crescent", - EMONEY = "e-money", EVMOS = "evmos", FETCH = "fetch", INJECTIVE = "injective", @@ -202,13 +234,47 @@ export enum NetworkIdentifier { OSMOSIS = "osmosis", REGEN = "regen", SEI = "sei", - SECRET = "secret", //deprecated SECRETSNIP = "secret-snip", STARGAZE = "stargaze", STRIDE = "stride", TERRA2 = "terra-2", UMEE = "umee", DYDX = "dydx", + ACRECHAIN = "acre", + ARCHWAY = "archway", + BITCANNA = "bitcanna", + BITSONG = "bitsong", + CHEQD = "cheqd", + CELESTIA = "celestia", + COREUM = "coreum", + DECENTR = "decentr", + DESMOS = "desmos", + DYMENSION = "dymension", + IRISNET = "irisnet", + IXO = "impacthub", + JACKAL = "jackal", + LUM = "lumnetwork", + LIKECOIN = "likecoin", + KAVA_IBC = "kava-ibc", + NOLUS = "nolus", + XPLA = "xpla", // disabled on V1 + AKASH = "akash", + CHIHUAHUA = "chihuahua", + CRONOS = "cronos", + GRAVITYBRIDGE = "gravitybridge", + MARS = "mars", + MIGALOO = "migaloo", + PERSISTENCE = "persistence", + OMNIFLIXHUB = "omniflixhub", + QUICKSILVER = "quicksilver", + SOMMELIER = "sommelier", + TERRA = "terra", + TERITORI = "teritori", + SENTINEL = "sentinel", + HUMANS = "humans", + CHAIN4ENERGY = "c4e", + SAGA = "saga", + NIBIRU = "nibiru", } export type ChainIBCInfo = {