Skip to content

Commit

Permalink
add cosmos chains
Browse files Browse the repository at this point in the history
  • Loading branch information
nnoln committed Jul 5, 2024
1 parent a697aab commit d65ecff
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
78 changes: 72 additions & 6 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export type EvmChain = BaseChain & {

export type CosmosChain = BaseChain & {
rest: string;
rpcList: string[];
stakeCurrency: CosmosCurrency;
walletUrl?: string;
walletUrlForStaking?: string;
Expand Down Expand Up @@ -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",
Expand All @@ -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 {
Expand Down Expand Up @@ -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",
Expand All @@ -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 = {
Expand Down

0 comments on commit d65ecff

Please sign in to comment.