add prism parachain (#5077)
* add prism parachain * prism parachain ascending order Co-authored-by: zhijunsoh <zhijunsho@gmail.com>
This commit is contained in:
parent
e6939a4f45
commit
fc0babce23
@ -55,6 +55,7 @@ import plasmParachain from './plasm-parachain';
|
||||
import polkabtc from './polkabtc';
|
||||
import polkadex from './polkadex';
|
||||
import polkafoundry from './polkafoundry';
|
||||
import prism from './prism';
|
||||
import realis from './realis';
|
||||
import riochain from './riochain';
|
||||
import robonomics from './robonomics';
|
||||
@ -146,6 +147,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
plasm,
|
||||
'plasm-parachain': plasmParachain,
|
||||
polkafoundry,
|
||||
prism,
|
||||
realis,
|
||||
'riochain-runtime': riochain,
|
||||
robonomics,
|
||||
|
||||
22
packages/apps-config/src/api/spec/prism.ts
Normal file
22
packages/apps-config/src/api/spec/prism.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: 'AccountId',
|
||||
LookupSource: 'AccountId'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -205,6 +205,13 @@ export function createTesting (t: TFunction): LinkOption[] {
|
||||
Interlay: 'wss://beta.polkabtc.io/api/parachain'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'prism',
|
||||
text: t('rpc.prism', 'Prism', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
Prism: 'wss://testnet.psm.link'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'realis',
|
||||
text: t('rpc.realis', 'Realis.Network', { ns: 'apps-config' }),
|
||||
|
||||
@ -33,6 +33,7 @@ const chainPolkabtc = '#510101';
|
||||
const chainPolkadex = '#7C30DD';
|
||||
const chainPolkadot = '#e6007a';
|
||||
const chainPolkaFoundry = '#ff527c';
|
||||
const chainPrism = 'linear-gradient(45deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%)';
|
||||
const chainKilt = '#8c175b';
|
||||
const chainKusama = '#000000';
|
||||
const chainLitentry = 'linear-gradient(45deg, #5cc27c 0%, #6de98f 100%)';
|
||||
@ -88,6 +89,7 @@ const nodeNftmart = '#307182';
|
||||
const nodeNodle = '#1ab394';
|
||||
const nodeParami = '#ee06e2';
|
||||
const nodePolkadex = '#7C30DD';
|
||||
const nodePrism = 'linear-gradient(45deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%)';
|
||||
const nodeRealis = 'linear-gradient(45deg, #6CFBE9 0%, #CFB241 100%)';
|
||||
const nodeRiochain = '#1A3BB3';
|
||||
const nodeSgc = 'linear-gradient(45deg, #0099F7 0%, #F11712 100%)';
|
||||
@ -162,6 +164,8 @@ export const chainColors: Record<string, any> = [
|
||||
['Polkadex Testnet', chainPolkadex],
|
||||
['Polkadot CC1', chainPolkadot],
|
||||
['Polkadot', chainPolkadot],
|
||||
['Prism Testnet', chainPrism],
|
||||
['Prism PC1', chainPrism],
|
||||
['Halongbay Testnet', chainPolkaFoundry],
|
||||
['ReAlis Network', nodeRealis],
|
||||
['Rococo', chainRocco],
|
||||
@ -214,6 +218,8 @@ export const nodeColors: Record<string, any> = [
|
||||
['Parami Collator', nodeParami],
|
||||
['Patract Node', nodeJupiter],
|
||||
['Polkadex Node', nodePolkadex],
|
||||
['Prism Node', nodePrism],
|
||||
['Prism Collator', nodePrism],
|
||||
['ReAlis Network', nodeRealis],
|
||||
['Rio Defi Chain Node', nodeRiochain],
|
||||
['Riochain Staging', nodeRiochain],
|
||||
|
||||
@ -68,6 +68,7 @@ import nodePolkadex from './nodes/polkadex.svg';
|
||||
import nodePolkadot from './nodes/polkadot-circle.svg';
|
||||
import nodePolkadotJs from './nodes/polkadot-js.svg';
|
||||
import nodePolkaFoundry from './nodes/polkafoundry.svg';
|
||||
import nodePrism from './nodes/prism.png';
|
||||
import nodeRealis from './nodes/realis.png';
|
||||
import nodeRiochain from './nodes/riochain.svg';
|
||||
import nodeRobonomics from './nodes/robonomics.svg';
|
||||
@ -131,6 +132,8 @@ export const chainLogos: Record<string, unknown> = [
|
||||
['PolkaBTC Staging', nodePolkaBTC],
|
||||
['Polkadex Testnet', nodePolkadex],
|
||||
['PolkaFoundry PC1', nodePolkaFoundry],
|
||||
['Prism Testnet', nodePrism],
|
||||
['Prism PC1', nodePrism],
|
||||
['Phala PC1', nodePhala],
|
||||
['ReAlis Network', nodeRealis],
|
||||
['Rococo', chainRococo],
|
||||
@ -213,6 +216,8 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['Nodle Chain Node', nodeNodle],
|
||||
['Patract Node', nodeJupiter],
|
||||
['Polkadex Node', nodePolkadex],
|
||||
['Prism Node', nodePrism],
|
||||
['Prism Collator', nodePrism],
|
||||
['parity-polkadot', nodePolkadot],
|
||||
['Parami', nodeParami],
|
||||
['Plasm', nodePlasm],
|
||||
@ -311,6 +316,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
polkadex: nodePolkadex,
|
||||
polkadot: nodePolkadot,
|
||||
polkafoundry: nodePolkaFoundry,
|
||||
prism: nodePrism,
|
||||
realis: nodeRealis,
|
||||
riochain: nodeRiochain,
|
||||
rococo: chainRococo,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/prism.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/prism.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
@ -65,6 +65,7 @@
|
||||
"rpc.polkadot.parity": "Polkadot",
|
||||
"rpc.polkadot.patractlabs": "Polkadot",
|
||||
"rpc.polkadot.w3f": "Polkadot",
|
||||
"rpc.prism": "Prism",
|
||||
"rpc.realis": "Realis Network",
|
||||
"rpc.riochain": "RioChain",
|
||||
"rpc.rocco.litentry": "Litentry Rostock",
|
||||
@ -124,4 +125,4 @@
|
||||
"rpc.zeitgeist": "Zeitgeist Battery Park",
|
||||
"rpc.zero": "Zero",
|
||||
"ss58.default": "Default for the connected node"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user