added elysium chain as mainnet (#10590)
* added elysium chain as prod added elysium chain as prod * added elysium in index.ts file added elysium in index.ts file * run the yarn lint
This commit is contained in:
parent
a9564aec69
commit
6de5afee07
38
packages/apps-config/src/api/spec/elysium.ts
Normal file
38
packages/apps-config/src/api/spec/elysium.ts
Normal file
@ -0,0 +1,38 @@
|
||||
// Copyright 2017-2024 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
Account: {
|
||||
nonce: 'U256',
|
||||
balance: 'U256'
|
||||
},
|
||||
Transaction: {
|
||||
nonce: 'U256',
|
||||
action: 'String',
|
||||
gas_price: 'u64',
|
||||
gas_limit: 'u64',
|
||||
value: 'U256',
|
||||
input: 'Vec<u8>',
|
||||
signature: 'Signature'
|
||||
},
|
||||
Signature: {
|
||||
v: 'u64',
|
||||
r: 'H256',
|
||||
s: 'H256'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -40,6 +40,7 @@ import dockTestnet from './dock-testnet.js';
|
||||
import dotmog from './dotmog.js';
|
||||
import eave from './eave.js';
|
||||
import edgeware from './edgeware.js';
|
||||
import elysium from './elysium.js';
|
||||
import encointerNodeNotee from './encointer-node-notee.js';
|
||||
import encointerNodeTeeproxy from './encointer-node-teeproxy.js';
|
||||
import encointerPara from './encointer-para.js';
|
||||
@ -196,6 +197,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'dock-pos-test-runtime': dockTestnet,
|
||||
'dotmog-node': dotmog,
|
||||
edgeware,
|
||||
elysium,
|
||||
'encointer-node-notee': encointerNodeNotee,
|
||||
'encointer-node-teeproxy': encointerNodeTeeproxy,
|
||||
'encointer-parachain': encointerPara,
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
import type { EndpointOption } from './types.js';
|
||||
|
||||
import { chains3dpassSVG, chainsAlephSVG, chainsBittensorPNG, chainsChainflipPNG, chainsCreditcoinPNG, chainsDebioSVG, chainsFragnovaPNG, chainsJurPNG, chainsLiberlandPNG, chainsLogionPNG, chainsMyriadPNG, chainsSpannerPNG, chainsTanglePNG, chainsVaraPNG, chainsVtbPNG } from '../ui/logos/chains/index.js';
|
||||
import { nodesAresOdysseySVG, nodesAutomataPNG, nodesCentrifugePNG, nodesCereSVG, nodesChainxSVG, nodesCompetitorsClubPNG, nodesCrownSterlingPNG, nodesCrustSVG, nodesDatahighwayPNG, nodesDockPNG, nodesEdgewareWhitePNG, nodesEfinitySVG, nodesHanyonycashPNG, nodesHumanodePNG, nodesInnovatorPNG, nodesJoystreamSVG, nodesKulupuSVG, nodesKusariSVG, nodesMathSVG, nodesMinixPNG, nodesNftmartPNG, nodesNodleSVG, nodesPolkadexSVG, nodesPolymeshSVG, nodesRiochainSVG, nodesRobonomicsSVG, nodesSherpaxPNG, nodesSoraSubstrateSVG, nodesStafiPNG, nodesSubgameSVG, nodesSubsocialSVG, nodesSwapdexSVG, nodesTernoaSVG, nodesThebifrostPNG, nodesUniartsPNG, nodesUnitnetworkPNG } from '../ui/logos/nodes/index.js';
|
||||
import { nodesAresOdysseySVG, nodesAutomataPNG, nodesCentrifugePNG, nodesCereSVG, nodesChainxSVG, nodesCompetitorsClubPNG, nodesCrownSterlingPNG, nodesCrustSVG, nodesDatahighwayPNG, nodesDockPNG, nodesEdgewareWhitePNG, nodesEfinitySVG, nodesElysiumPNG, nodesHanyonycashPNG, nodesHumanodePNG, nodesInnovatorPNG, nodesJoystreamSVG, nodesKulupuSVG, nodesKusariSVG, nodesMathSVG, nodesMinixPNG, nodesNftmartPNG, nodesNodleSVG, nodesPolkadexSVG, nodesPolymeshSVG, nodesRiochainSVG, nodesRobonomicsSVG, nodesSherpaxPNG, nodesSoraSubstrateSVG, nodesStafiPNG, nodesSubgameSVG, nodesSubsocialSVG, nodesSwapdexSVG, nodesTernoaSVG, nodesThebifrostPNG, nodesUniartsPNG, nodesUnitnetworkPNG } from '../ui/logos/nodes/index.js';
|
||||
|
||||
export * from './productionRelayKusama.js';
|
||||
export * from './productionRelayPolkadot.js';
|
||||
@ -228,6 +228,16 @@ export const prodChains: Omit<EndpointOption, 'teleport'>[] = [
|
||||
logo: nodesEfinitySVG
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'elysium',
|
||||
providers: {
|
||||
Elysium: 'wss://ws.elysiumchain.tech'
|
||||
},
|
||||
text: 'ELysium',
|
||||
ui: {
|
||||
logo: nodesElysiumPNG
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'fragnova',
|
||||
providers: {
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/elysium.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/elysium.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
File diff suppressed because one or more lines are too long
@ -48,6 +48,7 @@ export { nodesDotmogSVG } from './generated/dotmogSVG.js';
|
||||
export { nodesEaveSVG } from './generated/eaveSVG.js';
|
||||
export { nodesEdgewareWhitePNG } from './generated/edgeware-whitePNG.js';
|
||||
export { nodesEfinitySVG } from './generated/efinitySVG.js';
|
||||
export { nodesElysiumPNG } from './generated/elysiumPNG.js';
|
||||
export { nodesEncointerBlueSVG } from './generated/encointer-blueSVG.js';
|
||||
export { nodesEwxSVG } from './generated/ewxSVG.js';
|
||||
export { nodesFantourPNG } from './generated/fantourPNG.js';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user