Config alphabetical updates (#4344)

This commit is contained in:
Jaco Greeff 2021-01-08 09:38:25 +01:00 committed by GitHub
parent df14d80174
commit b773bd9ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 23 deletions

View File

@ -103,6 +103,18 @@ export function createTesting (t: TFunction): LinkOption[] {
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'MathWallet' } }),
value: 'wss://galois.maiziqianbao.net/ws'
},
{
info: 'jupiter',
text: t('rpc.jupiter', 'Jupiter', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Elara' } }),
value: 'wss://jupiter.elara.patract.io'
},
{
info: 'jupiter',
text: t('rpc.jupiter', 'Jupiter', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Patract' } }),
value: 'wss://ws.jupiter.patract.cn'
},
{
info: 'acala',
text: t('rpc.mandala', 'Mandala', { ns: 'apps-config' }),
@ -159,25 +171,10 @@ export function createTesting (t: TFunction): LinkOption[] {
value: 'wss://westend-rpc.polkadot.io'
},
{
dnslink: 'zero',
info: 'zero',
text: t('rpc.zero', 'zero', { ns: 'apps-config' }),
text: t('rpc.zero', 'Zero', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'ZERO' } }),
value: 'wss://alphaville-0.zero.io'
},
{
dnslink: 'jupiter',
info: 'jupiter',
text: t('rpc.jupiter', 'Jupiter', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Elara' } }),
value: 'wss://jupiter.elara.patract.io'
},
{
dnslink: 'jupiter',
info: 'jupiter',
text: t('rpc.jupiter', 'Jupiter', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Patract' } }),
value: 'wss://ws.jupiter.patract.cn'
}
];
}

View File

@ -41,6 +41,7 @@ const nodeEdgeware = '#0a95df';
const nodeEncointerNotee = '#cc0000';
const nodeEncointerTeeproxy = '#0000cc';
const nodeEquilibrium = '#1792ff';
const nodeJupiter = '#7143ff';
const nodeMoonbeam = '#53cbc9';
const nodeNodle = '#1ab394';
const nodeKilt = '#eb5b2a';
@ -49,7 +50,6 @@ const nodeSora = '#2D2926';
const nodeStafi = '#00F3AB';
const nodeSubsocial = '#b9018c';
const nodeZero = '#0099cc';
const nodeJupiter = '#7143ff';
export { emptyColor };
@ -62,6 +62,7 @@ export const chainColors: Record<string, any> = [
['darwinia cc1', chainDarwinia],
['darwinia parachain', chainRoccoDarwinia],
['hanonycash', chainHanonycash],
['Jupiter Testnet', chainJupiter],
['Kulupu', chainKulupu],
['Kusama', chainKusama],
['Kusama CC1', chainKusama],
@ -81,8 +82,7 @@ export const chainColors: Record<string, any> = [
['Trick', chainRoccoTrick],
['Westend', chainWestend],
['Galois', chainGalois],
['ZΞRO Alphaville', chainZero],
['Jupiter Testnet', chainJupiter]
['ZΞRO Alphaville', chainZero]
].reduce((colors, [chain, color]): Record<string, any> => ({
...colors,
[chain.toLowerCase()]: color
@ -100,14 +100,14 @@ export const nodeColors: Record<string, any> = [
['Encointer Node noTEE', nodeEncointerNotee],
['Encointer Node TEE proxy', nodeEncointerTeeproxy],
['Equilibrium node', nodeEquilibrium],
['Jupiter Node', nodeJupiter],
['kilt node', nodeKilt],
['nodle chain node', nodeNodle],
['Polkadex Node', nodePolkadex],
['SORA-staging Node', nodeSora],
['Stafi node', nodeStafi],
['subsocial node', nodeSubsocial],
['SUBZΞRO', nodeZero],
['Jupiter Node', nodeJupiter]
['SUBZΞRO', nodeZero]
// ['node template', emptyColor],
// ['parity polkadot', emptyColor],
// ['substrate node', emptyColor]

View File

@ -96,6 +96,7 @@ export const nodeLogos: Record<string, unknown> = [
['Encointer Node TEE proxy', nodeEncointerTeeproxy],
['Galois', nodeMath],
['hanonycash', nodeHanonycash],
['Jupiter Node', nodeJupiter],
['KILT Node', nodeKilt],
['kulupu', nodeKulupu],
['node-template', nodeSubstrate],
@ -113,8 +114,7 @@ export const nodeLogos: Record<string, unknown> = [
['substrate-node', nodeSubstrate],
['Equilibrium Node', nodeEquilibrium],
['Equilibrium', nodeEquilibrium],
['SUBZΞRO', nodeZero],
['Jupiter Node', nodeJupiter]
['SUBZΞRO', nodeZero]
].reduce((logos, [node, logo]): Record<string, unknown> => ({
...logos,
[(node as string).toLowerCase().replace(/-/g, ' ')]: logo