Add CESS Testnet to TEST NETWORK (#7908)

* Important CESS Testnet chain to config package.

* check code with lint

* update network/info name

* lint check

* import-sort

Co-authored-by: lanmeng656 <cbf0311@sina.com>
This commit is contained in:
Teddy Rogers 2022-07-26 17:57:01 +08:00 committed by GitHub
parent cd4f4d1da2
commit afe92f676d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 0 deletions

View File

@ -88,6 +88,13 @@ export const testChains: EndpointOption[] = [
'Metaverse Foundation': 'wss://tewai-rpc.bit.country'
}
},
{
info: 'cess-testnet',
text: 'CESS Testnet',
providers: {
CESS: 'wss://testnet-rpc0.cess.cloud/ws/'
}
},
{
info: 'clover',
isDisabled: true, // Cannot construct unknown type BridgeNetworks

View File

@ -155,6 +155,7 @@ const chainWestlake = 'linear-gradient(-90deg, #9400D3 0%, #5A5CA9 50%, #00BFFF
const chainWhala = '#03f3f3';
const chainZero = '#000000';
const chainZenlink = 'linear-gradient(45deg, #F20082 0%, #FF4D4D 100%)';
const chainCESS = '#2269a9';
// based on node name
// alphabetical
const nodeAjuna = '#161212';
@ -234,6 +235,7 @@ const nodeZero = '#0099cc';
const nodeZenlink = 'linear-gradient(45deg, #F20082 0%, #FF4D4D 100%)';
const nodeSubGame = '#EB027D';
const nodeZCloak = 'linear-gradient(to right, #E89A76 0%, #C5B8CC 50%, #B0B4D7 100%)';
const nodeCESS = '#2269a9';
// based on the spec name
const specShell = '#2e86ab'; // '#0596FC';
@ -279,6 +281,7 @@ export const chainColors: Record<string, string> = Object.entries({
'Calamari Parachain Local': chainCalamari,
'Calamari Parachain Testnet': chainCalamari,
Centrifuge: nodeCentrifuge,
'CESS Testnet': chainCESS,
ChainOLI: chainOLI,
ChainX: chainChainx,
Clover: chainClover,
@ -488,6 +491,7 @@ export const nodeColors = Object.entries({
centrifuge: nodeCentrifuge,
'centrifuge chain': nodeCentrifuge,
'Centrifuge Chain Node': nodeCentrifuge,
'CESS Testnet': nodeCESS,
'Circuit Collator': chainT0rn,
Coinversation: nodeCoinversation,
'Competitors Club': nodeCompetitorsClub,

View File

@ -98,6 +98,7 @@ import nodeBifrost from './nodes/bifrost.svg';
import nodeBitCountry from './nodes/bitcountry.svg';
import nodeCalamari from './nodes/calamari.png';
import nodeCentrifuge from './nodes/centrifuge.png';
import nodeCESS from './nodes/cess.png';
import nodeChainx from './nodes/chainx.svg';
import nodeClover from './nodes/clover.svg';
import nodeCoinversation from './nodes/coinversation.png';
@ -245,6 +246,7 @@ export const chainLogos = Object.entries({
'Calamari Parachain Testnet': nodeCalamari,
'Catalyst Testnet': nodeCentrifuge,
Centrifuge: nodeCentrifuge,
'CESS Testnet': nodeCESS,
ChainOLI: chainOLI,
ChainX: nodeChainx,
'Charcoal Testnet': nodeCentrifuge,
@ -460,6 +462,7 @@ export const nodeLogos = Object.entries({
Centrifuge: nodeCentrifuge,
'centrifuge chain': nodeCentrifuge,
'Centrifuge Chain Node': nodeCentrifuge,
'CESS Testnet': nodeCESS,
ChainOLI: nodeChainOLI,
'ChainX Node': nodeChainx,
'Clover Node': nodeClover,
@ -663,6 +666,7 @@ export const namedLogos: Record<string, unknown> = {
brainstorm: chainBrainstorm,
calamari: nodeCalamari,
centrifuge: nodeCentrifuge,
cess: nodeCESS,
chainoli: nodeChainOLI,
chainx: nodeChainx,
charcoal: nodeCentrifuge,

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB