add sgc testnet (#4681)
* add jupiter testnet * add sgc testnet * Revert "add sgc testnet" This reverts commit 548895501a7d1f2079755d6881df8de7958afd17. * second add sgc testnet * second add sgc testnet * third add sgc testnet * four add sgc testnet * updating * change * OK * amazing
This commit is contained in:
parent
45a46f5b23
commit
00d3c6237b
@ -45,6 +45,7 @@ import plasmParachain from './plasm-parachain';
|
||||
import polkabtc from './polkabtc';
|
||||
import polkadex from './polkadex';
|
||||
import robonomics from './robonomics';
|
||||
import sgc from './sgc';
|
||||
import soraSubstrate from './soraSubstrate';
|
||||
import stafi from './stafi';
|
||||
import subdao from './subdao';
|
||||
@ -106,6 +107,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
plasm,
|
||||
'plasm-parachain': plasmParachain,
|
||||
robonomics,
|
||||
sgc,
|
||||
'sora-substrate': soraSubstrate,
|
||||
stafi,
|
||||
subdao,
|
||||
|
||||
22
packages/apps-config/src/api/spec/sgc.ts
Normal file
22
packages/apps-config/src/api/spec/sgc.ts
Normal file
@ -0,0 +1,22 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -188,6 +188,13 @@ export function createTesting (t: TFunction): LinkOption[] {
|
||||
Interlay: 'wss://alpha.polkabtc.io/api/parachain'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'sgc',
|
||||
text: t('rpc.sgc', 'Sgc', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
SGC: 'wss://substrate.org.cn:4443'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'sora-substrate',
|
||||
text: t('rpc.sora-substrate', 'SORA-staging', { ns: 'apps-config' }),
|
||||
|
||||
@ -37,6 +37,7 @@ const chainRococoLaminar = '#004FFF';
|
||||
const chainRoccoTick = '#22bb22';
|
||||
const chainRoccoTrack = '#bb2222';
|
||||
const chainRoccoTrick = '#2222bb';
|
||||
const chainSgc = 'linear-gradient(45deg, #0099F7 0%, #F11712 100%)';
|
||||
const chainSnakenet = 'radial-gradient(circle, rgba(13,16,110,1) 0%, rgba(246,83,162,1) 100%)';
|
||||
const chainWestend = '#da68a7';
|
||||
const chainGalois = '#000000';
|
||||
@ -64,6 +65,7 @@ const nodeLitentry = 'linear-gradient(45deg, #5cc27c 0%, #6de98f 100%)';
|
||||
const nodeMoonbeam = '#53cbc9';
|
||||
const nodeNodle = '#1ab394';
|
||||
const nodePolkadex = '#7C30DD';
|
||||
const nodeSgc = 'linear-gradient(45deg, #0099F7 0%, #F11712 100%)';
|
||||
const nodeSora = '#2D2926';
|
||||
const nodeStafi = '#00F3AB';
|
||||
const nodeSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
@ -120,6 +122,7 @@ export const chainColors: Record<string, any> = [
|
||||
['Polkadot CC1', chainPolkadot],
|
||||
['Polkadot', chainPolkadot],
|
||||
['Rococo', chainRocco],
|
||||
['Sgc ', chainSgc],
|
||||
['SubDAO PC1', chainSubDAO],
|
||||
['Tick', chainRoccoTick],
|
||||
['Track', chainRoccoTrack],
|
||||
@ -152,6 +155,7 @@ export const nodeColors: Record<string, any> = [
|
||||
['Litentry Parachain Collator', nodeLitentry],
|
||||
['nodle chain node', nodeNodle],
|
||||
['Polkadex Node', nodePolkadex],
|
||||
['Sgc', nodeSgc],
|
||||
['SORA-staging Node', nodeSora],
|
||||
['Stafi node', nodeStafi],
|
||||
['subsocial node', nodeSubsocial],
|
||||
|
||||
@ -58,6 +58,7 @@ import nodePolkadex from './nodes/polkadex.svg';
|
||||
import nodePolkadot from './nodes/polkadot-circle.svg';
|
||||
import nodePolkadotJs from './nodes/polkadot-js.svg';
|
||||
import nodeRobonomics from './nodes/robonomics.svg';
|
||||
import nodeSgc from './nodes/sgc.svg';
|
||||
import nodeSora from './nodes/sora-substrate.svg';
|
||||
import nodeStafi from './nodes/stafi.png';
|
||||
import nodeSubDAO from './nodes/subdao.png';
|
||||
@ -162,6 +163,7 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['phala-substrate-node', nodePhala],
|
||||
['Phala Collator', nodePhala],
|
||||
['polkadot-js', nodePolkadotJs],
|
||||
['Sgc', nodeSgc],
|
||||
['SORA-staging Node', nodeSora],
|
||||
['Stafi Node', nodeStafi],
|
||||
['Stafi', nodeStafi],
|
||||
@ -249,6 +251,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
rococoTrick: chainRococoTrick,
|
||||
rococoTrustBase: nodeTrustBase,
|
||||
rococoZenlink: nodeZenlink,
|
||||
sgc: nodeSgc,
|
||||
snakenet: chainSnakenet,
|
||||
'sora-substrate': nodeSora,
|
||||
stafi: nodeStafi,
|
||||
|
||||
1
packages/apps-config/src/ui/logos/nodes/sgc.svg
Normal file
1
packages/apps-config/src/ui/logos/nodes/sgc.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1024 1024"><defs><style>.cls-1{fill:url(#linear-gradient);}.cls-2{fill:url(#linear-gradient-2);}.cls-3{fill:url(#linear-gradient-3);}.cls-4{fill:#9500ff;}.cls-5{fill:url(#linear-gradient-4);}</style><linearGradient id="linear-gradient" x1="861.35" y1="355.1" x2="713.31" y2="823.9" gradientUnits="userSpaceOnUse"><stop offset="0.08" stop-color="#62dfff"/><stop offset="1" stop-color="#97ecff"/></linearGradient><linearGradient id="linear-gradient-2" x1="58.51" y1="48.21" x2="288.79" y2="689.72" gradientUnits="userSpaceOnUse"><stop offset="0.03" stop-color="#6e17e8"/><stop offset="1" stop-color="#9500ff"/></linearGradient><linearGradient id="linear-gradient-3" x1="326.2" y1="294.51" x2="326.2" y2="672.84" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-4" x1="633.85" y1="-116.96" x2="781.9" y2="541" gradientUnits="userSpaceOnUse"><stop offset="0.08" stop-color="#6e17e8"/><stop offset="1" stop-color="#62dfff"/></linearGradient></defs><polygon class="cls-1" points="992.1 512 844.95 768 697.81 1024 550.67 768 697.81 512 844.95 256 992.1 512"/><polygon class="cls-2" points="326.2 384.02 179.06 128.03 31.91 384.02 179.06 640 326.2 384.02"/><polygon class="cls-3" points="473.36 640 326.2 384.02 179.06 640 326.2 895.99 473.36 640"/><polygon class="cls-4" points="543.09 518.7 473.35 640.01 326.21 384.01 395.95 262.7 543.09 518.7"/><polygon class="cls-5" points="992.1 0 844.95 256 697.81 512 550.67 256 603.85 163.47 421.83 163.47 422.03 163.15 328.24 0 992.1 0"/></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user