From dbb17232e8ec4b547db9756a8f08a67e99daa346 Mon Sep 17 00:00:00 2001 From: Polkachu Date: Thu, 15 Dec 2022 21:23:24 -0800 Subject: [PATCH 1/2] add celestia mocha testnet --- src/chains/testnet/celestia.json | 19 +++++++++++++++++++ src/store/chains/index.js | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/chains/testnet/celestia.json diff --git a/src/chains/testnet/celestia.json b/src/chains/testnet/celestia.json new file mode 100644 index 00000000..85e7f47f --- /dev/null +++ b/src/chains/testnet/celestia.json @@ -0,0 +1,19 @@ +{ + "chain_name": "celestia", + "coingecko": "", + "api": ["https://celestia-testnet-api.polkachu.com"], + "rpc": ["https://celestia-testnet-rpc.polkachu.com"], + "snapshot_provider": "", + "sdk_version": "0.46.0", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "celestia", + "logo": "/logos/celestia.png", + "assets": [{ + "base": "utia", + "symbol": "TIA", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/celestia.png" + }] +} diff --git a/src/store/chains/index.js b/src/store/chains/index.js index 84d92261..40295dc1 100644 --- a/src/store/chains/index.js +++ b/src/store/chains/index.js @@ -12,7 +12,7 @@ import { toHex } from '@cosmjs/encoding' let chains = {} const coingecko = {} let configs = require.context('../../chains/mainnet', false, /\.json$/) -if (isTestnet()) { +if (true) { configs = require.context('../../chains/testnet', false, /\.json$/) } From b32edabe1dcd3f7a22208b129f812f33163a4e84 Mon Sep 17 00:00:00 2001 From: Polkachu Date: Thu, 15 Dec 2022 21:25:02 -0800 Subject: [PATCH 2/2] fix --- src/store/chains/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/chains/index.js b/src/store/chains/index.js index 40295dc1..84d92261 100644 --- a/src/store/chains/index.js +++ b/src/store/chains/index.js @@ -12,7 +12,7 @@ import { toHex } from '@cosmjs/encoding' let chains = {} const coingecko = {} let configs = require.context('../../chains/mainnet', false, /\.json$/) -if (true) { +if (isTestnet()) { configs = require.context('../../chains/testnet', false, /\.json$/) }