From 4c268508d04519170fc665dff15d5d4f711514ae Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Mon, 6 Nov 2023 12:34:05 -0500 Subject: [PATCH 1/4] feat: add celestia, haqq, provenance --- public/assets/chains/celestia.logo.svg | 10 ++++ src/config/web3/cosmos/mainnet/celestia.ts | 56 ++++++++++++++++++++ src/config/web3/cosmos/mainnet/haqq.ts | 48 +++++++++++++++++ src/config/web3/cosmos/mainnet/index.ts | 4 ++ src/config/web3/cosmos/testnet/celestia.ts | 51 ++++++++++++++++++ src/config/web3/cosmos/testnet/index.ts | 4 ++ src/config/web3/cosmos/testnet/provenance.ts | 54 +++++++++++++++++++ 7 files changed, 227 insertions(+) create mode 100644 public/assets/chains/celestia.logo.svg create mode 100644 src/config/web3/cosmos/mainnet/celestia.ts create mode 100644 src/config/web3/cosmos/mainnet/haqq.ts create mode 100644 src/config/web3/cosmos/testnet/celestia.ts create mode 100644 src/config/web3/cosmos/testnet/provenance.ts diff --git a/public/assets/chains/celestia.logo.svg b/public/assets/chains/celestia.logo.svg new file mode 100644 index 000000000..7c29c5261 --- /dev/null +++ b/public/assets/chains/celestia.logo.svg @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/src/config/web3/cosmos/mainnet/celestia.ts b/src/config/web3/cosmos/mainnet/celestia.ts new file mode 100644 index 000000000..3a89f3358 --- /dev/null +++ b/src/config/web3/cosmos/mainnet/celestia.ts @@ -0,0 +1,56 @@ +import { Bech32Address } from "@keplr-wallet/cosmos"; + +import { COSMOS_PROXY_RPC_MAINNET } from "~/config/constants"; + +import { CosmosChain } from "../interface"; + +export const celestia: CosmosChain = { + bech32Config: Bech32Address.defaultBech32Config("celestia"), + bip44: { + coinType: 118, + }, + chainId: "celestia", + chainName: "Celestia", + chainIdentifier: "comdex", + chainToAxelarChannelId: "channel-1", + chainSymbolImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/celestia/chain.png", + currencies: [ + { + coinDecimals: 6, + coinDenom: "TIA", + coinGeckoId: "celestia", + coinMinimalDenom: "utia", + coinImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/celestia/chain.png", + }, + ], + features: ["ibc-transfer"], + feeCurrencies: [ + { + coinDecimals: 6, + coinDenom: "TIA", + coinGeckoId: "celestia", + coinMinimalDenom: "utia", + coinImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/celestia/chain.png", + gasPriceStep: { + low: 0.1, + average: 0.2, + high: 0.4, + }, + }, + ], + rpc: `${COSMOS_PROXY_RPC_MAINNET}/chain/celestia`, + rest: "https://lcd-celestia.keplr.app", + stakeCurrency: { + coinDecimals: 6, + coinDenom: "TIA", + coinGeckoId: "celestia", + coinMinimalDenom: "utia", + coinImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/celestia/uatom.png", + }, + walletUrlForStaking: "https://wallet.keplr.app/chains/celestia", + explorer: "", +}; diff --git a/src/config/web3/cosmos/mainnet/haqq.ts b/src/config/web3/cosmos/mainnet/haqq.ts new file mode 100644 index 000000000..0f8b17b0f --- /dev/null +++ b/src/config/web3/cosmos/mainnet/haqq.ts @@ -0,0 +1,48 @@ +import { Bech32Address } from "@keplr-wallet/cosmos"; + +import { COSMOS_PROXY_RPC_MAINNET } from "~/config/constants"; + +import { CosmosChain } from "../interface"; + +export const haqq: CosmosChain = { + rpc: `${COSMOS_PROXY_RPC_MAINNET}/chain/haqq`, + rest: "https://rest.cosmos.haqq.network", + chainId: "haqq_11235-1", + chainName: "Haqq", + chainIdentifier: "haqq", + chainToAxelarChannelId: "channel-1", + explorer: "", + bip44: { + coinType: 60, + }, + coinType: 60, + bech32Config: Bech32Address.defaultBech32Config("haqq"), + currencies: [ + { + coinDenom: "ISLM", + coinMinimalDenom: "aISLM", + coinDecimals: 18, + coinGeckoId: "unknown", + }, + ], + feeCurrencies: [ + { + coinDenom: "ISLM", + coinMinimalDenom: "aISLM", + coinDecimals: 18, + coinGeckoId: "unknown", + gasPriceStep: { + low: 0.01, + average: 0.025, + high: 0.03, + }, + }, + ], + stakeCurrency: { + coinDenom: "ISLM", + coinMinimalDenom: "aISLM", + coinDecimals: 18, + coinGeckoId: "unknown", + }, + features: ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], +}; diff --git a/src/config/web3/cosmos/mainnet/index.ts b/src/config/web3/cosmos/mainnet/index.ts index 2d00db063..efc18d969 100644 --- a/src/config/web3/cosmos/mainnet/index.ts +++ b/src/config/web3/cosmos/mainnet/index.ts @@ -6,12 +6,14 @@ import { assetmantle } from "./assetmantle"; import { aura } from "./aura"; import { axelar } from "./axelar"; import { carbon } from "./carbon"; +import { celestia } from "./celestia"; import { comdex } from "./comdex"; import { cosmoshub } from "./cosmoshub"; import { crescent } from "./crescent"; import { eMoney } from "./e-money"; import { evmos } from "./evmos"; import { fetch } from "./fetch"; +import { haqq } from "./haqq"; import { injective } from "./injective"; import { ixo } from "./ixo"; import { juno } from "./juno"; @@ -67,4 +69,6 @@ export const mainnetChains: CosmosChain[] = [ rebus, provenance, migaloo, + celestia, + haqq, ]; diff --git a/src/config/web3/cosmos/testnet/celestia.ts b/src/config/web3/cosmos/testnet/celestia.ts new file mode 100644 index 000000000..3873ae611 --- /dev/null +++ b/src/config/web3/cosmos/testnet/celestia.ts @@ -0,0 +1,51 @@ +import { COSMOS_PROXY_RPC_TESTNET } from "~/config/constants"; + +import { CosmosChain } from "../interface"; + +export const celestia: CosmosChain = { + rpc: `${COSMOS_PROXY_RPC_TESTNET}/chain/celestia`, + rest: "https://lcd-celestia-testnet-mocha.keplr.app", + chainId: "mocha-4", + chainIdentifier: "mocha-4", + chainName: "Celestia Mocha Testnet", + chainToAxelarChannelId: "channel-12", + chainSymbolImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/mocha/chain.png", + explorer: "", + stakeCurrency: { + coinDenom: "TIA", + coinMinimalDenom: "utia", + coinDecimals: 6, + }, + bip44: { + coinType: 118, + }, + bech32Config: { + bech32PrefixAccAddr: "celestia", + bech32PrefixAccPub: "celestiapub", + bech32PrefixValAddr: "celestiavaloper", + bech32PrefixValPub: "celestiavaloperpub", + bech32PrefixConsAddr: "celestiavalcons", + bech32PrefixConsPub: "celestiavalconspub", + }, + currencies: [ + { + coinDenom: "TIA", + coinMinimalDenom: "utia", + coinDecimals: 6, + }, + ], + feeCurrencies: [ + { + coinDenom: "TIA", + coinMinimalDenom: "utia", + coinDecimals: 6, + gasPriceStep: { + low: 0.1, + average: 0.25, + high: 0.4, + }, + }, + ], + features: ["ibc-transfer"], +}; diff --git a/src/config/web3/cosmos/testnet/index.ts b/src/config/web3/cosmos/testnet/index.ts index 715de36a5..04eeb0fe6 100644 --- a/src/config/web3/cosmos/testnet/index.ts +++ b/src/config/web3/cosmos/testnet/index.ts @@ -3,6 +3,7 @@ import { acrechain } from "./acrechain"; import { aura } from "./aura"; import { axelar } from "./axelar"; import { burnt } from "./burnt"; +import { celestia } from "./celestia"; import { comdex } from "./comdex"; import { cosmoshub } from "./cosmoshub"; import { crescent } from "./crescent"; @@ -14,6 +15,7 @@ import { neutron } from "./neutron"; import { odin } from "./odin"; import { osmosis } from "./osmosis"; import { persistence } from "./persistence"; +import { provenance } from "./provenance"; import { secret } from "./secret"; import { sei } from "./sei"; import { teritori } from "./teritori"; @@ -41,4 +43,6 @@ export const testnetChains: CosmosChain[] = [ neutron, teritori, haqq, + celestia, + provenance, ]; diff --git a/src/config/web3/cosmos/testnet/provenance.ts b/src/config/web3/cosmos/testnet/provenance.ts new file mode 100644 index 000000000..abed68722 --- /dev/null +++ b/src/config/web3/cosmos/testnet/provenance.ts @@ -0,0 +1,54 @@ +import { Bech32Address } from "@keplr-wallet/cosmos"; + +import { COSMOS_PROXY_RPC_TESTNET } from "~/config/constants"; + +import { CosmosChain } from "../interface"; + +export const provenance: CosmosChain = { + bech32Config: Bech32Address.defaultBech32Config("tp"), + bip44: { + coinType: 1, + }, + chainId: "pio-testnet-1", + chainIdentifier: "provenance", + chainToAxelarChannelId: "channel-75", + chainName: "Provenance Testnet", + chainSymbolImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/pio-testnet/chain.png", + currencies: [ + { + coinDecimals: 9, + coinDenom: "HASH", + coinGeckoId: "provenance-blockchain", + coinMinimalDenom: "nhash", + }, + ], + explorer: "", + features: ["cosmwasm"], + feeCurrencies: [ + { + coinDecimals: 9, + coinDenom: "HASH", + coinGeckoId: "provenance-blockchain", + coinMinimalDenom: "nhash", + gasPriceStep: { + average: 19050, + high: 25000, + low: 19050, + }, + }, + ], + nodeProvider: { + name: "Provenance", + email: "inbound@provenance.io", + website: "https://test.provenance.io", + }, + rest: "https://api.test.provenance.io/", + rpc: `${COSMOS_PROXY_RPC_TESTNET}/chain/provenance`, + stakeCurrency: { + coinDecimals: 9, + coinDenom: "HASH", + coinGeckoId: "provenance-blockchain", + coinMinimalDenom: "nhash", + }, +}; From 8130eef046495fddf59aee97e28e52df0c18fa19 Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Mon, 6 Nov 2023 12:39:19 -0500 Subject: [PATCH 2/4] 0.5.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d7445202e..b1e7e8fcf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "axelar-satellite", - "version": "0.5.9", + "version": "0.5.10", "private": true, "scripts": { "dev": "next dev", From d739cb455457999bf14c4b03b602e35964b7bf70 Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Mon, 6 Nov 2023 13:26:28 -0500 Subject: [PATCH 3/4] feat: add teritori mainnet --- src/config/web3/cosmos/mainnet/index.ts | 2 + src/config/web3/cosmos/mainnet/teritori.ts | 47 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/config/web3/cosmos/mainnet/teritori.ts diff --git a/src/config/web3/cosmos/mainnet/index.ts b/src/config/web3/cosmos/mainnet/index.ts index efc18d969..a7b2fb781 100644 --- a/src/config/web3/cosmos/mainnet/index.ts +++ b/src/config/web3/cosmos/mainnet/index.ts @@ -30,6 +30,7 @@ import { sei } from "./sei"; import { sommelier } from "./sommelier"; import { stargaze } from "./stargaze"; import { stride } from "./stride"; +import { teritori } from "./teritori"; import { terra } from "./terra"; import { terraClassic } from "./terra_classic"; import { umee } from "./umee"; @@ -71,4 +72,5 @@ export const mainnetChains: CosmosChain[] = [ migaloo, celestia, haqq, + teritori, ]; diff --git a/src/config/web3/cosmos/mainnet/teritori.ts b/src/config/web3/cosmos/mainnet/teritori.ts new file mode 100644 index 000000000..968cb8288 --- /dev/null +++ b/src/config/web3/cosmos/mainnet/teritori.ts @@ -0,0 +1,47 @@ +import { Bech32Address } from "@keplr-wallet/cosmos"; + +import { COSMOS_PROXY_RPC_MAINNET } from "~/config/constants"; + +import { CosmosChain } from "../interface"; + +export const teritori: CosmosChain = { + rpc: `${COSMOS_PROXY_RPC_MAINNET}/chain/teritori`, + rest: "https://rest.cosmos.haqq.network", + chainId: "teritori-1", + chainName: "Teritori", + chainIdentifier: "teritori", + bech32Config: Bech32Address.defaultBech32Config("tori"), + bip44: { + coinType: 118, + }, + currencies: [ + { + coinDenom: "TORI", + coinMinimalDenom: "utori", + coinDecimals: 6, + coinGeckoId: "teritori", + }, + ], + feeCurrencies: [ + { + coinDenom: "TORI", + coinMinimalDenom: "utori", + coinDecimals: 6, + coinGeckoId: "teritori", + gasPriceStep: { + low: 0, + average: 0.025, + high: 0.04, + }, + }, + ], + stakeCurrency: { + coinDenom: "TORI", + coinMinimalDenom: "utori", + coinDecimals: 6, + coinGeckoId: "teritori", + }, + features: ["ibc-transfer", "cosmwasm", "ibc-go"], + chainToAxelarChannelId: "channel-61", + explorer: "", // TODO: add explorer +}; From 9945ec01811c020dcb73cfd89b0d1144b8c822ff Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Mon, 6 Nov 2023 13:32:27 -0500 Subject: [PATCH 4/4] chore: fix migaloo logo name --- public/assets/chains/{migaloo.log.svg => migaloo.logo.svg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename public/assets/chains/{migaloo.log.svg => migaloo.logo.svg} (100%) diff --git a/public/assets/chains/migaloo.log.svg b/public/assets/chains/migaloo.logo.svg similarity index 100% rename from public/assets/chains/migaloo.log.svg rename to public/assets/chains/migaloo.logo.svg