add dotmog net (#4632)
* added dotmog net * corrected url set our base colors added our logo * added missing type * added rpc.dotmog * Update packages/apps-config/src/api/spec/index.ts Co-authored-by: Jaco Greeff <jacogr@gmail.com> * Update packages/apps-config/src/api/spec/dotmog.ts thx Co-authored-by: Jaco Greeff <jacogr@gmail.com> Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
parent
aafdfe5f7d
commit
03b84241e7
40
packages/apps-config/src/api/spec/dotmog.ts
Normal file
40
packages/apps-config/src/api/spec/dotmog.ts
Normal file
@ -0,0 +1,40 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
export default {
|
||||
Address: 'IndicesLookupSource',
|
||||
LookupSource: 'IndicesLookupSource',
|
||||
MogwaiStruct: {
|
||||
id: 'Hash',
|
||||
dna: 'Hash',
|
||||
genesis: 'BlockNumber',
|
||||
price: 'Balance',
|
||||
gen: 'u64'
|
||||
},
|
||||
MogwaiBios: {
|
||||
mogwai_id: 'Hash',
|
||||
state: 'u32',
|
||||
metaxy: 'Vec<[u8;16]>',
|
||||
intrinsic: 'Balance',
|
||||
level: 'u8',
|
||||
phases: 'Vec<BlockNumber>',
|
||||
adaptations: 'Vec<Hash>'
|
||||
},
|
||||
GameEvent: {
|
||||
id: 'Hash',
|
||||
begin: 'BlockNumber',
|
||||
duration: 'u16',
|
||||
event_type: 'GameEventType',
|
||||
hashes: 'Vec<Hash>',
|
||||
value: 'u64'
|
||||
},
|
||||
GameEventType: {
|
||||
_enum: [
|
||||
'Default',
|
||||
'Hatch'
|
||||
]
|
||||
}
|
||||
};
|
||||
@ -17,6 +17,7 @@ import darwinia from './darwinia';
|
||||
import darwiniaParachain from './darwinia-parachain';
|
||||
import datahighwayParachain from './datahighway';
|
||||
import dock from './dock';
|
||||
import dotmog from './dotmog';
|
||||
import dusty from './dusty';
|
||||
import encointerNodeNotee from './encointer-node-notee';
|
||||
import encointerNodeTeeproxy from './encointer-node-teeproxy';
|
||||
@ -65,6 +66,7 @@ export default {
|
||||
'datahighway-parachain': datahighwayParachain,
|
||||
'dock-main-runtime': dock,
|
||||
'dock-testnet': dock,
|
||||
'dotmog-node': dotmog,
|
||||
dusty3: dusty,
|
||||
'encointer-node-notee': encointerNodeNotee,
|
||||
'encointer-node-teeproxy': encointerNodeTeeproxy,
|
||||
|
||||
@ -232,6 +232,13 @@ export function createTesting (t: TFunction): LinkOption[] {
|
||||
providers: {
|
||||
Uniarts: 'wss://testnet.uniarts.me'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'dotmog',
|
||||
text: t('rpc.dotmog', 'DOTMog.com', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
DOTMog: 'wss://mogiway-01.dotmog.com'
|
||||
}
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
@ -15,6 +15,7 @@ const chainCrust = '#ff8812';
|
||||
const chainClover = 'linear-gradient(to right, #52ad75, #7cc773)';
|
||||
const chainChainx = '#F6C94A';
|
||||
const chainDarwinia = 'linear-gradient(-45deg, #FE3876 0%, #7C30DD 71%, #3A30DD 100%)';
|
||||
const chainDotMog = '#020609';
|
||||
const chainHanonycash = '#0099CC';
|
||||
const chainHydrate = '#000000';
|
||||
const chainIntegritee = '#080808';
|
||||
@ -53,6 +54,7 @@ const nodeBitCountry = '#191a2e';
|
||||
const nodeBifrost = '#002cc3';
|
||||
const nodeCanvas = '#c77cff';
|
||||
const nodeCentrifuge = '#fcc367';
|
||||
const nodeDotMog = '#020609';
|
||||
const nodeEdgeware = '#0a95df';
|
||||
const nodeEncointerNotee = '#cc0000';
|
||||
const nodeEncointerTeeproxy = '#0000cc';
|
||||
@ -87,6 +89,7 @@ export const chainColors: Record<string, any> = [
|
||||
['Darwinia Crab', chainCrab],
|
||||
['Darwinia PC2', chainRoccoDarwinia],
|
||||
['DataHighway', chainRoccoDataHighway],
|
||||
['DOTMog Testnet', chainDotMog],
|
||||
['Encointer PC1', nodeEncointerNotee],
|
||||
['Galois', chainGalois],
|
||||
['hanonycash', chainHanonycash],
|
||||
@ -136,6 +139,7 @@ export const nodeColors: Record<string, any> = [
|
||||
['Canvas Node', nodeCanvas],
|
||||
['centrifuge chain', nodeCentrifuge],
|
||||
['Centrifuge Chain Node', nodeCentrifuge],
|
||||
['DOTMog Node', nodeDotMog],
|
||||
['edgeware node', nodeEdgeware],
|
||||
['Encointer Node', nodeEncointerNotee],
|
||||
['Encointer Node noTEE', nodeEncointerNotee],
|
||||
|
||||
@ -35,6 +35,7 @@ import nodeDarwinia from './nodes/darwinia.png';
|
||||
import nodeDataHighway from './nodes/datahighway.png';
|
||||
import nodeDockMainnet from './nodes/dock-mainnet.png';
|
||||
import nodeDockTestnet from './nodes/dock-testnet.png';
|
||||
import nodeDotMog from './nodes/dotmog.png';
|
||||
import nodeEdgeware from './nodes/edgeware-circle.svg';
|
||||
import nodeEncointerNotee from './nodes/encointer-notee.svg';
|
||||
import nodeEncointerTeeproxy from './nodes/encointer-teeproxy.svg';
|
||||
@ -133,6 +134,7 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['DataHighway Node', nodeDataHighway],
|
||||
['DataHighway Parachain Collator', nodeDataHighway],
|
||||
['Dock Full Node', nodeDockMainnet],
|
||||
['DOTMog Full Node', nodeDotMog],
|
||||
['Edgeware Node', nodeEdgeware],
|
||||
['Encointer Node', nodeEncointerNotee],
|
||||
['Encointer Node noTEE', nodeEncointerNotee],
|
||||
@ -194,6 +196,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
datahighway: nodeDataHighway,
|
||||
'dock-mainnet': nodeDockMainnet,
|
||||
'dock-testnet': nodeDockTestnet,
|
||||
dotmog: nodeDotMog,
|
||||
dusty: chainDusty,
|
||||
edgeware: nodeEdgeware,
|
||||
empty: emptyLogo,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/dotmog.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/dotmog.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@ -20,6 +20,7 @@
|
||||
"rpc.datahighway.harbour": "Harbour",
|
||||
"rpc.dock-mainnet": "Dock",
|
||||
"rpc.dock-testnet": "Dock",
|
||||
"rpc.dotmog": "DOTMog",
|
||||
"rpc.dusty": "Dusty",
|
||||
"rpc.edgeware": "Edgeware",
|
||||
"rpc.encointer.cantillon": "Encointer Cantillon",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user