Add Production Crown Sterling blockchain (#6097)
* Add Crown Sterling blockchain * Fix url sort Co-authored-by: Jesse Lurie <jkl@Jesses-MBP.attlocal.net> Co-authored-by: Jesse Lurie <jkl@Jesses-MacBook-Pro.local>
This commit is contained in:
parent
0a6b744655
commit
a615381bef
53
packages/apps-config/src/api/spec/crown-sterling.ts
Normal file
53
packages/apps-config/src/api/spec/crown-sterling.ts
Normal file
@ -0,0 +1,53 @@
|
||||
// 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: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
AccountInfo: {
|
||||
nonce: 'Index',
|
||||
consumers: 'RefCount',
|
||||
providers: 'RefCount',
|
||||
data: 'AccountData'
|
||||
},
|
||||
Balance: 'u128',
|
||||
BalanceOf: 'Balance',
|
||||
AuthorityOf: 'AccountId',
|
||||
PaymentId: '[u8;16]',
|
||||
Payment: {
|
||||
id: 'PaymentId',
|
||||
account_id: 'AccountId',
|
||||
success_url: 'Vec<u8>',
|
||||
failure_url: 'Vec<u8>',
|
||||
paid: 'bool',
|
||||
pay_to: 'AccountId'
|
||||
},
|
||||
PeerId: '(Vec<u8>)',
|
||||
Amendment: {
|
||||
statement: 'Vec<u8>',
|
||||
owners: 'Vec<AccountId>'
|
||||
},
|
||||
BlockNumber: 'u32',
|
||||
VestingSchedule: {
|
||||
start: 'BlockNumber',
|
||||
period: 'BlockNumber',
|
||||
period_count: 'BlockNumber',
|
||||
per_period: 'Compact<Balance>'
|
||||
},
|
||||
VestingScheduleOf: 'VestingSchedule'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -19,6 +19,7 @@ import chainx from './chainx';
|
||||
import clover from './clover';
|
||||
import cloverRococo from './clover-rococo';
|
||||
import crab from './crab';
|
||||
import crownSterlingChain from './crown-sterling';
|
||||
import crust from './crust';
|
||||
import testPara from './cumulus-test-parachain';
|
||||
import darwinia from './darwinia';
|
||||
@ -129,6 +130,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'chainx-parachain': chainx,
|
||||
clover,
|
||||
'clover-rococo': cloverRococo,
|
||||
'crown-sterling': crownSterlingChain,
|
||||
crust,
|
||||
'crust-parachain': crust,
|
||||
'cumulus-subsocial-parachain': subsocial,
|
||||
|
||||
@ -33,6 +33,13 @@ export function createProduction (t: TFunction, firstOnly: boolean, withSort: bo
|
||||
'Patract Elara': 'wss://pub.elara.patract.io/chainx'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'crown-sterling',
|
||||
text: t('rpc.prod.crown-sterling', 'Crown Sterling', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Crown Sterling': 'wss://blockchain.crownsterling.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'crust',
|
||||
text: t('rpc.prod.crust', 'Crust Network', { ns: 'apps-config' }),
|
||||
|
||||
@ -19,6 +19,7 @@ const chainBitCountry = '#191a2e';
|
||||
const chainBeastEave = '#900048';
|
||||
const chainComposable = '#FF8500';
|
||||
const chainCrab = '#7C30DD';
|
||||
const chainCrownSterling = '#13264b';
|
||||
const chainCrust = '#ff8812';
|
||||
const chainCrustMaxwell = '#2E333B';
|
||||
const chainClover = 'linear-gradient(to right, #52ad75, #7cc773)';
|
||||
@ -104,6 +105,7 @@ const nodeBitCountry = '#191a2e';
|
||||
const nodeBifrost = '#5a25f0';
|
||||
const nodeCanvas = '#c77cff';
|
||||
const nodeCentrifuge = '#fcc367';
|
||||
const nodeCrownSterling = '#13264b';
|
||||
const nodeDotMog = '#020609';
|
||||
const nodeEdgeware = '#0a95df';
|
||||
const nodeEncointerNotee = '#cc0000';
|
||||
@ -178,6 +180,7 @@ export const chainColors: Record<string, string> = Object.entries({
|
||||
ChainX: chainChainx,
|
||||
Clover: chainClover,
|
||||
Composable: chainComposable,
|
||||
'Crown Sterling': chainCrownSterling,
|
||||
crust: chainCrust,
|
||||
'crust maxwell': chainCrustMaxwell,
|
||||
'Crust PC1': chainCrust,
|
||||
@ -314,6 +317,7 @@ export const nodeColors = Object.entries({
|
||||
'Canvas Node': nodeCanvas,
|
||||
'centrifuge chain': nodeCentrifuge,
|
||||
'Centrifuge Chain Node': nodeCentrifuge,
|
||||
'Crown Sterling': nodeCrownSterling,
|
||||
'DOTMog Node': nodeDotMog,
|
||||
'edgeware node': nodeEdgeware,
|
||||
'Encointer Node': nodeEncointerNotee,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/chains/crown-sterling.png
Normal file
BIN
packages/apps-config/src/ui/logos/chains/crown-sterling.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 311 KiB |
@ -11,6 +11,7 @@
|
||||
import { sanitize } from '../util';
|
||||
import chainAleph from './chains/aleph.svg';
|
||||
import chainAltair from './chains/altair.svg';
|
||||
import chainCrownSterling from './chains/crown-sterling.png';
|
||||
import chainDusty from './chains/dusty.png';
|
||||
import chainEquilibrium from './chains/equilibrium.svg';
|
||||
import chainGenshiro from './chains/genshiro.svg';
|
||||
@ -51,6 +52,7 @@ import nodeCentrifuge from './nodes/centrifuge.png';
|
||||
import nodeChainx from './nodes/chainx.svg';
|
||||
import nodeClover from './nodes/clover.svg';
|
||||
import nodeCrab from './nodes/crab.svg';
|
||||
import nodeCrownSterling from './nodes/crown-sterling.png';
|
||||
import nodeCrust from './nodes/crust.svg';
|
||||
import nodeCrustMaxwell from './nodes/crust-maxwell.svg';
|
||||
import nodeDarwinia from './nodes/darwinia.png';
|
||||
@ -152,6 +154,7 @@ export const chainLogos = Object.entries({
|
||||
Calamari: nodeCalamari,
|
||||
ChainX: nodeChainx,
|
||||
'Charcoal Testnet': nodeCentrifuge,
|
||||
'Crown Sterling': chainCrownSterling,
|
||||
'Crust Maxwell': nodeCrustMaxwell,
|
||||
'Crust PC1': nodeCrust,
|
||||
'darwinia crab': nodeCrab,
|
||||
@ -284,6 +287,7 @@ export const nodeLogos = Object.entries({
|
||||
'Centrifuge Chain Node': nodeCentrifuge,
|
||||
'ChainX Node': nodeChainx,
|
||||
'Clover Node': nodeClover,
|
||||
'Crown Sterling': nodeCrownSterling,
|
||||
crust: nodeCrust,
|
||||
'Crust Collator': nodeCrust,
|
||||
'Crust Maxwell': nodeCrustMaxwell,
|
||||
@ -439,6 +443,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
charcoal: nodeCentrifuge,
|
||||
clover: nodeClover,
|
||||
crab: nodeCrab,
|
||||
'crown-sterling': chainCrownSterling,
|
||||
crust: nodeCrust,
|
||||
'Crust Maxwell': nodeCrustMaxwell,
|
||||
darwinia: nodeDarwinia,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/crown-sterling.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/crown-sterling.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 311 KiB |
@ -49,6 +49,7 @@
|
||||
"rpc.prod.centrifuge": "Centrifuge",
|
||||
"rpc.prod.chainx": "ChainX",
|
||||
"rpc.prod.crab": "Darwinia Crab",
|
||||
"rpc.prod.crown-sterling": "Crown Sterling",
|
||||
"rpc.prod.crust": "Crust Network",
|
||||
"rpc.prod.darwinia": "Darwinia",
|
||||
"rpc.prod.dock-mainnet": "Dock",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user