Added configuration for DataHighway Tanganika (#7285)
* Added configuration for DataHighway Tanganika * Fix linting issue * Added tanganika image * refactoring Co-authored-by: Ayush <>
This commit is contained in:
parent
d0e95171e2
commit
3d4bf53528
19
packages/apps-config/src/api/spec/tanganika.ts
Normal file
19
packages/apps-config/src/api/spec/tanganika.ts
Normal file
@ -0,0 +1,19 @@
|
||||
// Copyright 2017-2022 @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: {}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -85,6 +85,7 @@ const chainKiltPeregrine = `linear-gradient(45deg, ${chainKiltDev} 0%, ${chainKi
|
||||
const chainKiltRilt = `linear-gradient(45deg, ${chainKilt} 0%, ${chainKiltDev} 100%)`;
|
||||
const chainKonomi = '#007aff';
|
||||
const chainKusama = '#000000';
|
||||
const chainKusamaDataHighway = 'linear-gradient(-90deg, #9400D3 0%, #5A5CA9 50%, #00BFFF 100%)';
|
||||
const chainKusari = '#b8860b';
|
||||
const chainKylin = '#ed007e';
|
||||
const chainListen = '#FFAD0A';
|
||||
@ -264,6 +265,7 @@ export const chainColors: Record<string, string> = Object.entries({
|
||||
'Darwinia Crab Redirect': chainCrab,
|
||||
'Darwinia PC2': chainRoccoDarwinia,
|
||||
'DataHighway Spreehafen Rococo Parachain Testnet': chainRoccoDataHighway,
|
||||
'DataHighway Tanganika Kusama Parachain': chainKusamaDataHighway,
|
||||
'Dolphin Testnet': chainDolphin,
|
||||
'DOTMog.com NET': chainDotMog,
|
||||
Efinity: chainEfinity,
|
||||
@ -438,6 +440,7 @@ export const nodeColors = Object.entries({
|
||||
'Competitors Club': nodeCompetitorsClub,
|
||||
'Crown Sterling': nodeCrownSterling,
|
||||
'DataHighway Spreehafen Rococo Parachain Testnet': chainRoccoDataHighway,
|
||||
'DataHighway Tanganika Kusama Parachain': chainKusamaDataHighway,
|
||||
'DOTMog Node': nodeDotMog,
|
||||
'edgeware node': nodeEdgeware,
|
||||
Efinity: nodeEfinity,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/chains/tanganika.png
Normal file
BIN
packages/apps-config/src/ui/logos/chains/tanganika.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
@ -44,6 +44,7 @@ import chainShiden from './chains/shiden.png';
|
||||
import chainSnakenet from './chains/snakenet.svg';
|
||||
import chainSpanner from './chains/spanner.png';
|
||||
import chainStandard from './chains/standard.png';
|
||||
import chainKusamaDataHighway from './chains/tanganika.png';
|
||||
import chainTinker from './chains/tinker.png';
|
||||
import nodeTotem from './chains/totem.svg';
|
||||
import chainTuring from './chains/turing.png';
|
||||
@ -218,6 +219,7 @@ export const chainLogos = Object.entries({
|
||||
'Darwinia PC2': nodeDarwinia,
|
||||
DataHighway: nodeDataHighway,
|
||||
'DataHighway Spreehafen Rococo Parachain Testnet': chainRoccoDataHighway,
|
||||
'DataHighway Tanganika Kusama Parachain': chainKusamaDataHighway,
|
||||
'Dolphin Testnet': nodeDolphin,
|
||||
Efinity: chainEfinity,
|
||||
Equilibrium: chainEquilibrium,
|
||||
@ -408,6 +410,7 @@ export const nodeLogos = Object.entries({
|
||||
'DataHighway Node': nodeDataHighway,
|
||||
'DataHighway Parachain Collator': nodeDataHighway,
|
||||
'DataHighway Spreehafen Rococo Parachain Testnet': chainRoccoDataHighway,
|
||||
'DataHighway Tanganika Kusama Parachain': chainKusamaDataHighway,
|
||||
'Dock Full Node': nodeDockMainnet,
|
||||
'DOTMog Node': nodeDotMog,
|
||||
'Eave Node': nodeEave,
|
||||
@ -764,6 +767,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
substrate: nodeSubstrate,
|
||||
substrateContractsNode: nodeSubstrateContractsNode,
|
||||
swapdex: nodeSwapdex,
|
||||
tanganika: chainKusamaDataHighway,
|
||||
'ternoa-testnet': nodeTernoa,
|
||||
'totem-parachain': nodeTotem,
|
||||
trustbase: nodeTrustBase,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user