From 2148a3a51319f3cfc891dfc78684b6ead73edd13 Mon Sep 17 00:00:00 2001 From: Robert Sprunk <47247235+renesy@users.noreply.github.com> Date: Mon, 14 Aug 2023 21:54:36 +0200 Subject: [PATCH] Add REX network and logo (#9774) * Add REX network and logo * Import in alphabetical order Co-authored-by: Jaco --------- Co-authored-by: Jaco --- .../src/endpoints/testingRelayRococo.ts | 14 +++++++++++++- .../src/ui/logos/nodes/generated/rexSVG.ts | 6 ++++++ packages/apps-config/src/ui/logos/nodes/index.ts | 1 + packages/apps-config/src/ui/logos/nodes/rex.svg | 5 +++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 packages/apps-config/src/ui/logos/nodes/generated/rexSVG.ts create mode 100644 packages/apps-config/src/ui/logos/nodes/rex.svg diff --git a/packages/apps-config/src/endpoints/testingRelayRococo.ts b/packages/apps-config/src/endpoints/testingRelayRococo.ts index 493af66769aa..695889e32368 100644 --- a/packages/apps-config/src/endpoints/testingRelayRococo.ts +++ b/packages/apps-config/src/endpoints/testingRelayRococo.ts @@ -5,7 +5,7 @@ import type { EndpointOption } from './types.js'; import { ROCOCO_GENESIS } from '../api/constants.js'; import { chainsAcurastPNG, chainsAmplitudeSVG, chainsBitgreenPNG, chainsFrequencySVG, chainsGenshiroSVG, chainsHydratePNG, chainsIdiyanaleLogoWhiteSVG, chainsJurPNG, chainsMangataPNG, chainsMoonsamaPNG, chainsOrigintrailTestnetPNG, chainsRococoSVG, chainsSnowbridgePNG, chainsT0rnPNG, chainsTanglePNG, chainsTinkerPNG, chainsTotemSVG, chainsTuringPNG, chainsVirtoPNG, chainsWatrPNG } from '../ui/logos/chains/index.js'; -import { nodesArcticPNG, nodesAssetHubSVG, nodesAventusSVG, nodesBajunPNG, nodesBasiliskPNG, nodesBasiliskRococoBgPNG, nodesBifrostSVG, nodesBridgeHubBlackSVG, nodesCentrifugePNG, nodesConftiSVG, nodesCrustParachainSVG, nodesDatahighwayPNG, nodesDolphinSVG, nodesEncointerBlueSVG, nodesGiantPNG, nodesHelixstreetPNG, nodesImbuePNG, nodesIntegriteeSVG, nodesKabochaSVG, nodesKiltPNG, nodesLitentryRococoPNG, nodesMd5PNG, nodesNodleSVG, nodesOliSVG, nodesPangolinSVG, nodesPhalaSVG, nodesPicassoPNG, nodesPolkadexSVG, nodesRobonomicsSVG, nodesRocfinitySVG, nodesSocietalSVG, nodesSoonsocialXPNG, nodesSoraSubstrateSVG, nodesSubstrateContractsNodePNG, nodesTrappistRococoPNG, nodesUnitnetworkPNG, nodesZeitgeistPNG, nodesZeroSVG } from '../ui/logos/nodes/index.js'; +import { nodesArcticPNG, nodesAssetHubSVG, nodesAventusSVG, nodesBajunPNG, nodesBasiliskPNG, nodesBasiliskRococoBgPNG, nodesBifrostSVG, nodesBridgeHubBlackSVG, nodesCentrifugePNG, nodesConftiSVG, nodesCrustParachainSVG, nodesDatahighwayPNG, nodesDolphinSVG, nodesEncointerBlueSVG, nodesGiantPNG, nodesHelixstreetPNG, nodesImbuePNG, nodesIntegriteeSVG, nodesKabochaSVG, nodesKiltPNG, nodesLitentryRococoPNG, nodesMd5PNG, nodesNodleSVG, nodesOliSVG, nodesPangolinSVG, nodesPhalaSVG, nodesPicassoPNG, nodesPolkadexSVG, nodesRexSVG, nodesRobonomicsSVG, nodesRocfinitySVG, nodesSocietalSVG, nodesSoonsocialXPNG, nodesSoraSubstrateSVG, nodesSubstrateContractsNodePNG, nodesTrappistRococoPNG, nodesUnitnetworkPNG, nodesZeitgeistPNG, nodesZeroSVG } from '../ui/logos/nodes/index.js'; import { getTeleports } from './util.js'; // The available endpoints that will show in the dropdown. For the most part (with the exception of @@ -399,6 +399,18 @@ export const testParasRococo: Omit[] = [ logo: nodesPicassoPNG } }, + { + info: 'rococoEwx', + paraId: 3345, + providers: { + 'Energy Web': 'wss://public-rpc.testnet.energywebx.org/' + }, + text: 'REX', + ui: { + color: '#452E66', + logo: nodesRexSVG + } + }, { info: 'rococoPhala', paraId: 2004, diff --git a/packages/apps-config/src/ui/logos/nodes/generated/rexSVG.ts b/packages/apps-config/src/ui/logos/nodes/generated/rexSVG.ts new file mode 100644 index 000000000000..c6237b29500a --- /dev/null +++ b/packages/apps-config/src/ui/logos/nodes/generated/rexSVG.ts @@ -0,0 +1,6 @@ +// 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 nodesRexSVG = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTIyIiBoZWlnaHQ9IjUyMiIgdmlld0JveD0iMCAwIDUyMiA1MjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNjEgMEMyMDkuMzggMCAxNTguOTE5IDE1LjMwOSAxMTUuOTk2IDQzLjk4NzNDNzMuMDczNSA3Mi42NjU2IDM5LjYyMDggMTEzLjQyOCAxOS44Njg1IDE2MS4xMjFDMC4xMTIyNzggMjA4LjgxMSAtNS4wNTY0IDI2MS4yOSA1LjAxNjg3IDMxMS45MjFDMTUuMDg2MiAzNjIuNTUxIDM5Ljk0NDEgNDA5LjA1NCA3Ni40NDQ1IDQ0NS41NTRDMTEyLjk0NSA0ODIuMDU4IDE1OS40NTEgNTA2LjkxNiAyMTAuMDc4IDUxNi45ODZDMjYwLjcwOSA1MjcuMDU1IDMxMy4xODQgNTIxLjg4NiAzNjAuODc3IDUwMi4xMzRDNDA4LjU2NyA0ODIuMzc4IDQ0OS4zMjkgNDQ4LjkyNSA0NzguMDA3IDQwNi4wMDZDNTA2LjY4NiAzNjMuMDgzIDUyMS45OTUgMzEyLjYyMiA1MjEuOTk1IDI2MS4wMDJDNTIxLjk3NSAxOTEuNzg3IDQ5NC40NzIgMTI1LjQwOSA0NDUuNTI4IDc2LjQ3MDFDMzk2LjU4NSAyNy41MjcgMzMwLjIxMiAwLjAyMzY1OTMgMjYwLjk5NiAwLjAwMzk0NjQyTDI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RlIi8+Cjwvc3ZnPgo='; diff --git a/packages/apps-config/src/ui/logos/nodes/index.ts b/packages/apps-config/src/ui/logos/nodes/index.ts index c45731d2cf4a..91547fa558ae 100644 --- a/packages/apps-config/src/ui/logos/nodes/index.ts +++ b/packages/apps-config/src/ui/logos/nodes/index.ts @@ -115,6 +115,7 @@ export { nodesPontemSVG } from './generated/pontemSVG.js'; export { nodesPrismPNG } from './generated/prismPNG.js'; export { nodesQuartzPNG } from './generated/quartzPNG.js'; export { nodesRealisPNG } from './generated/realisPNG.js'; +export { nodesRexSVG } from './generated/rexSVG.js'; export { nodesRiochainSVG } from './generated/riochainSVG.js'; export { nodesRobonomicsSVG } from './generated/robonomicsSVG.js'; export { nodesRocfinitySVG } from './generated/rocfinitySVG.js'; diff --git a/packages/apps-config/src/ui/logos/nodes/rex.svg b/packages/apps-config/src/ui/logos/nodes/rex.svg new file mode 100644 index 000000000000..e67c6fd7a231 --- /dev/null +++ b/packages/apps-config/src/ui/logos/nodes/rex.svg @@ -0,0 +1,5 @@ + + + + +