Add SubDAO parachain info to Rococo. (#4597)
* add subdao * fix lint * fix lint * fix lint * fix lint Co-authored-by: Github Actions <action@github.com>
This commit is contained in:
parent
5f589880e6
commit
d17887000e
@ -37,6 +37,7 @@ import polkadex from './polkadex';
|
||||
import robonomics from './robonomics';
|
||||
import stablePoc from './stable-poc';
|
||||
import stafi from './stafi';
|
||||
import subdao from './subdao';
|
||||
import subsocial from './subsocial';
|
||||
import ternoa from './ternoa';
|
||||
import uniarts from './uniarts';
|
||||
@ -84,6 +85,7 @@ export default {
|
||||
'stable-poc': stablePoc,
|
||||
stable_poc: stablePoc,
|
||||
stafi,
|
||||
subdao,
|
||||
subsocial,
|
||||
subzero: zero,
|
||||
ternoa: ternoa,
|
||||
|
||||
6
packages/apps-config/src/api/spec/subdao.ts
Normal file
6
packages/apps-config/src/api/spec/subdao.ts
Normal file
@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
export default {};
|
||||
@ -179,6 +179,14 @@ export function createRococo (t: TFunction): EndpointOption {
|
||||
providers: {
|
||||
Zenlink: 'wss://rococo-parachain.zenlink.pro'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'rococoSubDAO',
|
||||
paraId: 888,
|
||||
text: t('rpc.rococo.subdao', 'SubDAO PC1', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
SubDAONetwork: 'wss://parachain.subdao.network'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@ -43,6 +43,7 @@ const chainZenlink = 'linear-gradient(45deg, #F20082 0%, #FF4D4D 100%)';
|
||||
const chainJupiter = '#7143ff';
|
||||
const chainUniarts = '#b39ef7';
|
||||
const chainIdavoll = '#ff43ff';
|
||||
const chainSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
|
||||
// based on node name
|
||||
// alphabetical
|
||||
@ -60,6 +61,7 @@ const nodeNodle = '#1ab394';
|
||||
const nodePolkadex = '#7C30DD';
|
||||
const nodeSora = '#2D2926';
|
||||
const nodeStafi = '#00F3AB';
|
||||
const nodeSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
const nodeSubsocial = '#b9018c';
|
||||
const nodeTernoa = '#d622ff';
|
||||
const nodeZero = '#0099cc';
|
||||
@ -115,7 +117,8 @@ export const chainColors: Record<string, any> = [
|
||||
['Galois', chainGalois],
|
||||
['ZΞRO Alphaville', chainZero],
|
||||
['Zenlink PC1', chainZenlink],
|
||||
['Uniarts', chainUniarts]
|
||||
['Uniarts', chainUniarts],
|
||||
['SubDAO PC1', chainSubDAO]
|
||||
].reduce((colors, [chain, color]): Record<string, any> => ({
|
||||
...colors,
|
||||
[chain.toLowerCase()]: color
|
||||
@ -142,7 +145,8 @@ export const nodeColors: Record<string, any> = [
|
||||
['subsocial node', nodeSubsocial],
|
||||
['SUBZΞRO', nodeZero],
|
||||
['Ternoa Node', nodeTernoa],
|
||||
['Zenlink Collator', nodeZenlink]
|
||||
['Zenlink Collator', nodeZenlink],
|
||||
['SubDAO Collator', nodeSubDAO]
|
||||
// ['node template', emptyColor],
|
||||
// ['parity polkadot', emptyColor],
|
||||
// ['substrate node', emptyColor]
|
||||
|
||||
@ -57,6 +57,7 @@ import nodePolkadotJs from './nodes/polkadot-js.svg';
|
||||
import nodeRobonomics from './nodes/robonomics.svg';
|
||||
import nodeSora from './nodes/sora-substrate.svg';
|
||||
import nodeStafi from './nodes/stafi.png';
|
||||
import nodeSubDAO from './nodes/subdao.png';
|
||||
import nodeSubsocial from './nodes/subsocial.svg';
|
||||
import nodeSubstrate from './nodes/substrate-hexagon.svg';
|
||||
import nodeTernoa from './nodes/ternoa.svg';
|
||||
@ -161,6 +162,7 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['Ternoa Node', nodeTernoa],
|
||||
['Zenlink', nodeZenlink],
|
||||
['Zenlink Collator', nodeZenlink],
|
||||
['SubDAO Collator', nodeSubDAO],
|
||||
['Uniarts', nodeUniarts]
|
||||
].reduce((logos, [node, logo]): Record<string, unknown> => ({
|
||||
...logos,
|
||||
@ -224,6 +226,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
rococoPlasm: nodePlasm,
|
||||
rococoPolkabtc: chainPolkaBTC,
|
||||
rococoRobonomics: nodeRobonomics,
|
||||
rococoSubDAO: nodeSubDAO,
|
||||
rococoTick: chainRococoTick,
|
||||
rococoTrack: chainRococoTrack,
|
||||
rococoTrick: chainRococoTrick,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/subdao.png
Executable file
BIN
packages/apps-config/src/ui/logos/nodes/subdao.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@ -82,5 +82,6 @@
|
||||
"rpc.uniarts": "Uniarts",
|
||||
"rpc.westend": "Westend",
|
||||
"rpc.zero": "Zero",
|
||||
"rpc.rococo.subdao": "SubDAO PC1",
|
||||
"ss58.default": "Default for the connected node"
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user