Added fantour network config (#5764)
* Added fantour network config * Fixed lint errors
This commit is contained in:
parent
5982ee6b4c
commit
d627ff1117
69
packages/apps-config/src/api/spec/fantour.ts
Normal file
69
packages/apps-config/src/api/spec/fantour.ts
Normal file
@ -0,0 +1,69 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
import { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Properties: 'u8',
|
||||
NFTMetadata: 'Vec<u8>',
|
||||
BlockNumber: 'u32',
|
||||
BlockNumberOf: 'BlockNumber',
|
||||
|
||||
OrderData: {
|
||||
currencyId: 'Compact<CurrencyIdOf>',
|
||||
price: 'Compact<Balance>',
|
||||
deposit: 'Compact<Balance>',
|
||||
deadline: 'Compact<BlockNumberOf>',
|
||||
categoryId: 'Compact<CategoryIdOf>'
|
||||
},
|
||||
|
||||
CategoryId: 'u32',
|
||||
CategoryIdOf: 'CategoryId',
|
||||
CategoryData: {
|
||||
metadata: 'NFTMetadata',
|
||||
nftCount: 'Compact<Balance>'
|
||||
},
|
||||
|
||||
CurrencyId: 'u32',
|
||||
CurrencyIdOf: 'CurrencyId',
|
||||
Amount: 'i128',
|
||||
AmountOf: 'Amount',
|
||||
|
||||
ClassId: 'u32',
|
||||
ClassIdOf: 'ClassId',
|
||||
ClassInfoOf: {
|
||||
metadata: 'NFTMetadata',
|
||||
totalIssuance: 'TokenId',
|
||||
owner: 'AccountId',
|
||||
data: 'ClassData'
|
||||
},
|
||||
ClassData: {
|
||||
deposit: 'Compact<Balance>',
|
||||
properties: 'Properties',
|
||||
name: 'Vec<u8>',
|
||||
description: 'Vec<u8>',
|
||||
createBlock: 'Compact<BlockNumberOf>'
|
||||
},
|
||||
|
||||
TokenId: 'u64',
|
||||
TokenIdOf: 'TokenId',
|
||||
TokenInfoOf: { metadata: 'NFTMetadata', owner: 'AccountId', data: 'TokenData' },
|
||||
TokenData: {
|
||||
deposit: 'Compact<Balance>',
|
||||
createBlock: 'Compact<BlockNumberOf>'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -33,6 +33,7 @@ import encointerNodeNotee from './encointer-node-notee';
|
||||
import encointerNodeTeeproxy from './encointer-node-teeproxy';
|
||||
import encointerPara from './encointer-para';
|
||||
import equilibrium from './equilibrium';
|
||||
import fantour from './fantour';
|
||||
import galital from './galital';
|
||||
import galitalParachain from './galital-parachain';
|
||||
import galois from './galois';
|
||||
@ -141,6 +142,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'encointer-node-notee': encointerNodeNotee,
|
||||
'encointer-node-teeproxy': encointerNodeTeeproxy,
|
||||
'encointer-parachain': encointerPara,
|
||||
fantour,
|
||||
galital: galital,
|
||||
'galital-collator': galitalParachain,
|
||||
gamepower,
|
||||
|
||||
@ -142,6 +142,13 @@ export function createTesting (t: TFunction, firstOnly?: boolean): LinkOption[]
|
||||
Parity: 'wss://substrate-rpc.parity.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'fantour',
|
||||
text: t('rpc.test.fantour', 'Fantour', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
FantourDev: 'wss://test-ws.fantour.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'Galital',
|
||||
text: t('rpc.test.galital', 'Galital PC2', { ns: 'apps-config' }),
|
||||
|
||||
@ -23,6 +23,7 @@ const chainChainx = '#F6C94A';
|
||||
const chainDarwinia = 'linear-gradient(-45deg, #FE3876 0%, #7C30DD 71%, #3A30DD 100%)';
|
||||
const chainDotMog = '#020609';
|
||||
const chainEquilibrium = '#1792ff';
|
||||
const chainFantour = '#5a189a';
|
||||
const chainGalital = '#00063F';
|
||||
const chainGamePower = '#5d21a5';
|
||||
const chainGenshiro = '#e8662d';
|
||||
@ -101,6 +102,7 @@ const nodeDotMog = '#020609';
|
||||
const nodeEdgeware = '#0a95df';
|
||||
const nodeEncointerNotee = '#cc0000';
|
||||
const nodeEncointerTeeproxy = '#0000cc';
|
||||
const nodeFantour = '#5a189a';
|
||||
const nodeGalital = '#00063F;';
|
||||
const nodeGamePower = '#5d21a5';
|
||||
const nodeGeek = '#4f46e5';
|
||||
@ -176,6 +178,7 @@ export const chainColors: Record<string, string> = Object.entries({
|
||||
'Encointer PC1': nodeEncointerNotee,
|
||||
Equilibrium: chainEquilibrium,
|
||||
EquilibriumTestnet: chainGenshiro,
|
||||
'Fantour Development': chainFantour,
|
||||
Galital: chainGalital,
|
||||
Galois: chainGalois,
|
||||
'GamePower Network': chainGamePower,
|
||||
@ -298,6 +301,7 @@ export const nodeColors = Object.entries({
|
||||
'Encointer Node': nodeEncointerNotee,
|
||||
'Encointer Node noTEE': nodeEncointerNotee,
|
||||
'Encointer Node TEE proxy': nodeEncointerTeeproxy,
|
||||
'Fantour Development': nodeFantour,
|
||||
Galital: nodeGalital,
|
||||
'Galital Parachain Collator': nodeGalital,
|
||||
'GamePower Node': nodeGamePower,
|
||||
|
||||
@ -53,6 +53,7 @@ import nodeEave from './nodes/eave.svg';
|
||||
import nodeEdgeware from './nodes/edgeware-circle.svg';
|
||||
import nodeEncointerNotee from './nodes/encointer-notee.svg';
|
||||
import nodeEncointerTeeproxy from './nodes/encointer-teeproxy.svg';
|
||||
import nodeFantour from './nodes/fantour.png';
|
||||
import nodeGalital from './nodes/galital-logo.png';
|
||||
import nodeGamePower from './nodes/gamepower.svg';
|
||||
import nodeGeek from './nodes/geek.svg';
|
||||
@ -272,6 +273,7 @@ export const nodeLogos = Object.entries({
|
||||
'Encointer Node': nodeEncointerNotee,
|
||||
'Encointer Node noTEE': nodeEncointerNotee,
|
||||
'Encointer Node TEE proxy': nodeEncointerTeeproxy,
|
||||
'Fantour Node': nodeFantour,
|
||||
'Galital Parachain Collator': nodeGalital,
|
||||
Galois: nodeMath,
|
||||
'GamePower Node': nodeGamePower,
|
||||
@ -415,6 +417,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
encointer_cantillon: nodeEncointerTeeproxy,
|
||||
encointer_gesell: nodeEncointerNotee,
|
||||
equilibrium: chainEquilibrium,
|
||||
fantour: nodeFantour,
|
||||
galital: nodeGalital,
|
||||
galois: nodeMath,
|
||||
gamepower: nodeGamePower,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/fantour.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/fantour.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
@ -133,6 +133,7 @@
|
||||
"rpc.test.encointer.cantillon": "Encointer Cantillon",
|
||||
"rpc.test.encointer.gesell": "Encointer Gesell",
|
||||
"rpc.test.equilibriumtestnet": "Equilibrium",
|
||||
"rpc.test.fantour": "Fantour",
|
||||
"rpc.test.flamingfir": "Flaming Fir",
|
||||
"rpc.test.galital": "Galital PC2",
|
||||
"rpc.test.galois": "Galois",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user