diff --git a/packages/ui/src/constants.ts b/packages/ui/src/constants.ts index 00e77855..caa7acc8 100644 --- a/packages/ui/src/constants.ts +++ b/packages/ui/src/constants.ts @@ -18,6 +18,7 @@ import { chainsAmplitudeSVG } from './logos/amplitudeSVG' import { nodesJoystreamSVG } from './logos/joystreamSVG' import { chainsWatrPNG } from './logos/watrPNG' import paseoSVG from './logos/paseoSVG.svg' +import { nodesCoretimeSVG } from './logos/coretimeSVG' export const DAPP_NAME = 'Multix' export const ICON_SIZE_LARGE = 92 @@ -75,6 +76,22 @@ export const networkList: Record = { httpGraphqlUrl: HTTP_GRAPHQL_URL, logo: nodesAssetHubSVG }, + 'coretime-dot': { + chainId: 'coretime-polkadot', + explorerNetworkName: 'coretime-polkadot', + rpcUrl: 'wss://sys.ibp.network/coretime-polkadot', + pplChainRpcUrl: polkadotPplChain, + httpGraphqlUrl: HTTP_GRAPHQL_URL, + logo: nodesCoretimeSVG + }, + 'coretime-ksm': { + chainId: 'coretime-kusama', + explorerNetworkName: 'coretime-kusama', + rpcUrl: 'wss://sys.ibp.network/coretime-kusama', + pplChainRpcUrl: kusamaPplChain, + httpGraphqlUrl: HTTP_GRAPHQL_URL, + logo: nodesCoretimeSVG + }, acala: { chainId: 'acala', explorerNetworkName: 'acala', @@ -214,8 +231,9 @@ export const networkList: Record = { export const polkadotNetworksAndParachains: Partial[] = [ 'polkadot', 'asset-hub-dot', + 'coretime-dot', 'acala', - 'astar', + // 'astar', 'bifrost-dot', 'hydration', 'interlay', @@ -228,8 +246,9 @@ export const polkadotNetworksAndParachains: Partial[] export const kusamaNetworksAndParachains: Partial[] = [ 'kusama', 'asset-hub-ksm', + 'coretime-ksm' // 'amplitude', - 'khala' + // 'khala' // 'moonriver' ] export const soloChains: Partial[] = [ diff --git a/packages/ui/src/logos/coretimeSVG.ts b/packages/ui/src/logos/coretimeSVG.ts new file mode 100644 index 00000000..0423cf5b --- /dev/null +++ b/packages/ui/src/logos/coretimeSVG.ts @@ -0,0 +1,7 @@ +// Copyright 2017-2023 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +// Do not edit. Auto-generated via node scripts/imgConvert.mjs + +export const nodesCoretimeSVG = + 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNTYiIHZpZXdCb3g9IjAgMCA1NiA1NiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzMwNjBfMTUzNikiPgo8cGF0aCBkPSJNNTUuNzYzOCAyNy45Mzg4QzU1Ljc2MzggNDMuMjY4OCA0My4zMzg4IDU1LjcwMjYgMjguMDAwMSA1NS43MDI2QzEyLjY2MTMgNTUuNzAyNiAwLjIzNjMyOCA0My4yNzc2IDAuMjM2MzI4IDI3LjkzODhDMC4yMzYzMjggMTIuNjAwMSAxMi42NzAxIDAuMTgzODM4IDI4LjAwMDEgMC4xODM4MzhDNDMuMzMwMSAwLjE4MzgzOCA1NS43NjM4IDEyLjYwODggNTUuNzYzOCAyNy45Mzg4WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTM3Ljc1MjIgMjkuMDM1MUMzNy41Nzg2IDMwLjUyNTIgMzcuMDY1MSAzMS44MjcyIDM2LjIxMTUgMzIuOTQxMUMzNS4zNzI1IDM0LjA1NTEgMzQuMjU4NSAzNC45MjMxIDMyLjg2OTcgMzUuNTQ1MUMzMS40ODA5IDM2LjE2NzIgMjkuODg5NiAzNi40NzgyIDI4LjA5NTcgMzYuNDc4MkMyNi4xNTcyIDM2LjQ3ODIgMjQuNDY0NiAzNi4xMjM4IDIzLjAxNzkgMzUuNDE0OUMyMS41NzEzIDM0LjcwNjEgMjAuNDQyOSAzMy43MTUxIDE5LjYzMjcgMzIuNDQyQzE4LjgzNzEgMzEuMTU0NSAxOC40MzkyIDI5LjY1NzIgMTguNDM5MiAyNy45NTAxQzE4LjQzOTIgMjYuM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SI1NiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K' diff --git a/squid/assets/envs/.env.coretime-kusama b/squid/assets/envs/.env.coretime-kusama new file mode 100644 index 00000000..c901d3c0 --- /dev/null +++ b/squid/assets/envs/.env.coretime-kusama @@ -0,0 +1,6 @@ +#coretime-kusama +BLOCK_START=0 +PREFIX=2 +RPC_WS="wss://sys.ibp.network/coretime-kusama" +# ARCHIVE_NAME="coretime-kusama" +CHAIN_ID='coretime-kusama' diff --git a/squid/assets/envs/.env.coretime-polkadot b/squid/assets/envs/.env.coretime-polkadot new file mode 100644 index 00000000..2a3779c9 --- /dev/null +++ b/squid/assets/envs/.env.coretime-polkadot @@ -0,0 +1,6 @@ +#coretime-polkadot +BLOCK_START=0 +PREFIX=0 +RPC_WS="wss://coretime-polkadot.dotters.network" +# ARCHIVE_NAME="coretime-polkadot" +CHAIN_ID='coretime-polkadot' diff --git a/squid/commands.json b/squid/commands.json index eae6d65a..83467094 100644 --- a/squid/commands.json +++ b/squid/commands.json @@ -209,6 +209,26 @@ "lib/main", "dotenv_config_path=assets/envs/.env.paseo" ] + }, + "start-coretime-polkadot": { + "description": "starts the indexer with coretime-polkadot", + "cmd": [ + "node", + "-r", + "dotenv/config", + "lib/main", + "dotenv_config_path=assets/envs/.env.coretime-polkadot" + ] + }, + "start-coretime-kusama": { + "description": "starts the indexer with coretime-kusama", + "cmd": [ + "node", + "-r", + "dotenv/config", + "lib/main", + "dotenv_config_path=assets/envs/.env.coretime-kusama" + ] } } } diff --git a/squid/squid-manifests/large-squid.yaml b/squid/squid-manifests/large-squid.yaml index 638632a5..7fb22a74 100644 --- a/squid/squid-manifests/large-squid.yaml +++ b/squid/squid-manifests/large-squid.yaml @@ -30,16 +30,16 @@ deploy: cmd: ['sqd', 'start-bifrost-polkadot'] - name: interlay-processor cmd: ['sqd', 'start-interlay'] - - name: astar-processor - cmd: ['sqd', 'start-astar'] + # - name: astar-processor + # cmd: ['sqd', 'start-astar'] - name: hydradx-processor cmd: ['sqd', 'start-hydradx'] # - name: moonbeam-processor # cmd: ['sqd', 'start-moonbeam'] # - name: moonriver-processor # cmd: ['sqd', 'start-moonriver'] - - name: khala-processor - cmd: ['sqd', 'start-khala'] + # - name: khala-processor + # cmd: ['sqd', 'start-khala'] - name: westend-processor cmd: ['sqd', 'start-westend'] - name: paseo-processor @@ -54,6 +54,10 @@ deploy: # cmd: ['sqd', 'start-pendulum'] # - name: amplitude-processor # cmd: ['sqd', 'start-amplitude'] + - name: coretime-kusama-processor + cmd: ['sqd', 'start-coretime-kusama'] + - name: coretime-polkadot-processor + cmd: ['sqd', 'start-coretime-polkadot'] # api: # env: # SQD_DEBUG: sqd:graphql-server