Register Unorthodox Kusama Parachain, Standard Protocol Westend / Rococo Test network (#6177)
* Add Opportunity test network * quotes * formatting * formatting; * quote * Update index.ts * Update index.ts * Update index.ts * Update testing.ts * Update packages/apps-config/src/api/spec/index.ts Co-authored-by: Jaco <jacogr@gmail.com> * fix: opportunitytypes d.ts * refactor: opportunity hardcoded -> module, fix: logo and color for opportunity * update: @digitalnative/type-defintions version bump * remove: newlines at apps-config, ko/translations jsons * yarn.lock * merge: upstream master * unorthodox & rococo registration wip * Added Westned config, colour changes. * Update Standard type definitions / Sync Unorthodox Color * lint * fix: yarn lint Co-authored-by: Jaco <jacogr@gmail.com> Co-authored-by: firke <edvards.sedols@gmail.com>
This commit is contained in:
parent
92d3068dec
commit
dbf4acdefb
@ -12,7 +12,7 @@
|
||||
"@bifrost-finance/type-definitions": "1.2.40",
|
||||
"@crustio/type-definitions": "0.0.10",
|
||||
"@darwinia/types": "1.2.3",
|
||||
"@digitalnative/type-definitions": "1.1.15",
|
||||
"@digitalnative/type-definitions": "1.1.26",
|
||||
"@docknetwork/node-types": "0.4.7",
|
||||
"@edgeware/node-types": "3.6.2-wako",
|
||||
"@equilab/definitions": "1.3.7",
|
||||
|
||||
@ -84,6 +84,7 @@ import snowbridge from './snowbridge';
|
||||
import soraSubstrate from './soraSubstrate';
|
||||
import spanner from './spanner';
|
||||
import stafi from './stafi';
|
||||
import standard from './standard';
|
||||
import subdao from './subdao';
|
||||
import subgame from './subgame';
|
||||
import subsocial from './subsocial';
|
||||
@ -208,6 +209,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'sora-substrate': soraSubstrate,
|
||||
spanner,
|
||||
stafi,
|
||||
standard,
|
||||
steam: eave,
|
||||
subdao,
|
||||
subgame,
|
||||
@ -219,6 +221,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
uart,
|
||||
'unit-node': unitv,
|
||||
'unit-parachain': unitv,
|
||||
unorthodox: standard,
|
||||
vodka,
|
||||
'web3games-node': web3games,
|
||||
'zcloak-network': zCloak,
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
import definitions from '@digitalnative/type-definitions/opportunity';
|
||||
|
||||
import { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
export default definitions as OverrideBundleDefinition;
|
||||
|
||||
4
packages/apps-config/src/api/spec/standard-defs.d.ts
vendored
Normal file
4
packages/apps-config/src/api/spec/standard-defs.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
declare module '@digitalnative/type-definitions/standard';
|
||||
8
packages/apps-config/src/api/spec/standard.ts
Normal file
8
packages/apps-config/src/api/spec/standard.ts
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import definitions from '@digitalnative/type-definitions/standard';
|
||||
|
||||
import { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
export default definitions as OverrideBundleDefinition;
|
||||
@ -297,6 +297,15 @@ export function createKusama (t: TFunction): EndpointOption {
|
||||
providers: {
|
||||
SubGame: 'wss://gamma.subgame.org/'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'unorthodox',
|
||||
homepage: 'https://standard.tech/',
|
||||
paraId: 2094,
|
||||
text: t('rpc.kusama.standard', 'Unorthodox', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Standard Protocol': 'wss://rpc.kusama.standard.tech'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@ -303,7 +303,7 @@ export function createTesting (t: TFunction, firstOnly: boolean, withSort: boole
|
||||
info: 'opportunity',
|
||||
text: t('rpc.test.opportunity', 'Opportunity', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
Opportunity: 'wss://rpc.opportunity.standard.tech'
|
||||
'Standard Protocol': 'wss://rpc.opportunity.standard.tech'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -405,6 +405,15 @@ export function createRococo (t: TFunction): EndpointOption {
|
||||
Airalab: 'wss://rococo.parachain.robonomics.network'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'rococoStandard',
|
||||
isDisabled: true,
|
||||
paraId: 2003,
|
||||
text: t('rpc.rococo.standard', 'Standard', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Standard Protocol': 'wss://rpc.rococo.standard.tech'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'rococoSubDAO',
|
||||
isDisabled: true, // Rococo reset
|
||||
|
||||
@ -88,6 +88,14 @@ export function createWestend (t: TFunction): EndpointOption {
|
||||
PureStake: 'wss://wss.moonshadow.testnet.moonbeam.network'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'westendStandard',
|
||||
paraId: 2094,
|
||||
text: t('rpc.westend.standard', 'Standard ', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Standard Protocol': 'wss://rpc.westend.standard.tech'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'karura',
|
||||
isUnreachable: true, // https://github.com/polkadot-js/apps/issues/5830
|
||||
|
||||
@ -80,6 +80,7 @@ const chainShadow = '#ffa940';
|
||||
const chainShiden = '#5923B2';
|
||||
const chainSnakenet = '#f653a2';
|
||||
const chainSpanner = '#EC3D3D';
|
||||
const chainStandard = 'background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(42,170,244,1) 35%, rgba(10,10,10,1) 100%)';
|
||||
const chainWestend = '#da68a7';
|
||||
const chainWhala = '#03f3f3';
|
||||
const chainGalois = '#000000';
|
||||
@ -93,6 +94,7 @@ const chainSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
const chainSubsocial = '#b9018c';
|
||||
const chainTrustBase = '#ff43aa';
|
||||
const chainUnitv = '#1452F0';
|
||||
const chainUnorthodox = 'radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(42,244,187,1) 35%, rgba(10,10,10,1) 100%)';
|
||||
const chainVln = '#33cc33';
|
||||
const chainWeb3games = 'linear-gradient(45deg, #0099F7 0%, #F11712 100%)';
|
||||
const chainWestlake = 'linear-gradient(-90deg, #9400D3 0%, #5A5CA9 50%, #00BFFF 100%)';
|
||||
@ -276,6 +278,8 @@ export const chainColors: Record<string, string> = Object.entries({
|
||||
Shiden: chainShiden,
|
||||
Spanner: chainSpanner,
|
||||
'Spartan testnet': nodeSubspace,
|
||||
Standard: chainStandard,
|
||||
'Standard Kusama Parachain': chainUnorthodox,
|
||||
Statemine: specStatemine,
|
||||
'Statemine Test': specStatemine,
|
||||
Statemint: specStatemint,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/chains/standard.png
Normal file
BIN
packages/apps-config/src/ui/logos/chains/standard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.6 KiB |
BIN
packages/apps-config/src/ui/logos/chains/unorthodox.png
Normal file
BIN
packages/apps-config/src/ui/logos/chains/unorthodox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@ -29,7 +29,9 @@ import chainRococoTrick from './chains/rococo-trick.svg';
|
||||
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 chainUnique from './chains/unique.svg';
|
||||
import chainUnorthodox from './chains/unorthodox.png';
|
||||
import extensionPolkadotJs from './extensions/polkadot-js.svg';
|
||||
import externalCommonwealth from './external/commonwealth.png';
|
||||
import externalDotreasury from './external/dotreasury.svg';
|
||||
@ -236,6 +238,7 @@ export const chainLogos = Object.entries({
|
||||
SingLavender: nodeSingLavender,
|
||||
Spanner: chainSpanner,
|
||||
'Spartan Testnet': nodeSubspace,
|
||||
Standard: chainStandard,
|
||||
Statemine: nodeStatemine,
|
||||
'Statemine Test': nodeStatemine,
|
||||
Statemint: nodeStatemine,
|
||||
@ -256,6 +259,7 @@ export const chainLogos = Object.entries({
|
||||
'UniArts Mainnet': nodeUniarts,
|
||||
Unique: chainUnique,
|
||||
'Unit Network': nodeUnitv,
|
||||
Unorthodox: chainUnorthodox,
|
||||
Vln: nodeVln,
|
||||
'VLN PC': nodeVln,
|
||||
Web3games: nodeWeb3games,
|
||||
@ -557,6 +561,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
rococoPolkaFoundry: nodePolkaFoundry,
|
||||
rococoPrism: nodePrism,
|
||||
rococoSingLavender: nodeSingLavender,
|
||||
rococoStandard: chainStandard,
|
||||
rococoStatemint: nodeStatemine,
|
||||
rococoSubDAO: nodeSubDAO,
|
||||
rococoSubsocial: nodeSubsocial,
|
||||
@ -593,9 +598,11 @@ export const namedLogos: Record<string, unknown> = {
|
||||
uniarts: nodeUniarts,
|
||||
unique: nodeUnique,
|
||||
unitv: nodeUnitv,
|
||||
unorthodox: chainUnorthodox,
|
||||
vln: nodeVln,
|
||||
web3games: nodeWeb3games,
|
||||
westend: nodeWestend,
|
||||
westendStandard: chainStandard,
|
||||
westlake: nodeWestlake,
|
||||
westmint: nodeStatemine,
|
||||
whala: nodeWhala,
|
||||
|
||||
@ -39,6 +39,7 @@
|
||||
"rpc.kusama.shadow": "Crust Shadow",
|
||||
"rpc.kusama.sherpax": "SherpaX",
|
||||
"rpc.kusama.shiden": "Shiden",
|
||||
"rpc.kusama.standard": "Unorthodox",
|
||||
"rpc.kusama.statemine": "Statemine",
|
||||
"rpc.kusama.subgame": "SubGame Gamma",
|
||||
"rpc.kusama.trustbase": "TrustBase",
|
||||
@ -109,6 +110,7 @@
|
||||
"rpc.rococo.prism": "Prism PC1",
|
||||
"rpc.rococo.robonomics": "Robonomics PC2",
|
||||
"rpc.rococo.singlavender": "Lavender by SingNetwork",
|
||||
"rpc.rococo.standard": "Standard",
|
||||
"rpc.rococo.statemint": "Statemint",
|
||||
"rpc.rococo.subdao": "SubDAO PC1",
|
||||
"rpc.rococo.subsocial": "Subsocial PC1",
|
||||
@ -189,6 +191,7 @@
|
||||
"rpc.westend.kilt": "WILT",
|
||||
"rpc.westend.moonshadow": "Moonshadow",
|
||||
"rpc.westend.shell": "Westmint",
|
||||
"rpc.westend.standard": "Standard",
|
||||
"rpc.westend.wendala": "Wendala",
|
||||
"rpc.westend.whala": "Whala",
|
||||
"ss58.default": "Default for the connected node",
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@ -1518,13 +1518,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@digitalnative/type-definitions@npm:1.1.15":
|
||||
version: 1.1.15
|
||||
resolution: "@digitalnative/type-definitions@npm:1.1.15"
|
||||
"@digitalnative/type-definitions@npm:1.1.26":
|
||||
version: 1.1.26
|
||||
resolution: "@digitalnative/type-definitions@npm:1.1.26"
|
||||
dependencies:
|
||||
"@polkadot/keyring": ^6.9.1
|
||||
"@polkadot/types": ^4.13.1
|
||||
checksum: 4ec9ce4781a3fd12f3c0a3243777773bd5b8bc494e5fb6fd0cee28f006e7816c9fd15a3f86f96f410b524a70ba93cd88b437e133ea88245a2836eebadfef8270
|
||||
checksum: 1a5dede147506c887e2be03e6a9ba6e5e3f4c790b460cd0979e2a8d3dc4ac3e90aa420b44aea0ffb3ad4f71849890d1248630d50c38bfc208a0990b99822d19e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -2818,7 +2818,7 @@ __metadata:
|
||||
"@bifrost-finance/type-definitions": 1.2.40
|
||||
"@crustio/type-definitions": 0.0.10
|
||||
"@darwinia/types": 1.2.3
|
||||
"@digitalnative/type-definitions": 1.1.15
|
||||
"@digitalnative/type-definitions": 1.1.26
|
||||
"@docknetwork/node-types": 0.4.7
|
||||
"@edgeware/node-types": 3.6.2-wako
|
||||
"@equilab/definitions": 1.3.7
|
||||
|
||||
Loading…
Reference in New Issue
Block a user