diff --git a/packages/dashboard/chains/mainnet/8ball.json b/packages/dashboard/chains/mainnet/8ball.json new file mode 100644 index 00000000..a937ad93 --- /dev/null +++ b/packages/dashboard/chains/mainnet/8ball.json @@ -0,0 +1,27 @@ +{ + "chain_name": "8ball", + "coingecko": "", + "api": [ + "https://rest.8ball.info", + "https://api-8ball.nodeist.net" + + ], + "rpc": [ + "https://rpc.8ball.info", + "https://rpc-8ball.nodeist.net" + ], + "snapshot_provider": "", + "coin_type": "118", + "sdk_version": "0.46.8", + "addr_prefix": "8ball", + "logo": "/logos/8ball.png", + "assets": [ + { + "base": "uebl", + "symbol": "EBL", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/8ball.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/agoric.json b/packages/dashboard/chains/mainnet/agoric.json new file mode 100644 index 00000000..a831e63c --- /dev/null +++ b/packages/dashboard/chains/mainnet/agoric.json @@ -0,0 +1,34 @@ +{ + "chain_name": "agoric", + "api": [ + "https://agoric-api.polkachu.com", + "https://api-agoric.nodes.guru", + "https://agoric.stakesystems.io", + "https://agoric-lcd.stakely.io", + "https://api.agoric.nodestake.top", + "https://agoric.api.kjnodes.com" + ], + "rpc": ["https://main.rpc.agoric.net:443", "https://main.rpc.agoric.net:443", "https://rpc.agoric.nodestake.top", "https://agoric.rpc.kjnodes.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "564", + "min_tx_fee": "8000", + "assets": [ + { + "base": "ubld", + "symbol": "BLD", + "exponent": "6", + "coingecko_id": "agoric", + "logo": "/logos/agoric-bld.svg" + }, + { + "base": "uist", + "symbol": "IST", + "exponent": "6", + "coingecko_id": "", + "logo": "" + } + ], + "addr_prefix": "agoric", + "logo": "/logos/agoric.png" +} diff --git a/packages/dashboard/chains/mainnet/akash.json b/packages/dashboard/chains/mainnet/akash.json new file mode 100644 index 00000000..2aff7efb --- /dev/null +++ b/packages/dashboard/chains/mainnet/akash.json @@ -0,0 +1,19 @@ +{ + "chain_name": "akash", + "alias": "akash-network", + "api": ["https://api-akash-ia.cosmosia.notional.ventures/", "https://akash-api.polkachu.com", "https://akash.c29r3.xyz:443/api", "https://akash.api.ping.pub"], + "rpc": ["https://rpc-akash-ia.cosmosia.notional.ventures/", "https://akash-rpc.polkachu.com/", "http://rpc.akash.forbole.com:80", "http://akashsentry01.skynetvalidators.com:26657"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "8000", + "assets": [{ + "base": "uakt", + "symbol": "AKT", + "exponent": "6", + "coingecko_id": "akash-network", + "logo": "/logos/akash-network.png" + }], + "addr_prefix": "akash", + "logo": "/logos/akash-network.png" +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/aura.json.disabled b/packages/dashboard/chains/mainnet/aura.json.disabled new file mode 100644 index 00000000..ec992f72 --- /dev/null +++ b/packages/dashboard/chains/mainnet/aura.json.disabled @@ -0,0 +1,19 @@ +{ + "chain_name": "aura", + "coingecko": "aura-network", + "api": ["https://lcd.euphoria.aura.network"], + "rpc": ["https://snapshot-1.euphoria.aura.network:443","https://snapshot-2.euphoria.aura.network:443"], + "snapshot_provider": "705e3c2b2b554586976ed88bb27f68e4c4176a33@13.250.223.114:26656,b9243524f659f2ff56691a4b2919c3060b2bb824@13.214.5.1:26656", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "eaura", + "logo": "/logos/aura.png", + "assets": [{ + "base": "ueaura", + "symbol": "AURA", + "exponent": "6", + "coingecko_id": "aura-network", + "logo": "/logos/aura.png" + }] + } diff --git a/packages/dashboard/chains/mainnet/axelar.json b/packages/dashboard/chains/mainnet/axelar.json new file mode 100644 index 00000000..7b416ee8 --- /dev/null +++ b/packages/dashboard/chains/mainnet/axelar.json @@ -0,0 +1,60 @@ +{ + "chain_name": "axelar", + "api": ["https://api-axelar-ia.cosmosia.notional.ventures", "https://lcd-axelar.imperator.co", "https://axelar-lcd.quickapi.com", "https://axelar-api.polkachu.com", "https://axelar-lcd.qubelabs.io", "https://axelar-rest.chainode.tech", "https://axelar-lcd.quantnode.tech", "https://api-1.axelar.nodes.guru:443"], + "rpc": ["https://rpc-axelar-ia.cosmosia.notional.ventures:443", "https://rpc-axelar.imperator.co:443", "https://axelar-rpc.quickapi.com:443", "https://axelar-rpc.pops.one:443", "https://axelar-rpc.chainode.tech:443", "https://axelar-rpc.polkachu.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "axelar", + "logo": "/logos/axelar.svg", + "assets": [{ + "base": "uaxl", + "symbol": "AXL", + "exponent": "6", + "coingecko_id": "axelar", + "logo": "/logos/axelar.svg" + }, { + "base": "uusdc", + "symbol": "axlUSDC", + "exponent": "6", + "coingecko_id": "usd-coin", + "logo": "/logos/usdc.svg" + }, { + "base": "uusdt", + "symbol": "axlUSDT", + "exponent": "6", + "coingecko_id": "tether", + "logo": "/logos/usdt.svg" + }, { + "base": "dai-wei", + "symbol": "axlDAI", + "exponent": "18", + "coingecko_id": "dai", + "logo": "/logos/dai.svg" + }, { + "base": "weth-wei", + "symbol": "axlWETH", + "exponent": "18", + "coingecko_id": "ethereum", + "logo": "/logos/weth.svg" + }, { + "base": "wmatic-wei", + "symbol": "axlWMATIC", + "exponent": "18", + "coingecko_id": "matic-network", + "logo": "/logos/wmatic.svg" + }, { + "base": "wavax-wei", + "symbol": "axlWAVAX", + "exponent": "18", + "coingecko_id": "avalanche-2", + "logo": "/logos/wavax.svg" + }, { + "base": "dot-planck", + "symbol": "axlDOT", + "exponent": "10", + "coingecko_id": "polkadot", + "logo": "/logos/dot.svg" + }] +} diff --git a/packages/dashboard/chains/mainnet/band.json b/packages/dashboard/chains/mainnet/band.json new file mode 100644 index 00000000..e4c300a9 --- /dev/null +++ b/packages/dashboard/chains/mainnet/band.json @@ -0,0 +1,19 @@ +{ + "chain_name": "band", + "alias": "band-protocol", + "api": "https://laozi1.bandchain.org/api", + "rpc": ["http://rpc.laozi1.bandchain.org:80", "http://rpc.laozi1.bandchain.org:80"], + "snapshot_provider": "", + "addr_prefix": "band", + "coin_type": "494", + "min_tx_fee": "8000", + "assets": [{ + "base": "uband", + "symbol": "BAND", + "exponent": "6", + "coingecko_id": "band-protocol", + "logo": "/logos/band-protocol.svg" + }], + "logo": "/logos/band-protocol.svg", + "sdk_version": "0.45.8" +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/beezee.json b/packages/dashboard/chains/mainnet/beezee.json new file mode 100644 index 00000000..37027bb0 --- /dev/null +++ b/packages/dashboard/chains/mainnet/beezee.json @@ -0,0 +1,19 @@ +{ + "chain_name": "beezee", + "coingecko": "bzedge", + "api": ["https://rest.getbze.com"], + "rpc": ["https://rpc-1.getbze.com:443","https://rpc-2.getbze.com:443"], + "snapshot_provider": ["a9fac0534bd6853f5810fdc692564967bd01b1fe@rpc-1.getbze.com:26656"], + "sdk_version": "0.45.9", + "coin_type": "370", + "min_tx_fee": "8000", + "addr_prefix": "bze", + "logo": "/logos/beezee.png", + "assets": [{ + "base": "ubze", + "symbol": "BZE", + "exponent": "6", + "coingecko_id": "bzedge", + "logo": "/logos/beezee.png" + }] + } diff --git a/packages/dashboard/chains/mainnet/bitcanna.json b/packages/dashboard/chains/mainnet/bitcanna.json new file mode 100644 index 00000000..941fddb2 --- /dev/null +++ b/packages/dashboard/chains/mainnet/bitcanna.json @@ -0,0 +1,19 @@ +{ + "chain_name": "bitcanna", + "coingecko": "bitcanna", + "api": ["https://api-bitcanna-ia.cosmosia.notional.ventures", "https://bitcanna-api.polkachu.com", "https://lcd.bitcanna.io"], + "rpc": ["https://rpc-bitcanna-ia.cosmosia.notional.ventures:443", "https://bitcanna-rpc.polkachu.com:443", "https://rpc.bitcanna.io:443"], + "snapshot_provider": "29edc55748bc341224f711a05cb0a9f6d73b4da3@bitcanna.rpc.ping.pub:26656", + "sdk_version": "0.45.10", + "coin_type": "118", + "min_tx_fee": "420", + "assets": [{ + "base": "ubcna", + "symbol": "BCNA", + "exponent": "6", + "coingecko_id": "bitcanna", + "logo": "/logos/bitcanna.svg" + }], + "addr_prefix": "bcna", + "logo": "/logos/bitcanna.svg" +} diff --git a/packages/dashboard/chains/mainnet/bitsong.json b/packages/dashboard/chains/mainnet/bitsong.json new file mode 100644 index 00000000..10ef2d7c --- /dev/null +++ b/packages/dashboard/chains/mainnet/bitsong.json @@ -0,0 +1,18 @@ +{ + "chain_name": "bitsong", + "coingecko": "bitsong", + "api": ["https://api-bitsong-ia.cosmosia.notional.ventures", "https://lcd.explorebitsong.com"], + "rpc": ["https://rpc-bitsong-ia.cosmosia.notional.ventures:443", "https://rpc-bitsong.itastakers.com:443","https://rpc-bitsong.itastakers.com:443"], + "addr_prefix": "bitsong", + "coin_type": "639", + "min_tx_fee": "5000", + "logo": "/logos/bitsong.svg", + "sdk_version": "0.45.6", + "assets": [{ + "base": "ubtsg", + "symbol": "BTSG", + "exponent": "6", + "coingecko_id": "bitsong", + "logo": "/logos/bitsong.svg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/bostrom.json b/packages/dashboard/chains/mainnet/bostrom.json new file mode 100644 index 00000000..3b3e7249 --- /dev/null +++ b/packages/dashboard/chains/mainnet/bostrom.json @@ -0,0 +1,19 @@ +{ + "chain_name": "bostrom", + "coingecko": "", + "api": "https://lcd.bostrom.cybernode.ai", + "rpc": ["https://rpc.bostrom.cybernode.ai:443", "https://rpc.bostrom.cybernode.ai:443"], + "snapshot_provider": "", + "sdk_version": "0.44.3", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "bostrom", + "logo": "/logos/bostrom.png", + "assets": [{ + "base": "boot", + "symbol": "BOOT", + "exponent": "0", + "coingecko_id": "", + "logo": "/logos/bostrom.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/canto.json b/packages/dashboard/chains/mainnet/canto.json new file mode 100644 index 00000000..41e8805c --- /dev/null +++ b/packages/dashboard/chains/mainnet/canto.json @@ -0,0 +1,18 @@ +{ + "chain_name": "canto", + "api": ["https://canto-api.polkachu.com","https://api.canto.nodestake.top"], + "rpc": ["https://canto-rpc.polkachu.com:443","https://rpc.canto.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "60", + "min_tx_fee": "800", + "addr_prefix": "canto", + "logo": "/logos/canto.png", + "assets": [ + { + "base": "acanto", + "symbol": "CANTO", + "exponent": "18" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/carbon.json b/packages/dashboard/chains/mainnet/carbon.json new file mode 100644 index 00000000..be874fc4 --- /dev/null +++ b/packages/dashboard/chains/mainnet/carbon.json @@ -0,0 +1,24 @@ +{ + "chain_name": "carbon", + "coingecko": "switcheo", + "api": "https://api.carbon.network", + "rpc": ["https://tm-api.carbon.network"], + "snapshot_provider": "", + "sdk_version": "0.45.2", + "coin_type": "118", + "min_tx_fee": "100000000", + "addr_prefix": "swth", + "logo": "/logos/carbon.svg", + "sign_opts": { + "keplr": { + "preferNoSetFee": true + } + }, + "assets": [{ + "base": "swth", + "symbol": "SWTH", + "exponent": "8", + "coingecko_id": "switcheo", + "logo": "/logos/carbon.svg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/celestia.json.disabled b/packages/dashboard/chains/mainnet/celestia.json.disabled new file mode 100644 index 00000000..2b3785a4 --- /dev/null +++ b/packages/dashboard/chains/mainnet/celestia.json.disabled @@ -0,0 +1,19 @@ +{ + "chain_name": "celestia", + "coingecko": "", + "api": "https://celestia-api.skynetvalidators.com", + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.44.0", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "celestia", + "logo": "/logos/celestia.png", + "assets": [{ + "base": "celes", + "symbol": "CELES", + "exponent": "0", + "coingecko_id": "", + "logo": "/logos/celestia.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/cerberus.json b/packages/dashboard/chains/mainnet/cerberus.json new file mode 100644 index 00000000..712b3624 --- /dev/null +++ b/packages/dashboard/chains/mainnet/cerberus.json @@ -0,0 +1,21 @@ +{ + "chain_name": "cerberus", + "coingecko": "cerberus-2", + "api": ["https://cerberus-api.polkachu.com","https://api-cerberus-ia.cosmosia.notional.ventures", "https://api.cerberus.zone:1317"], + "rpc": ["https://cerberus-rpc.polkachu.com:443", "https://rpc-cerberus-ia.cosmosia.notional.ventures:443", "https://rpc-cerberus.ecostake.com:443"], + "snapshot_provider": "21cca2db122c48a11f426799131ef08235d46671@cerberus-rpc.polkachu.com:10656", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "cerberus", + "logo": "/logos/cerberus.png", + "assets": [ + { + "base": "ucrbrus", + "symbol": "CRBRUS", + "exponent": "6", + "coingecko_id": "cerberus-2", + "logo": "/logos/cerberus.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/chain4energy.json b/packages/dashboard/chains/mainnet/chain4energy.json new file mode 100644 index 00000000..2b5e72e9 --- /dev/null +++ b/packages/dashboard/chains/mainnet/chain4energy.json @@ -0,0 +1,16 @@ +{ + "chain_name": "chain4energy", + "api": ["https://lcd.c4e.io"], + "rpc": ["https://rpc.c4e.io:443", "https://rpc.c4e.io:443"], + "sdk_version": "0.45.5", + "coin_type": "4444", + "min_tx_fee": "3000", + "addr_prefix": "c4e", + "logo": "/logos/c4e.png", + "assets": [{ + "base": "uc4e", + "symbol": "C4E", + "exponent": "6", + "logo": "/logos/c4e.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/cheqd.json b/packages/dashboard/chains/mainnet/cheqd.json new file mode 100644 index 00000000..a3a28188 --- /dev/null +++ b/packages/dashboard/chains/mainnet/cheqd.json @@ -0,0 +1,18 @@ +{ + "chain_name": "cheqd", + "api": ["https://api.cheqd.net","https://api.cheqd.nodestake.top"], + "rpc": ["https://rpc.cheqd.net:443", "https://rpc.cheqd.net:443","https://rpc.cheqd.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "cheqd", + "logo": "/logos/cheqd.png", + "assets": [{ + "base": "ncheq", + "symbol": "CHEQ", + "exponent": "9", + "coingecko_id": "cheqd-network", + "logo": "/logos/cheqd.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/chihuahua.json b/packages/dashboard/chains/mainnet/chihuahua.json new file mode 100644 index 00000000..e389fe65 --- /dev/null +++ b/packages/dashboard/chains/mainnet/chihuahua.json @@ -0,0 +1,19 @@ +{ + "chain_name": "chihuahua", + "coingecko": "chihuahua-token", + "api": ["https://chihuahua-api.polkachu.com", "https://api.chihuahua.wtf", "https://chihuahua-api.mercury-nodes.net"], + "rpc": ["https://chihuahua-rpc.polkachu.com:443", "https://rpc.chihuahua.wtf:443"], + "snapshot_provider": "12611137be6f64f9a7fb8977614a5a6f257c1394@65.21.200.224:29656", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "250000", + "addr_prefix": "chihuahua", + "logo": "/logos/chihuahua.png", + "assets": [{ + "base": "uhuahua", + "symbol": "HUAHUA", + "exponent": "6", + "coingecko_id": "chihuahua-token", + "logo": "/logos/chihuahua.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/cht.json.disabled b/packages/dashboard/chains/mainnet/cht.json.disabled new file mode 100644 index 00000000..659ea734 --- /dev/null +++ b/packages/dashboard/chains/mainnet/cht.json.disabled @@ -0,0 +1,24 @@ +{ + "chain_name": "chronic-token", + "api": ["https://chtd-api.skynetvalidators.com"], + "rpc": ["https://rpc-chronic.zenchainlabs.io/"], + "snapshot_provider": "", + "sdk_version": "0.41.3", + "coin_type": "118", + "min_tx_fee": "200", + "assets": [{ + "base": "ucht", + "symbol": "CHT", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/chronic-token.jpg" + },{ + "base": "ucgas", + "symbol": "CGAS", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/chronic-token.jpg" + }], + "addr_prefix": "chronic", + "logo": "/logos/chronic-token.jpg" +} diff --git a/packages/dashboard/chains/mainnet/comdex.json b/packages/dashboard/chains/mainnet/comdex.json new file mode 100644 index 00000000..6d86ada8 --- /dev/null +++ b/packages/dashboard/chains/mainnet/comdex.json @@ -0,0 +1,18 @@ +{ + "chain_name": "comdex", + "api": ["https://api-comdex-ia.cosmosia.notional.ventures", "https://comdex-api.polkachu.com", "https://rest.comdex.one/"], + "rpc": ["https://rpc-comdex-ia.cosmosia.notional.ventures:443", "https://comdex-rpc.polkachu.com:443", "https://api.comdex.audit.one:443/rpc", "https://rpc.comdex.one:443"], + "snapshot_provider": "", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "comdex", + "logo": "/logos/comdex.png", + "assets": [{ + "base": "ucmdx", + "symbol": "CMDX", + "exponent": "6", + "coingecko_id": "comdex", + "logo": "/logos/comdex.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/commercionetwork.json b/packages/dashboard/chains/mainnet/commercionetwork.json new file mode 100644 index 00000000..bdadbc2d --- /dev/null +++ b/packages/dashboard/chains/mainnet/commercionetwork.json @@ -0,0 +1,25 @@ +{ + "chain_name": "commercio.network", + "coingecko": "", + "api": ["https://lcd-mainnet.commercio.network"], + "rpc": ["https://rpc-mainnet.commercio.network:443"], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "118", + "min_tx_fee": "10000", + "addr_prefix": "did:com:", + "logo": "/logos/commercionetwork.png", + "assets": [{ + "base": "ucommercio", + "symbol": "COM", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/com.png" + },{ + "base": "uccc", + "symbol": "CCC", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/ccc.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/cosmos.json b/packages/dashboard/chains/mainnet/cosmos.json new file mode 100644 index 00000000..418945b9 --- /dev/null +++ b/packages/dashboard/chains/mainnet/cosmos.json @@ -0,0 +1,19 @@ +{ + "chain_name": "cosmos", + "api": [ + "https://api-cosmoshub-ia.cosmosia.notional.ventures" + ], + "rpc": ["https://rpc.cosmos.network:443", "https://cosmos-rpc.icycro.org", "https://rpc.cosmos.dragonstake.io"], + "sdk_version": "0.45.1", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "cosmos", + "logo": "/logos/cosmos.svg", + "assets": [{ + "base": "uatom", + "symbol": "ATOM", + "exponent": "6", + "coingecko_id": "cosmos", + "logo": "/logos/cosmos.svg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/crescent.json b/packages/dashboard/chains/mainnet/crescent.json new file mode 100644 index 00000000..8f013b77 --- /dev/null +++ b/packages/dashboard/chains/mainnet/crescent.json @@ -0,0 +1,24 @@ +{ + "chain_name": "crescent", + "api": ["https://crescent-api.polkachu.com", "https://mainnet.crescent.network:1317", "https://api.crescent.pupmos.network"], + "rpc": ["https://mainnet.crescent.network:26657", "https://crescent-rpc.polkachu.com"], + "snapshot_provider": "", + "sdk_version": "0.45.3", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "cre", + "logo": "/logos/cre.png", + "assets": [{ + "base": "ucre", + "symbol": "CRE", + "exponent": "6", + "coingecko_id": "crescent-network", + "logo": "/logos/cre.png" + },{ + "base": "ubcre", + "symbol": "bCRE", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/cre.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/cronos.json b/packages/dashboard/chains/mainnet/cronos.json new file mode 100644 index 00000000..7c74868e --- /dev/null +++ b/packages/dashboard/chains/mainnet/cronos.json @@ -0,0 +1,17 @@ + +{ + "chain_name": "cronos", + "api": ["https://rest.cronos.org"], + "rpc": ["https://rpc.cronos.org:443"], + "snapshot_provider": "", + "sdk_version": "0.45.11", + "coin_type": "60", + "min_tx_fee": "5000000000000000", + "addr_prefix": "crc", + "logo": "/logos/cronos.png", + "assets": [{ + "base": "basecro", + "symbol": "CRO", + "exponent": "18" + }] +} diff --git a/packages/dashboard/chains/mainnet/crypto.json b/packages/dashboard/chains/mainnet/crypto.json new file mode 100644 index 00000000..a75f5c23 --- /dev/null +++ b/packages/dashboard/chains/mainnet/crypto.json @@ -0,0 +1,20 @@ + +{ + "chain_name": "crypto-com-chain", + "coingecko": "crypto-com-chain", + "api": ["https://rest.mainnet.crypto.org"], + "rpc": ["https://rpc.mainnet.crypto.org:443"], + "snapshot_provider": "87c3adb7d8f649c51eebe0d3335d8f9e28c362f2@seed-0.crypto.org:26656,e1d7ff02b78044795371beb1cd5fb803f9389256@seed-1.crypto.org:26656,2c55809558a4e491e9995962e10c026eb9014655@seed-2.crypto.org:26656", + "sdk_version": "0.46.7", + "coin_type": "394", + "min_tx_fee": "5000", + "addr_prefix": "cro", + "logo": "/logos/crypto-com-chain.png", + "assets": [{ + "base": "basecro", + "symbol": "CRO", + "exponent": "8", + "coingecko_id": "crypto-com-chain", + "logo": "/logos/crypto-com-chain.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/cudos.json b/packages/dashboard/chains/mainnet/cudos.json new file mode 100644 index 00000000..d3a07d44 --- /dev/null +++ b/packages/dashboard/chains/mainnet/cudos.json @@ -0,0 +1,20 @@ +{ + "chain_name": "cudos", + "coingecko": "cudos", + "api": ["https://rest.cudos.org"], + "rpc": ["https://rpc.cudos.org"], + "snapshot_provider": "", + "sdk_version": "0.45.3", + "coin_type": "118", + "min_tx_fee": "5000000000000", + "addr_prefix": "cudos", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cudos/images/cudos.png", + "assets": [{ + "base": "acudos", + "symbol": "CUDOS", + "exponent": "18", + "coingecko_id": "cudos", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cudos/images/cudos.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/decentr.json b/packages/dashboard/chains/mainnet/decentr.json new file mode 100644 index 00000000..7f547ab7 --- /dev/null +++ b/packages/dashboard/chains/mainnet/decentr.json @@ -0,0 +1,18 @@ +{ + "chain_name": "decentr", + "api": ["https://rest.mainnet.decentr.xyz","https://api.decentr.nodestake.top"], + "rpc": ["https://ares.mainnet.decentr.xyz:443", "https://poseidon.mainnet.decentr.xyz:443","https://rpc.decentr.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.44.3", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "decentr", + "logo": "/logos/decentr.png", + "assets": [{ + "base": "udec", + "symbol": "DEC", + "exponent": "6", + "coingecko_id": "decentr", + "logo": "/logos/decentr.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/desmos.json b/packages/dashboard/chains/mainnet/desmos.json new file mode 100644 index 00000000..294312da --- /dev/null +++ b/packages/dashboard/chains/mainnet/desmos.json @@ -0,0 +1,18 @@ +{ + "chain_name": "desmos", + "coingecko": "desmos", + "api": ["https://api.mainnet.desmos.network"], + "rpc": ["https://rpc.mainnet.desmos.network:443"], + "sdk_version": "0.45.8", + "coin_type": "852", + "min_tx_fee": "3000", + "addr_prefix": "desmos", + "logo": "/logos/desmos.png", + "assets": [{ + "base": "udsm", + "symbol": "DSM", + "exponent": "6", + "coingecko_id": "desmos", + "logo": "/logos/desmos.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/dig.json b/packages/dashboard/chains/mainnet/dig.json new file mode 100644 index 00000000..be50cdd1 --- /dev/null +++ b/packages/dashboard/chains/mainnet/dig.json @@ -0,0 +1,19 @@ +{ + "chain_name": "dig", + "coingecko": "", + "api": "https://api-1-dig.notional.ventures", + "rpc": ["https://rpc-1-dig.notional.ventures:443", "https://rpc-1-dig.notional.ventures:443"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "dig", + "logo": "/logos/dig1.png", + "assets": [{ + "base": "udig", + "symbol": "DIG", + "exponent": "6", + "coingecko_id": "dig-chain", + "logo": "/logos/dig1.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/echelon.json b/packages/dashboard/chains/mainnet/echelon.json new file mode 100644 index 00000000..297346fe --- /dev/null +++ b/packages/dashboard/chains/mainnet/echelon.json @@ -0,0 +1,20 @@ +{ + "chain_name": "echelon", + "coingecko": "echelon", + "api": ["https://api.ech.network", "https://lcd-echelon.whispernode.com", "https://api.echelon.nodestake.top", "https://echelon-api.polkachu.com", "https://api.eu.ech.world", "https://api.us.ech.world"], + "rpc": ["https://tendermint.ech.network", "https://rpc-echelon.whispernode.com" , "https://rpc.echelon.nodestake.top", "https://echelon-rpc.polkachu.com", "https://rpc.eu.ech.world", "https://rpc.us.ech.world"], + "snapshot_provider": "", + "sdk_version": "0.45.1", + "coin_type": "60", + "min_tx_fee": "3000000000000000", + "addr_prefix": "echelon", + "logo": "/logos/echelon.gif", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aechelon", + "symbol": "ECH", + "exponent": "18", + "coingecko_id": "echelon", + "logo": "/logos/echelon.gif" + }] +} diff --git a/packages/dashboard/chains/mainnet/emoney.json b/packages/dashboard/chains/mainnet/emoney.json new file mode 100644 index 00000000..9ed8b533 --- /dev/null +++ b/packages/dashboard/chains/mainnet/emoney.json @@ -0,0 +1,26 @@ +{ + "chain_name": "e-money", + "coingecko": "e-money", + "api": "https://emoney.validator.network/api", + "rpc": ["https://rpc-emoney.keplr.app:443", "https://emoney.validator.network:443"], + "snapshot_provider": "", + "addr_prefix": "emoney", + "coin_type": "118", + "min_tx_fee": "5000", + "logo": "/logos/e-money.jpg", + "sdk_version": "0.42.10", + "excludes": "mint governance", + "assets": [{ + "base": "ungm", + "symbol": "NGM", + "exponent": "6", + "coingecko_id": "emoney", + "logo": "/logos/e-money.jpg" + },{ + "base": "eeur", + "symbol": "EEUR", + "exponent": "6", + "coingecko_id": "e-money-eur", + "logo": "/logos/e-money.jpg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/evmos.json b/packages/dashboard/chains/mainnet/evmos.json new file mode 100644 index 00000000..737ecf52 --- /dev/null +++ b/packages/dashboard/chains/mainnet/evmos.json @@ -0,0 +1,19 @@ +{ + "chain_name": "evmos", + "api": ["https://evmos-api.polkachu.com", "https://api-evmos-ia.cosmosia.notional.ventures", "https://rest.bd.evmos.org:1317", "https://evmos-api.skynetvalidators.com","https://api.evmos.nodestake.top"], + "rpc": ["https://evmos-rpc.polkachu.com:443", "https://rpc-evmos-ia.cosmosia.notional.ventures:443", "https://tendermint.bd.evmos.org:26657", "https://tendermint.bd.evmos.org:26657","https://rpc.evmos.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.46.2", + "coin_type": "60", + "min_tx_fee": "5000000000000000", + "addr_prefix": "evmos", + "logo": "/logos/evmos.png", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aevmos", + "symbol": "evmos", + "exponent": "18", + "coingecko_id": "evmos", + "logo": "/logos/evmos.jpeg" + }] +} diff --git a/packages/dashboard/chains/mainnet/fetchai.json b/packages/dashboard/chains/mainnet/fetchai.json new file mode 100644 index 00000000..12c4c9f8 --- /dev/null +++ b/packages/dashboard/chains/mainnet/fetchai.json @@ -0,0 +1,18 @@ +{ + "chain_name": "fetchhub", + "api": ["https://rest-fetchhub.fetch.ai"], + "rpc": ["https://rpc-fetchhub.fetch.ai:443", "https://rpc-fetchhub.fetch.ai:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "3000000000000000", + "addr_prefix": "fetch", + "logo": "/logos/fetchhub.png", + "assets": [{ + "base": "afet", + "symbol": "fet", + "exponent": "18", + "coingecko_id": "fetch-ai", + "logo": "/logos/fetchhub.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/genesisl1.json b/packages/dashboard/chains/mainnet/genesisl1.json new file mode 100644 index 00000000..40119b17 --- /dev/null +++ b/packages/dashboard/chains/mainnet/genesisl1.json @@ -0,0 +1,18 @@ +{ + "chain_name": "genesisL1", + "api": "https://api.genesisl1.org", + "rpc": ["https://26657.genesisl1.org:443", "https://26657.genesisl1.org:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "3000000000000000", + "addr_prefix": "genesis", + "logo": "/logos/genesisl1.png", + "assets": [{ + "base": "el1", + "symbol": "L1", + "exponent": "18", + "coingecko_id": "", + "logo": "/logos/genesisl1.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/gravitybridge.json b/packages/dashboard/chains/mainnet/gravitybridge.json new file mode 100644 index 00000000..bad8b842 --- /dev/null +++ b/packages/dashboard/chains/mainnet/gravitybridge.json @@ -0,0 +1,19 @@ +{ + "chain_name": "gravity-bridge", + "api": ["https://gravitychain.io:1317","https://api.gravity-bridge.nodestake.top"], + "rpc": ["https://gravitychain.io:26657", "http://gravity-bridge-1-08.nodes.amhost.net:26657","https://rpc.gravity-bridge.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.44.5", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "gravity", + "excludes": "", + "logo": "/logos/gravity-bridge.png", + "assets": [{ + "base": "ugraviton", + "symbol": "GRAVITON", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/gravity-bridge.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/injective.json b/packages/dashboard/chains/mainnet/injective.json new file mode 100644 index 00000000..f5350b49 --- /dev/null +++ b/packages/dashboard/chains/mainnet/injective.json @@ -0,0 +1,25 @@ +{ + "chain_name": "injective", + "api": ["https://lcd.injective.network", "https://injective-api.polkachu.com"], + "rpc": ["https://tm.injective.network", "https://injective-rpc.polkachu.com"], + "snapshot_provider": "", + "sdk_version": "v0.45.5", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "inj", + "excludes": "", + "logo": "/logos/injective.jpg", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "keplr_price_step": { + "low": 100000000000, + "average": 200000000000, + "high": 30000000000000 + }, + "assets": [{ + "base": "inj", + "symbol": "INJ", + "exponent": "18", + "coingecko_id": "injective-protocol", + "logo": "/logos/injective.jpg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/iris.json b/packages/dashboard/chains/mainnet/iris.json index be28a1ca..de00b193 100644 --- a/packages/dashboard/chains/mainnet/iris.json +++ b/packages/dashboard/chains/mainnet/iris.json @@ -1,7 +1,7 @@ { "chain_name": "iris", "alias": "iris-network", - "api": ["https://api.gon.irisnet.org"], + "api": ["https://api.irishub-1.irisnet.org"], "rpc": ["http://34.82.96.8:26657","http://34.77.68.145:26657"], "snapshot_provider": "fcc1d9bc43163b20ce5163cf41a302b33f25375f@34.82.96.8:26656", "sdk_version": "0.46.1", diff --git a/packages/dashboard/chains/mainnet/ixo.json b/packages/dashboard/chains/mainnet/ixo.json new file mode 100644 index 00000000..ae41429d --- /dev/null +++ b/packages/dashboard/chains/mainnet/ixo.json @@ -0,0 +1,18 @@ +{ + "chain_name": "ixo", + "api": ["https://impacthub.ixo.world/rest", "https://proxies.sifchain.finance/api/impacthub-3/rest"], + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "ixo", + "logo": "/logos/ixo.svg", + "assets": [{ + "base": "uixo", + "symbol": "IXO", + "exponent": "6", + "coingecko_id": "ixo", + "logo": "/logos/ixo.svg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/jackal.json b/packages/dashboard/chains/mainnet/jackal.json new file mode 100644 index 00000000..7a964ad1 --- /dev/null +++ b/packages/dashboard/chains/mainnet/jackal.json @@ -0,0 +1,28 @@ +{ + "chain_name": "jackal", + "coingecko": "jackal-protocol", + "api": [ + "https://api.jackalprotocol.com", + "https://jackal-api.polkachu.com", + "https://api.jackal.nodestake.top" + ], + "rpc": [ + "https://rpc.jackalprotocol.com", + "https://jackal-rpc.polkachu.com", + "https://rpc.jackal.nodestake.top" + ], + "snapshot_provider": "", + "coin_type": "118", + "sdk_version": "0.45.11", + "addr_prefix": "jkl", + "logo": "/logos/jackal.png", + "assets": [ + { + "base": "ujkl", + "symbol": "JKL", + "exponent": "6", + "coingecko_id": "jackal-protocol", + "logo": "/logos/jackal.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/juno.json b/packages/dashboard/chains/mainnet/juno.json index 7996dd15..fa984b54 100644 --- a/packages/dashboard/chains/mainnet/juno.json +++ b/packages/dashboard/chains/mainnet/juno.json @@ -1,15 +1,17 @@ { "chain_name": "juno", - "api": ["https://api.uni.junonetwork.io"], - "rpc": [""], - "sdk_version": "0.46.1", + "coingecko": "juno-network", + "api": ["https://api-juno-ia.cosmosia.notional.ventures", "https://juno-api.polkachu.com", "https://lcd-juno.itastakers.com"], + "rpc": ["https://rpc-juno-ia.cosmosia.notional.ventures:443", "https://juno-rpc.polkachu.com:443", "https://rpc-juno.itastakers.com:443", "https://rpc-juno.itastakers.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.8", "coin_type": "118", "min_tx_fee": "3000", "addr_prefix": "juno", "logo": "/logos/juno.png", "assets": [{ - "base": "ujunox", - "symbol": "JUNOX", + "base": "ujuno", + "symbol": "JUNO", "exponent": "6", "coingecko_id": "juno-network", "logo": "/logos/juno.png" diff --git a/packages/dashboard/chains/mainnet/kava.json b/packages/dashboard/chains/mainnet/kava.json new file mode 100644 index 00000000..86226752 --- /dev/null +++ b/packages/dashboard/chains/mainnet/kava.json @@ -0,0 +1,19 @@ +{ + "chain_name": "kava", + "coingecko": "kava", + "api": "https://api.data.kava.io", + "rpc": ["https://rpc.kava.io:443", "https://rpc.kava.io:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "kava", + "logo": "/logos/kava.png", + "assets": [{ + "base": "ukava", + "symbol": "KAVA", + "exponent": "6", + "coingecko_id": "kava", + "logo": "/logos/kava.png" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/kichain.json b/packages/dashboard/chains/mainnet/kichain.json new file mode 100644 index 00000000..4fbbae26 --- /dev/null +++ b/packages/dashboard/chains/mainnet/kichain.json @@ -0,0 +1,18 @@ +{ + "chain_name": "kichain", + "api": ["https://api-mainnet.blockchain.ki", "https://ki.api.ping.pub","https://api.ki.nodestake.top"], + "rpc": ["https://rpc-mainnet.blockchain.ki:443", "https://rpc-mainnet.blockchain.ki:443","https://rpc.ki.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "ki", + "logo": "/logos/kichain.png", + "assets": [{ + "base": "uxki", + "symbol": "XKI", + "exponent": "6", + "coingecko_id": "ki", + "logo": "/logos/kichain.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/kujira.json b/packages/dashboard/chains/mainnet/kujira.json new file mode 100644 index 00000000..53cd9d33 --- /dev/null +++ b/packages/dashboard/chains/mainnet/kujira.json @@ -0,0 +1,19 @@ +{ + "chain_name": "kujira", + "coingecko": "", + "api": ["https://lcd.kaiyo.kujira.setten.io", "https://kujira-api.polkachu.com", "https://api-kujira.nodeist.net", "https://kujira.api.kjnodes.com"], + "rpc": ["https://rpc.kaiyo.kujira.setten.io", "https://kujira-api.polkachu.com:443", "https://rpc-stride.nodeist.net", "https://kujira.rpc.kjnodes.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "1250", + "addr_prefix": "kujira", + "logo": "/logos/kujira.png", + "assets": [{ + "base": "ukuji", + "symbol": "KUJI", + "exponent": "6", + "coingecko_id": "kujira", + "logo": "/logos/kujira.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/lambda.json b/packages/dashboard/chains/mainnet/lambda.json new file mode 100644 index 00000000..0b7aef43 --- /dev/null +++ b/packages/dashboard/chains/mainnet/lambda.json @@ -0,0 +1,20 @@ +{ + "chain_name": "lambda", + "api": ["https://rest.lambda.im", "https://api.lambda.nodestake.top", "https://lambda-api.jambulmerah.dev"], + "rpc": ["https://rpc.lambda.im", "https://rpc.lambda.nodestake.top", "https://lambda-rpc.jambulmerah.dev"], + "sdk_version": "0.45.6", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "lamb", + "logo": "/logos/lambda.png", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [ + { + "base": "ulamb", + "symbol": "LAMB", + "exponent": "18", + "coingecko_id": "lambda", + "logo": "/logos/lambda.png" + } + ] + } diff --git a/packages/dashboard/chains/mainnet/likecoin.json b/packages/dashboard/chains/mainnet/likecoin.json new file mode 100644 index 00000000..f8f11f7c --- /dev/null +++ b/packages/dashboard/chains/mainnet/likecoin.json @@ -0,0 +1,19 @@ +{ + "chain_name": "likecoin", + "coingecko": "likecoin", + "api": "https://mainnet-node.like.co", + "rpc": ["https://mainnet-node.like.co:443/rpc/", "https://mainnet-node.like.co:443/rpc/"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "like", + "logo": "/logos/likecoin.png", + "assets": [{ + "base": "nanolike", + "symbol": "LIKE", + "exponent": "9", + "coingecko_id": "likecoin", + "logo": "/logos/likecoin.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/lum.json b/packages/dashboard/chains/mainnet/lum.json new file mode 100644 index 00000000..0bdfd3f9 --- /dev/null +++ b/packages/dashboard/chains/mainnet/lum.json @@ -0,0 +1,19 @@ +{ + "chain_name": "lum-network", + "coingecko": "lum-network", + "api": ["https://api-lum.degeno.de", "https://node0.mainnet.lum.network/rest"], + "rpc": ["https://rpc-lum.degeno.de:443", "https://node0.mainnet.lum.network:443/rpc"], + "snapshot_provider": "", + "sdk_version": "0.44.5", + "coin_type": "880", + "min_tx_fee": "5000", + "addr_prefix": "lum", + "logo": "/logos/lum-network.png", + "assets": [{ + "base": "ulum", + "symbol": "LUM", + "exponent": "6", + "coingecko_id": "lum-network", + "logo": "/logos/lum-network.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/lumenx.json b/packages/dashboard/chains/mainnet/lumenx.json new file mode 100644 index 00000000..137a7e43 --- /dev/null +++ b/packages/dashboard/chains/mainnet/lumenx.json @@ -0,0 +1,19 @@ +{ + "chain_name": "lumenx", + "coingecko": "", + "api": ["https://api.lumenx.chaintools.tech:443","https://api-lumenx.cryptonet.pl:443"], + "rpc": ["https://rpc.lumenx.chaintools.tech:443","https://rpc-lumenx.cryptonet.pl:443"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "lumen", + "logo": "/logos/lumen.png", + "assets": [{ + "base": "ulumen", + "symbol": "LUMEN", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/lumen.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/mars.json b/packages/dashboard/chains/mainnet/mars.json new file mode 100644 index 00000000..db711f81 --- /dev/null +++ b/packages/dashboard/chains/mainnet/mars.json @@ -0,0 +1,29 @@ +{ + "chain_name": "mars", + "coingecko": "mars-protocol-a7fcbcfb-fd61-4017-92f0-7ee9f9cc6da3", + "api": [ + "https://rest.marsprotocol.io", + "https://mars-api.polkachu.com", + "https://rest.cosmos.directory/mars" + ], + "rpc": [ + "https://rpc.marsprotocol.io", + "https://mars-rpc.polkachu.com", + "https://rpc.marsprotocol.io", + "https://rpc.cosmos.directory/mars" + ], + "snapshot_provider": "", + "coin_type": "118", + "sdk_version": "0.46.8", + "addr_prefix": "mars", + "logo": "/logos/mars.png", + "assets": [ + { + "base": "umars", + "symbol": "MARS", + "exponent": "6", + "coingecko_id": "mars-protocol-a7fcbcfb-fd61-4017-92f0-7ee9f9cc6da3", + "logo": "/logos/mars.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/meme.json b/packages/dashboard/chains/mainnet/meme.json new file mode 100644 index 00000000..2c1447b3 --- /dev/null +++ b/packages/dashboard/chains/mainnet/meme.json @@ -0,0 +1,21 @@ +{ + "chain_name": "meme", + "coingecko": "meme-network", + "api": [ "https://api-meme-1.meme.sx", "https://meme-api.polkachu.com:443", "https://api.meme.pupmos.network:443", "https://meme-api.kleomedes.network:443", "https://meme.api.m.anode.team:443" ], + "rpc": [ "https://rpc-meme-1.meme.sx:443", "https://meme-rpc.polkachu.com:443", "https://rpc-meme.pupmos.network:443", "https://meme-rpc.kleomedes.network:443", "http://meme.statesync.nodersteam.com:26657", "https://meme.rpc.m.anode.team:443" ], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "meme", + "logo": "/logos/meme.png", + "assets": [ + { + "base": "umeme", + "symbol": "MEME", + "exponent": "6", + "coingecko_id": "meme-network", + "logo": "/logos/meme.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/microtick.json b/packages/dashboard/chains/mainnet/microtick.json new file mode 100644 index 00000000..78b8767f --- /dev/null +++ b/packages/dashboard/chains/mainnet/microtick.json @@ -0,0 +1,18 @@ +{ + "chain_name": "microtick", + "api": "https://lcd.microtick.zone", + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.42.9", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "micro", + "logo": "/logos/microtick.png", + "assets": [{ + "base": "utick", + "symbol": "TICK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/microtick.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/migaloo.json b/packages/dashboard/chains/mainnet/migaloo.json new file mode 100644 index 00000000..dd52c81d --- /dev/null +++ b/packages/dashboard/chains/mainnet/migaloo.json @@ -0,0 +1,21 @@ +{ + "chain_name": "Migaloo", + "coingecko": "", + "api": ["https://api.migaloo.silknodes.io"], + "rpc": ["https://rpc.migaloo.silknodes.io"], + "snapshot_provider": "", + "coin_type": 118, + "sdk_version": "0.45.9", + "addr_prefix": "migaloo", + "logo": "/logos/migaloo.png", + "assets": [ + { + "base": "uwhale", + "symbol": "WHALE", + "exponent": 6, + "coingecko_id": "", + "logo": "/logos/whitewhale.jpg" + } + ] + } + diff --git a/packages/dashboard/chains/mainnet/nym.json b/packages/dashboard/chains/mainnet/nym.json new file mode 100644 index 00000000..54f5f5c6 --- /dev/null +++ b/packages/dashboard/chains/mainnet/nym.json @@ -0,0 +1,24 @@ +{ + "chain_name": "nyx", + "api": ["https://api.nyx.nodes.guru"], + "rpc": ["https://rpc.nyx.nodes.guru"], + "snapshot_provider": "", + "sdk_version": "0.45.1", + "coin_type": "118", + "min_tx_fee": "8000", + "assets": [{ + "base": "unym", + "symbol": "NYM", + "exponent": "6", + "coingecko_id": "nym", + "logo": "/logos/nym.jpeg" + },{ + "base": "unyx", + "symbol": "NYX", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/nym.jpeg" + }], + "addr_prefix": "n", + "logo": "/logos/nym.jpeg" +} diff --git a/packages/dashboard/chains/mainnet/odin.json b/packages/dashboard/chains/mainnet/odin.json new file mode 100644 index 00000000..086afaf0 --- /dev/null +++ b/packages/dashboard/chains/mainnet/odin.json @@ -0,0 +1,30 @@ +{ + "chain_name": "odin", + "coingecko": "odin-protocol", + "api": "https://node.odin-freya-website.odinprotocol.io/mainnet/a/api", + "rpc": ["http://34.79.179.216:26657","http://34.140.252.7:26657","http://35.241.221.154:26657","http://35.241.238.207:26657"], + "addr_prefix": "odin", + "coin_type": "118", + "min_tx_fee": "2500", + "logo": "/logos/odin.png", + "sdk_version": "0.45.6", + "assets": [{ + "base": "loki", + "symbol": "ODIN", + "exponent": "6", + "coingecko_id": "odin-protocol", + "logo": "/logos/odin.png" + },{ + "base": "mGeo", + "symbol": "geo", + "exponent": "6", + "coingecko_id": "geodb", + "logo": "/logos/odin.png" + },{ + "base": "mO9W", + "symbol": "O9W", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/odin.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/okexchain.json.disabled b/packages/dashboard/chains/mainnet/okexchain.json.disabled new file mode 100644 index 00000000..b4a7179a --- /dev/null +++ b/packages/dashboard/chains/mainnet/okexchain.json.disabled @@ -0,0 +1,19 @@ +{ + "chain_name": "okexchain", + "api": "https://exchainrpc.okex.org/okexchain/v1", + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.39.2", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "ex", + "logo": "/logos/okexchain.svg", + "unload_module": ["minting", "slashing"], + "assets": [{ + "base": "okt", + "symbol": "okt", + "exponent": "0", + "coingecko_id": "okexchain", + "logo": "/logos/okexchain.svg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/omniflix.json b/packages/dashboard/chains/mainnet/omniflix.json index 1b86d8cd..0b841b7f 100644 --- a/packages/dashboard/chains/mainnet/omniflix.json +++ b/packages/dashboard/chains/mainnet/omniflix.json @@ -1,7 +1,8 @@ { "chain_name": "omniflix", - "api": ["https://api.testnet.omniflix.network"], - "rpc": [""], + "coingecko": "", + "api": ["https://api.omniflix.nodestake.top","https://omniflixhub-api.skynetvalidators.com"], + "rpc": ["https://rpc.omniflix.nodestake.top"], "snapshot_provider": "", "sdk_version": "0.46.1", "coin_type": "118", diff --git a/packages/dashboard/chains/mainnet/osmosis.json b/packages/dashboard/chains/mainnet/osmosis.json new file mode 100644 index 00000000..f46d467f --- /dev/null +++ b/packages/dashboard/chains/mainnet/osmosis.json @@ -0,0 +1,31 @@ +{ + "chain_name": "osmosis", + "coingecko": "osmosis", + "api": ["https://api-osmosis-ia.cosmosia.notional.ventures", "https://osmosis-api.polkachu.com", "https://osmo.api.ping.pub", "https://lcd-osmosis.blockapsis.com"], + "rpc": ["https://rpc-osmosis-ia.cosmosia.notional.ventures:443", "https://osmosis-rpc.polkachu.com:443", "https://osmosis.validator.network:443", "https://rpc-osmosis.blockapsis.com:443"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "osmo", + "logo": "/logos/osmosis.jpg", + "assets": [{ + "base": "uosmo", + "symbol": "OSMO", + "exponent": "6", + "coingecko_id": "osmosis", + "logo": "/logos/osmosis.jpg" + },{ + "base": "uion", + "symbol": "ION", + "exponent": "6", + "coingecko_id": "ion", + "logo": "/logos/osmosis.jpg" + },{ + "base": "usomm", + "symbol": "SOMM", + "exponent": "6", + "coingecko_id": "somm", + "logo": "" + }] +} diff --git a/packages/dashboard/chains/mainnet/passage.json b/packages/dashboard/chains/mainnet/passage.json new file mode 100644 index 00000000..ac616f58 --- /dev/null +++ b/packages/dashboard/chains/mainnet/passage.json @@ -0,0 +1,18 @@ +{ + "chain_name": "passage", + "api": ["https://passage-api.polkachu.com","https://api.passage.nodestake.top"], + "rpc": ["https://passage-rpc.polkachu.com:443","https://rpc.passage.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "pasg", + "logo": "/logos/passage.png", + "assets": [ + { + "base": "upasg", + "symbol": "PASG", + "exponent": "6" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/persistence.json b/packages/dashboard/chains/mainnet/persistence.json new file mode 100644 index 00000000..f5654725 --- /dev/null +++ b/packages/dashboard/chains/mainnet/persistence.json @@ -0,0 +1,19 @@ +{ + "chain_name": "persistence", + "coingecko": "persistence", + "api": "https://rest.core.persistence.one", + "rpc": ["https://rpc.core.persistence.one:443", "https://rpc.core.persistence.one:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "750", + "min_tx_fee": "3000", + "addr_prefix": "persistence", + "logo": "/logos/persistence.png", + "assets": [{ + "base": "uxprt", + "symbol": "XPRT", + "exponent": "6", + "coingecko_id": "persistence", + "logo": "/logos/persistence.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/planq.json b/packages/dashboard/chains/mainnet/planq.json new file mode 100644 index 00000000..5720d09f --- /dev/null +++ b/packages/dashboard/chains/mainnet/planq.json @@ -0,0 +1,19 @@ +{ + "chain_name": "planq", + "api": ["https://planq-api.polkachu.com", "https://rest.planq.network", "https://api-planq.comunitynode.my.id", "https://planq-api.enodex.lol", "https://api.planq.nodestake.top"], + "rpc": ["https://planq-rpc.polkachu.com", "https://rpc.planq.network", "https://rpc-planq.comunitynode.my.id", "https://planq-rpc.enodex.lol", "https://rpc.planq.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.46.3", + "coin_type": "60", + "min_tx_fee": "5000000000000000", + "addr_prefix": "plq", + "logo": "/logos/planq.png", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aplanq", + "symbol": "plq", + "exponent": "18", + "coingecko_id": "planq", + "logo": "/logos/planq.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/point.json b/packages/dashboard/chains/mainnet/point.json new file mode 100644 index 00000000..76205b42 --- /dev/null +++ b/packages/dashboard/chains/mainnet/point.json @@ -0,0 +1,18 @@ +{ + "chain_name": "Point", + "api": ["https://rpc-mainnet-1.point.space:1317","https://api.point.nodestake.top"], + "rpc": ["https://rpc-mainnet-1.point.space:26657","https://rpc.point.nodestake.top"], + "sdk_version": "0.45.7", + "coin_type": 60, + "min_tx_fee": "5000000000000000", + "addr_prefix": "point", + "logo": "/logos/point-logo.png", + "assets": [{ + "base": "apoint", + "symbol": "POINT", + "exponent": "18", + "coingecko_id": "point-network", + "logo": "/logos/point-logo.png" + }], + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"] +} diff --git a/packages/dashboard/chains/mainnet/provenance.json b/packages/dashboard/chains/mainnet/provenance.json new file mode 100644 index 00000000..50d6fd2a --- /dev/null +++ b/packages/dashboard/chains/mainnet/provenance.json @@ -0,0 +1,19 @@ +{ + "chain_name": "provenance", + "coingecko": "", + "api": "https://api.provenance.io", + "rpc": ["https://rpc.provenance.io:443", "https://rpc.provenance.io:443"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "505", + "min_tx_fee": "800000000", + "addr_prefix": "pb", + "logo": "/logos/provenance.svg", + "assets": [{ + "base": "nhash", + "symbol": "HASH", + "exponent": "9", + "coingecko_id": "provenance-blockchain", + "logo": "/logos/provenance.svg" + }] +} diff --git a/packages/dashboard/chains/mainnet/quicksilver.json b/packages/dashboard/chains/mainnet/quicksilver.json new file mode 100644 index 00000000..59572b06 --- /dev/null +++ b/packages/dashboard/chains/mainnet/quicksilver.json @@ -0,0 +1,20 @@ +{ + "chain_name": "quicksilver", + "coingecko": "", + "api": ["https://quicksilver-api.polkachu.com", "https://api-quicksilver.nodeist.net"], + "rpc": ["https://quicksilver-rpc.polkachu.com", "https://rpc-quicksilver.nodeist.net"], + "sdk_version": "0.46.7", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "quick", + "logo": "/logos/quicksilver.png", + "assets": [ + { + "base": "uqck", + "symbol": "QCK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/quicksilver.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/rebus.json b/packages/dashboard/chains/mainnet/rebus.json new file mode 100644 index 00000000..7f55e439 --- /dev/null +++ b/packages/dashboard/chains/mainnet/rebus.json @@ -0,0 +1,20 @@ +{ + "chain_name": "rebus", + "api": ["https://api.mainnet.rebus.money:1317","https://api.rebus.nodestake.top"], + "rpc": ["https://api.mainnet.rebus.money:26657","https://rpc.rebus.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "rebus", + "logo": "/logos/rebus.png", + "assets": [ + { + "base": "arebus", + "symbol": "REBUS", + "exponent": "18", + "coingecko_id": "rebus", + "logo": "/logos/rebus.png" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/regen.json b/packages/dashboard/chains/mainnet/regen.json new file mode 100644 index 00000000..1e4548b8 --- /dev/null +++ b/packages/dashboard/chains/mainnet/regen.json @@ -0,0 +1,19 @@ +{ + "chain_name": "regen", + "coingecko": "regen", + "api": "https://regen.api.ping.pub", + "rpc": ["http://public-rpc.regen.vitwit.com:26657", "https://regen.stakesystems.io:2053"], + "snapshot_provider": "", + "sdk_version": "0.46.2", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "regen", + "logo": "/logos/regen.svg", + "assets": [{ + "base": "uregen", + "symbol": "REGEN", + "exponent": "6", + "coingecko_id": "regen", + "logo": "/logos/regen.svg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/rizon.json b/packages/dashboard/chains/mainnet/rizon.json new file mode 100644 index 00000000..f88a0c82 --- /dev/null +++ b/packages/dashboard/chains/mainnet/rizon.json @@ -0,0 +1,17 @@ +{ + "chain_name": "rizon", + "api": ["https://api.rizon.chaintools.tech", "https://restapi.rizon.world"], + "rpc": ["http://seed-1.mainnet.rizon.world:26657"], + "sdk_version": "v0.45.6", + "coin_type": "118", + "min_tx_fee": "8000", + "assets": [{ + "base": "uatolo", + "symbol": "ATOLO", + "exponent": "6", + "coingecko_id": "rizon", + "logo": "/logos/rizon.svg" + }], + "addr_prefix": "rizon", + "logo": "/logos/rizon.svg" +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/secret.json b/packages/dashboard/chains/mainnet/secret.json new file mode 100644 index 00000000..fce16d84 --- /dev/null +++ b/packages/dashboard/chains/mainnet/secret.json @@ -0,0 +1,19 @@ +{ + "chain_name": "secret", + "coingecko": "secret", + "api": ["https://lcd.spartanapi.dev", "https://secretnetwork-lcd.stakely.io"], + "rpc": ["https://rpc.spartanapi.dev", "https://secretnetwork-rpc.stakely.io"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "529", + "min_tx_fee": "5000", + "addr_prefix": "secret", + "logo": "/logos/secret.png", + "assets": [{ + "base": "uscrt", + "symbol": "SCRT", + "exponent": "6", + "coingecko_id": "secret", + "logo": "/logos/secret.png" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/sentinel.json b/packages/dashboard/chains/mainnet/sentinel.json new file mode 100644 index 00000000..17aed681 --- /dev/null +++ b/packages/dashboard/chains/mainnet/sentinel.json @@ -0,0 +1,18 @@ +{ + "chain_name": "sentinel", + "api": ["https://api-sentinel-ia.cosmosia.notional.ventures", "https://lcd.sentinel.co"], + "rpc": ["https://api-sentinel-ia.cosmosia.notional.ventures:443", "https://rpc-sentinel.keplr.app:443", "https://rpc-sentinel.keplr.app:443"], + "snapshot_provider": "", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "sent", + "logo": "/logos/sentinel.png", + "assets": [{ + "base": "udvpn", + "symbol": "DVPN", + "exponent": "6", + "coingecko_id": "sentinel", + "logo": "/logos/sentinel.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/shentu.json b/packages/dashboard/chains/mainnet/shentu.json new file mode 100644 index 00000000..f12c35a2 --- /dev/null +++ b/packages/dashboard/chains/mainnet/shentu.json @@ -0,0 +1,20 @@ + +{ + "chain_name": "shentu", + "coingecko": "certik", + "api": ["https://certik-api.polkachu.com", "https://chainfull.noopsbycertik.com"], + "rpc": ["https://certik-rpc.polkachu.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "certik", + "logo": "/logos/shentu.jpg", + "assets": [{ + "base": "uctk", + "symbol": "CTK", + "exponent": "6", + "coingecko_id": "certik", + "logo": "/logos/shentu.jpg" + }] +} diff --git a/packages/dashboard/chains/mainnet/sifchain.json b/packages/dashboard/chains/mainnet/sifchain.json new file mode 100644 index 00000000..cfd440ff --- /dev/null +++ b/packages/dashboard/chains/mainnet/sifchain.json @@ -0,0 +1,18 @@ +{ + "chain_name": "sifchain", + "api": ["https://api-sifchain-ia.cosmosia.notional.ventures", "https://sifchain-api.polkachu.com", "https://api.sifchain.finance"], + "rpc": ["https://rpc-sifchain-ia.cosmosia.notional.ventures/", "https://sifchain-rpc.polkachu.com:443", "https://rpc.sifchain.finance:443", "https://rpc-archive.sifchain.finance:443"], + "snapshot_provider": "", + "sdk_version": "0.45.0", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "sif", + "logo": "/logos/sifchain.jpeg", + "assets": [{ + "base": "rowan", + "symbol": "ROWAN", + "exponent": "18", + "coingecko_id": "sifchain", + "logo": "/logos/sifchain.jpeg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/sommelier.json.disabled b/packages/dashboard/chains/mainnet/sommelier.json.disabled new file mode 100644 index 00000000..0ff46321 --- /dev/null +++ b/packages/dashboard/chains/mainnet/sommelier.json.disabled @@ -0,0 +1,22 @@ +{ + "chain_name": "sommelier", + "api": ["https://lcd-sommelier.keplr.app"], + "sdk_version": "0.44.5", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "somm", + "logo": "https://dl.airtable.com/.attachments/0f37f3aa77836b2db0ed217560264ff1/6f51315b/St07WEsb_400x400.png", + "assets": [{ + "base": "usomm", + "symbol": "somm", + "exponent": "6", + "coingecko_id": "", + "logo": "https://dl.airtable.com/.attachments/0f37f3aa77836b2db0ed217560264ff1/6f51315b/St07WEsb_400x400.png" + },{ + "base": "msomm", + "symbol": "somm", + "exponent": "3", + "coingecko_id": "", + "logo": "https://dl.airtable.com/.attachments/0f37f3aa77836b2db0ed217560264ff1/6f51315b/St07WEsb_400x400.png" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/stafihub.json b/packages/dashboard/chains/mainnet/stafihub.json new file mode 100644 index 00000000..b685b5c6 --- /dev/null +++ b/packages/dashboard/chains/mainnet/stafihub.json @@ -0,0 +1,37 @@ +{ + "chain_name": "stafihub", + "coingecko": "stafi", + "api": ["https://public-rest-rpc1.stafihub.io","https://api.stafihub.nodestake.top"], + "rpc": ["https://public-rpc1.stafihub.io:443","https://rpc.stafihub.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.7", + "coin_type": "118", + "min_tx_fee": "20000", + "addr_prefix": "stafi", + "logo": "/logos/stafihub.png", + "assets": [{ + "base": "ufis", + "symbol": "FIS", + "exponent": "6", + "coingecko_id": "stafi", + "logo": "/logos/stafihub.png" + },{ + "base": "uratom", + "symbol": "rATOM", + "exponent": "6", + "coingecko_id": "stafi-ratom", + "logo": "/logos/stafihub.png" + },{ + "base": "uriris", + "symbol": "rIRIS", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/stafihub.png" + },{ + "base": "urhuahua", + "symbol": "rHUAHUA", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/stafihub.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/stargaze.json b/packages/dashboard/chains/mainnet/stargaze.json index d28122c8..879822bc 100644 --- a/packages/dashboard/chains/mainnet/stargaze.json +++ b/packages/dashboard/chains/mainnet/stargaze.json @@ -1,7 +1,7 @@ { "chain_name": "stargaze", - "api": ["https://rest.elgafar-1.stargaze-apis.com"], - "rpc": [""], + "api": ["https://stargaze-api.polkachu.com/","https://api-stargaze-ia.cosmosia.notional.ventures/", "https://rest.stargaze-apis.com", "https://rest.stargaze.publicawesome.dev"], + "rpc": ["https://stargaze-rpc.polkachu.com/", "https://rpc-stargaze-ia.cosmosia.notional.ventures/","https://rpc.stargaze-apis.com:443", "https://rpc.stargaze.ezstaking.io:443"], "snapshot_provider": "", "sdk_version": "0.45.6", "coin_type": "118", diff --git a/packages/dashboard/chains/mainnet/starname.json b/packages/dashboard/chains/mainnet/starname.json new file mode 100644 index 00000000..0119de32 --- /dev/null +++ b/packages/dashboard/chains/mainnet/starname.json @@ -0,0 +1,18 @@ +{ + "chain_name": "starname", + "api": "https://api.iov-mainnet-ibc.iov.one", + "rpc": ["https://rpc-iov.keplr.app:443", "https://rpc-iov.keplr.app:443"], + "snapshot_provider": "", + "sdk_version": "0.44.5", + "coin_type": "234", + "min_tx_fee": "8000", + "addr_prefix": "star", + "logo": "/logos/starname.jpg", + "assets": [{ + "base": "uiov", + "symbol": "IOV", + "exponent": "6", + "coingecko_id": "starname", + "logo": "/logos/starname.jpg" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/stride.json b/packages/dashboard/chains/mainnet/stride.json new file mode 100644 index 00000000..4f7005e0 --- /dev/null +++ b/packages/dashboard/chains/mainnet/stride.json @@ -0,0 +1,18 @@ +{ + "chain_name": "stride", + "api": ["https://stride-api.polkachu.com", "https://api.stride.nodestake.top", "https://api-stride.nodeist.net", "https://stride.api.kjnodes.com"], + "rpc": ["https://stride-rpc.polkachu.com:443", "https://rpc.stride.nodestake.top", "https://rpc-stride.nodeist.net", "https://stride.rpc.kjnodes.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "stride", + "logo": "/logos/stride.png", + "assets": [{ + "base": "ustrd", + "symbol": "STRD", + "exponent": "6", + "coingecko_id": "stride", + "logo": "/logos/stride.png" + }] +} diff --git a/packages/dashboard/chains/mainnet/teritori.json b/packages/dashboard/chains/mainnet/teritori.json new file mode 100644 index 00000000..ebb12292 --- /dev/null +++ b/packages/dashboard/chains/mainnet/teritori.json @@ -0,0 +1,20 @@ +{ + "chain_name": "teritori", + "api": ["https://rest.mainnet.teritori.com","https://api.teritori.nodestake.top"], + "rpc": ["https://rpc.mainnet.teritori.com","https://rpc.teritori.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "tori", + "logo": "/logos/teritori.svg", + "assets": [ + { + "base": "utori", + "symbol": "TORI", + "exponent": "6", + "coingecko_id": "teritori", + "logo": "/logos/teritori.svg" + } + ] +} diff --git a/packages/dashboard/chains/mainnet/terra.json b/packages/dashboard/chains/mainnet/terra.json new file mode 100644 index 00000000..d9882914 --- /dev/null +++ b/packages/dashboard/chains/mainnet/terra.json @@ -0,0 +1,139 @@ +{ + "chain_name": "terra-luna", + "coingecko": "terra-luna", + "api": "https://fcd.terra.dev", + "rpc": ["https://terra-rpc.easy2stake.com:443", "http://public-node.terra.dev:26657"], + "snapshot_provider": "", + "sdk_version": "0.44.2", + "coin_type": "330", + "min_tx_fee": "5000", + "addr_prefix": "terra", + "logo": "/logos/terra-luna.jpg", + "assets": [{ + "base": "uluna", + "symbol": "LUNC", + "exponent": "6", + "coingecko_id": "terra-luna", + "logo": "/logos/terra-luna.jpg" + },{ + "base": "uusd", + "symbol": "USTc", + "exponent": "6", + "coingecko_id": "terrausd", + "logo": "/logos/terra-luna-ust.png" + },{ + "base": "ukrw", + "symbol": "KRT", + "exponent": "6", + "coingecko_id": "terrakrw", + "logo": "/logos/terra-luna-krt.png" + },{ + "base": "cw20:terra183cvzy6knvva6mpvzcq86uyfxw0nd4925m0d0m", + "symbol": "WHALE", + "exponent": "6", + "coingecko_id": "white-whale", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uaud", + "symbol": "AUD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucad", + "symbol": "CAD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uchf", + "symbol": "CHF", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucny", + "symbol": "CNY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "udkk", + "symbol": "DKK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ueur", + "symbol": "EUR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ugbp", + "symbol": "GBP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uhkd", + "symbol": "HKD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uidr", + "symbol": "IDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uinr", + "symbol": "INR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ujpy", + "symbol": "JPY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "umnt", + "symbol": "MNT", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uphp", + "symbol": "PHP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usdr", + "symbol": "SDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usek", + "symbol": "SEK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usgd", + "symbol": "SGD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uthb", + "symbol": "THB", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/terra2.json b/packages/dashboard/chains/mainnet/terra2.json new file mode 100644 index 00000000..d33e8a24 --- /dev/null +++ b/packages/dashboard/chains/mainnet/terra2.json @@ -0,0 +1,138 @@ +{ + "chain_name": "terra2", + "api": ["https://phoenix-lcd.terra.dev", "https://terra-api.polkachu.com/"], + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.44.2", + "coin_type": "330", + "min_tx_fee": "5000", + "addr_prefix": "terra", + "logo": "/logos/terra-luna.jpg", + "assets": [{ + "base": "uluna", + "symbol": "LUNA", + "exponent": "6", + "coingecko_id": "terra-luna-2", + "logo": "/logos/terra-luna.jpg" + },{ + "base": "uusd", + "symbol": "UST", + "exponent": "6", + "coingecko_id": "terrausd", + "logo": "/logos/terra-luna-ust.png" + },{ + "base": "ukrw", + "symbol": "KRT", + "exponent": "6", + "coingecko_id": "terrakrw", + "logo": "/logos/terra-luna-krt.png" + },{ + "base": "cw20:terra183cvzy6knvva6mpvzcq86uyfxw0nd4925m0d0m", + "symbol": "WHALE", + "exponent": "6", + "coingecko_id": "white-whale", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uaud", + "symbol": "AUD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucad", + "symbol": "CAD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uchf", + "symbol": "CHF", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucny", + "symbol": "CNY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "udkk", + "symbol": "DKK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ueur", + "symbol": "EUR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ugbp", + "symbol": "GBP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uhkd", + "symbol": "HKD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uidr", + "symbol": "IDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uinr", + "symbol": "INR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ujpy", + "symbol": "JPY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "umnt", + "symbol": "MNT", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uphp", + "symbol": "PHP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usdr", + "symbol": "SDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usek", + "symbol": "SEK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usgd", + "symbol": "SGD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uthb", + "symbol": "THB", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + }] +} \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/umee.json b/packages/dashboard/chains/mainnet/umee.json new file mode 100644 index 00000000..38fbfa24 --- /dev/null +++ b/packages/dashboard/chains/mainnet/umee.json @@ -0,0 +1,18 @@ +{ + "chain_name": "umee", + "api": ["https://api.barnacle.mainnet.network.umee.cc:443"], + "rpc": ["https://rpc.barnacle.mainnet.network.umee.cc:443"], + "snapshot_provider": "", + "sdk_version": "0.46.2", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "umee", + "logo": "/logos/umee.png", + "assets": [{ + "base": "uumee", + "symbol": "UMEE", + "exponent": "6", + "coingecko_id": "umee", + "logo": "/logos/umee.png" + }] + } diff --git a/packages/dashboard/chains/mainnet/unification.json b/packages/dashboard/chains/mainnet/unification.json new file mode 100644 index 00000000..854f1be9 --- /dev/null +++ b/packages/dashboard/chains/mainnet/unification.json @@ -0,0 +1,26 @@ +{ + "chain_name": "Unification", + "coingecko": "unification", + "api": ["https://rest.unification.chainmasters.ninja", "https://rest.unification.io"], + "rpc": ["https://rpc.unification.chainmasters.ninja", "https://rpc1.unification.io"], + "snapshot_provider": "fcccb1745ee75a5984bd10f8d0b51564011c0310@sync1.unification.io:26657,35986ac67257e8f8805ff0c2f408ac2a48cbba77@sync2.unification.io:26657", + "sdk_version": "0.42.11", + "walletUrlForStaking": "https://explorer.unification.chainmasters.ninja/wallet", + "coin_type": "5555", + "min_tx_fee": "25000000000000000", + "addr_prefix": "und", + "logo": "/logos/unification.png", + "assets": [{ + "base": "nund", + "symbol": "FUND", + "exponent": "9", + "coingecko_id": "unification", + "logo": "/logos/unification.png" + }], + "gasPriceStep": { + "low": 100, + "average": 200, + "high": 300 + }, + "votingPowerPerCoin": 1000 +} diff --git a/packages/dashboard/chains/mainnet/vidulum.json b/packages/dashboard/chains/mainnet/vidulum.json new file mode 100644 index 00000000..ddd2fd76 --- /dev/null +++ b/packages/dashboard/chains/mainnet/vidulum.json @@ -0,0 +1,19 @@ +{ + "chain_name": "vidulum", + "coingecko": "vidulum", + "api": ["https://mainnet-lcd.vidulum.app", "https://api-vidulum-ia.cosmosia.notional.ventures"], + "rpc": ["https://mainnet-rpc.vidulum.app:443", "https://rpc-vidulum-ia.cosmosia.notional.ventures:443"], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "370", + "min_tx_fee": "8000", + "addr_prefix": "vdl", + "logo": "/logos/VDL.png", + "assets": [{ + "base": "uvdl", + "symbol": "VDL", + "exponent": "6", + "coingecko_id": "vidulum", + "logo": "/logos/VDL.png" + }] + } \ No newline at end of file diff --git a/packages/dashboard/chains/mainnet/whitewhale.json b/packages/dashboard/chains/mainnet/whitewhale.json new file mode 100644 index 00000000..af5beab5 --- /dev/null +++ b/packages/dashboard/chains/mainnet/whitewhale.json @@ -0,0 +1,20 @@ +{ + "chain_name": "whitewhale", + "api": ["https://whitewhale-api.polkachu.com:443"], + "rpc": ["https://whitewhale-rpc.polkachu.com:443"], + "snapshot_provider": "", + "sdk_version": "0.46.9", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "migaloo", + "logo": "/logos/whitewhale.png", + "assets": [ + { + "base": "uwhale", + "symbol": "WHALE", + "exponent": "6", + "coingecko_id": "white-whale", + "logo": "/logos/whale.png" + } + ] +} diff --git a/packages/dashboard/package.json b/packages/dashboard/package.json index eabaa260..1e079d56 100644 --- a/packages/dashboard/package.json +++ b/packages/dashboard/package.json @@ -25,6 +25,7 @@ "apexcharts": "^3.37.1", "axios": "^1.3.2", "cross-fetch": "^3.1.5", + "dayjs": "^1.11.7", "long": "^5.2.1", "md-editor-v3": "^2.8.1", "numeral": "^2.0.6", diff --git a/packages/dashboard/src/components/HelloWorld.vue b/packages/dashboard/src/components/HelloWorld.vue deleted file mode 100644 index 23afedd7..00000000 --- a/packages/dashboard/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/packages/dashboard/src/components/ProposalProcess.vue b/packages/dashboard/src/components/ProposalProcess.vue new file mode 100644 index 00000000..a66b9bef --- /dev/null +++ b/packages/dashboard/src/components/ProposalProcess.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/packages/dashboard/src/components/TheWelcome.vue b/packages/dashboard/src/components/TheWelcome.vue deleted file mode 100644 index a70765c2..00000000 --- a/packages/dashboard/src/components/TheWelcome.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/packages/dashboard/src/components/WelcomeItem.vue b/packages/dashboard/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/packages/dashboard/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/packages/dashboard/src/libs/client.ts b/packages/dashboard/src/libs/client.ts index 6b5361fb..6898526f 100644 --- a/packages/dashboard/src/libs/client.ts +++ b/packages/dashboard/src/libs/client.ts @@ -2,7 +2,7 @@ import { LCDQueryClient as BankRestClient} from '@ping-pub/codegen/src/cosmos/ba import { LCDQueryClient as BaseRestClient} from '@ping-pub/codegen/src/cosmos/base/tendermint/v1beta1/query.lcd' import { LCDQueryClient as MintRestClient} from '@ping-pub/codegen/src/cosmos/mint/v1beta1/query.lcd' import { LCDQueryClient as DistributionRestClient} from '@ping-pub/codegen/src/cosmos/distribution/v1beta1/query.lcd' -import { LCDQueryClient as GovRestClient} from '@ping-pub/codegen/src/cosmos/gov/v1/query.lcd' +import { LCDQueryClient as GovRestClient} from '@ping-pub/codegen/src/cosmos/gov/v1beta1/query.lcd' import { LCDQueryClient as StakingRestClient} from '@ping-pub/codegen/src/cosmos/staking/v1beta1/query.lcd' import { LCDQueryClient as SlashingRestClient} from '@ping-pub/codegen/src/cosmos/slashing/v1beta1/query.lcd' import type { LCDClient } from '@osmonauts/lcd' diff --git a/packages/dashboard/src/modules/[chain]/index.vue b/packages/dashboard/src/modules/[chain]/index.vue index c4025889..e9ae773d 100644 --- a/packages/dashboard/src/modules/[chain]/index.vue +++ b/packages/dashboard/src/modules/[chain]/index.vue @@ -2,14 +2,13 @@ import MdEditor from 'md-editor-v3'; import PriceMarketChart from '@/components/charts/PriceMarketChart.vue' -import { useCoingecko, useBlockchain, useBankStore, useFormatter } from '@/stores'; +import { useBlockchain, useFormatter } from '@/stores'; import { onMounted, ref } from 'vue'; import { useIndexModule } from './indexStore'; import { computed } from '@vue/reactivity'; -import CardStatisticsHorizontal from '@/components/CardStatisticsHorizontal.vue'; import CardStatisticsVertical from '@/components/CardStatisticsVertical.vue'; -import { useBaseStore } from '@/stores'; +import ProposalProcess from '@/components/ProposalProcess.vue'; const blockchain = useBlockchain() const store = useIndexModule() @@ -25,6 +24,7 @@ onMounted(() => { const format = useFormatter() const ticker = computed(() => store.coinInfo.tickers[store.tickerIndex]) const desc = ref('') +const detailId = ref('') store.$subscribe((m, s) => { desc.value = s.coinInfo.description?.en || '' @@ -42,16 +42,18 @@ function shortName(name: string, id: string) { - \ No newline at end of file + diff --git a/packages/dashboard/src/modules/[chain]/indexStore.ts b/packages/dashboard/src/modules/[chain]/indexStore.ts index 3859b38f..6b82edd0 100644 --- a/packages/dashboard/src/modules/[chain]/indexStore.ts +++ b/packages/dashboard/src/modules/[chain]/indexStore.ts @@ -1,7 +1,8 @@ -import { useBlockchain, useCoingecko, useBaseStore, useBankStore, useFormatter } from "@/stores"; +import { useBlockchain, useCoingecko, useBaseStore, useBankStore, useFormatter, useGovStore } from "@/stores"; import { useDistributionStore } from "@/stores/useDistributionStore"; import { useMintStore } from "@/stores/useMintStore"; import { useStakingStore } from "@/stores/useStakingStore"; +import { ProposalStatus, type ProposalSDKType } from "@ping-pub/codegen/src/cosmos/gov/v1beta1/gov"; import numeral from "numeral"; import { defineStore } from "pinia"; @@ -63,7 +64,14 @@ export const useIndexModule = defineStore('module-index', { prices: [] as number[], total_volumes: [] as number[], }, - communityPool: [] as {amount: string, denom: string}[] + communityPool: [] as {amount: string, denom: string}[], + proposals: [] as ProposalSDKType[], + tally: {} as Record } }, getters: { @@ -118,12 +126,16 @@ export const useIndexModule = defineStore('module-index', { return useMintStore() }, + pool() { + const staking = useStakingStore() + return staking.pool + }, + stats () { const base = useBaseStore() const bank = useBankStore() - const formatter = useFormatter() const staking = useStakingStore() - const pool = staking.pool + const formatter = useFormatter() return [ { title: 'Height', @@ -150,7 +162,7 @@ export const useIndexModule = defineStore('module-index', { title: 'Bonded Tokens', color: 'warning', icon: 'mdi-lock', - stats: formatter.formatTokenAmount({amount: pool.bonded_tokens, denom: staking.params.bond_denom }), + stats: formatter.formatTokenAmount({amount: this.pool.bonded_tokens, denom: staking.params.bond_denom }), change: 0, }, { @@ -172,6 +184,7 @@ export const useIndexModule = defineStore('module-index', { }, actions: { async loadDashboard() { + this.$reset() this.initCoingecko() this.mintStore.fetchInflation() const dist = useDistributionStore() @@ -181,6 +194,15 @@ export const useIndexModule = defineStore('module-index', { denom: t.denom })) }) + const gov = useGovStore() + gov.fetchProposals(ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD).then(x => { + this.proposals = x.proposals + x.proposals.forEach(x1 => { + gov.fetchTally(x1.proposal_id).then(t => { + if(t.tally) this.tally[Number(x1.proposal_id)] = t.tally + }) + }) + }) }, tickerColor(color: string) { return colorMap(color) diff --git a/packages/dashboard/src/stores/index.ts b/packages/dashboard/src/stores/index.ts index ba3be05b..a50d7c34 100644 --- a/packages/dashboard/src/stores/index.ts +++ b/packages/dashboard/src/stores/index.ts @@ -3,4 +3,8 @@ export * from './useBlockchain' export * from './useCoinGecko' export * from './useDashboard' export * from './useBaseStore' -export * from './useFormatter' \ No newline at end of file +export * from './useFormatter' +export * from './useGovStore' +export * from './useMintStore' +export * from './useStakingStore' +export * from './useDistributionStore' \ No newline at end of file diff --git a/packages/dashboard/src/stores/useBlockchain.ts b/packages/dashboard/src/stores/useBlockchain.ts index dc296ab3..216e96e5 100644 --- a/packages/dashboard/src/stores/useBlockchain.ts +++ b/packages/dashboard/src/stores/useBlockchain.ts @@ -6,6 +6,7 @@ import { useRouter } from "vue-router"; import { useStakingStore } from "./useStakingStore"; import { useBankStore } from "./useBankStore"; import { useBaseStore } from "./useBaseStore"; +import { useGovStore } from "./useGovStore"; export const useBlockchain = defineStore("blockchain", { state: () => { @@ -101,6 +102,7 @@ export const useBlockchain = defineStore("blockchain", { await useStakingStore().init() await useBankStore().initial() useBaseStore().initial() + useGovStore().initial() }, setRestEndpoint(endpoint: string) { this.rest = endpoint diff --git a/packages/dashboard/src/stores/useDashboard.ts b/packages/dashboard/src/stores/useDashboard.ts index be6210d8..5c21d53b 100644 --- a/packages/dashboard/src/stores/useDashboard.ts +++ b/packages/dashboard/src/stores/useDashboard.ts @@ -86,7 +86,9 @@ export interface LocalConfig { } function apiConverter(api: any[]){ - return api.map(x => { + if(!api) return [] + const array = typeof api === 'string'? [api] : api + return array.map(x => { if(typeof x === 'string') { const parts = String(x).split('.') return { diff --git a/packages/dashboard/src/stores/useFormatter.ts b/packages/dashboard/src/stores/useFormatter.ts index ddb7089f..bba809c5 100644 --- a/packages/dashboard/src/stores/useFormatter.ts +++ b/packages/dashboard/src/stores/useFormatter.ts @@ -2,8 +2,37 @@ import { defineStore } from "pinia"; import { useBlockchain } from "./useBlockchain"; import Long from "long"; import numeral from "numeral"; +import dayjs from 'dayjs'; +import duration from 'dayjs/plugin/duration' +import relativeTime from 'dayjs/plugin/relativeTime' +import updateLocale from 'dayjs/plugin/updateLocale' +import utc from 'dayjs/plugin/utc' +import localeData from 'dayjs/plugin/localeData' import type { PoolSDKType } from "@ping-pub/codegen/src/cosmos/staking/v1beta1/staking"; +dayjs.extend(localeData) +dayjs.extend(duration) +dayjs.extend(relativeTime) +dayjs.extend(updateLocale) +dayjs.extend(utc) +dayjs.updateLocale('en', { + relativeTime: { + future: 'in %s', + past: '%s ago', + s: '%ds', + m: '1m', + mm: '%dm', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, +}) + export const useFormatter = defineStore('formatter', { state: () => { return { @@ -35,17 +64,13 @@ export const useFormatter = defineStore('formatter', { amount = Long.fromValue(token.amount).divide(Math.pow(10, unit?.exponent)) denom = unit.denom.toUpperCase() } - - console.log("===============") - console.log(unit, token, amount, denom) - console.log("===============") } return `${numeral(amount).format('0.0a')} ${withDenom ? denom: ''}` } return '-' }, formatTokens(tokens: { denom: string, amount: string;}[], withDenom = true) : string { - return tokens.map(x => this.formatToken(x, withDenom)).join(',') + return tokens.map(x => this.formatToken(x, withDenom)).join(', ') }, calculateBondedRatio(pool: {bonded_tokens: string, not_bonded_tokens: string}|undefined) { if(pool && pool.bonded_tokens) { @@ -57,9 +82,36 @@ export const useFormatter = defineStore('formatter', { } return '-' }, + calculatePercent(input?: string, total?: string ) { + if(!input || !total) return '0' + const percent = Number(input)/Number(total) + return numeral(percent).format("0.[00]%") + }, formatDecimalToPercent(decimal: string) { return numeral(decimal).format('0.[00]%') }, + formatDateTo(date: string) { + return dayjs(date).to + }, + toDay(time?: string, format = 'long') { + if(!time) return '' + if (format === 'long') { + return dayjs(time).format('YYYY-MM-DD HH:mm') + } + if (format === 'date') { + return dayjs(time).format('YYYY-MM-DD') + } + if (format === 'time') { + return dayjs(time).format('HH:mm:ss') + } + if (format === 'from') { + return dayjs(time).fromNow() + } + if (format === 'to') { + return dayjs(time).toNow() + } + return dayjs(time).format('YYYY-MM-DD HH:mm:ss') + } } }) diff --git a/packages/dashboard/src/stores/useGovStore.ts b/packages/dashboard/src/stores/useGovStore.ts index 902fad23..2bf0f927 100644 --- a/packages/dashboard/src/stores/useGovStore.ts +++ b/packages/dashboard/src/stores/useGovStore.ts @@ -3,10 +3,16 @@ import { useBlockchain } from "./useBlockchain"; import { createGovRestClientForChain } from "@/libs/client"; import type { ProposalStatus } from "@ping-pub/codegen/src/cosmos/gov/v1/gov"; import type { PageRequest } from "@ping-pub/codegen/src/helpers"; +import type { DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, VotingParams, VotingParamsSDKType } from "@ping-pub/codegen/src/cosmos/gov/v1beta1/gov"; -export const useStoreName = defineStore('govStore', { +export const useGovStore = defineStore('govStore', { state: () => { return { + params: { + deposit: {} as DepositParamsSDKType, + voting: {} as VotingParamsSDKType, + tally: {} as TallyParamsSDKType, + } } }, getters: { @@ -16,7 +22,10 @@ export const useStoreName = defineStore('govStore', { } }, actions: { - fetehProposals( proposalStatus: ProposalStatus, pagination?: PageRequest ) { + initial() { + this.fetchParams() + }, + fetchProposals( proposalStatus: ProposalStatus, pagination?: PageRequest ) { const param = { proposalStatus, voter: '', @@ -24,6 +33,20 @@ export const useStoreName = defineStore('govStore', { pagination, } return this.client.proposals(param) + }, + fetchParams() { + this.client.params({paramsType: 'deposit'}).then(x => { + if(x.deposit_params) this.params.deposit = x.deposit_params + }) + this.client.params({paramsType: 'voting'}).then(x => { + if(x.voting_params) this.params.voting = x.voting_params + }) + this.client.params({paramsType: 'tallying'}).then(x => { + if(x.tally_params) this.params.tally = x.tally_params + }) + }, + fetchTally(proposalId: Long) { + return this.client.tallyResult({proposalId}) } } -}) \ No newline at end of file +}) diff --git a/packages/dashboard/src/types/Proposal.ts b/packages/dashboard/src/types/Proposal.ts new file mode 100644 index 00000000..355de808 --- /dev/null +++ b/packages/dashboard/src/types/Proposal.ts @@ -0,0 +1,5 @@ +export class Proposal { + type: string = ''; + title: string = ''; + description: string = '' +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index feab3889..d736683b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4838,6 +4838,11 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== +dayjs@^1.11.7: + version "1.11.7" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" + integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== + de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"