Added Plasm Network logos & endpoints (#3565)
This commit is contained in:
parent
7dfcc6d81d
commit
6af59a3748
@ -15,6 +15,7 @@ import kulupu from './kulupu';
|
||||
import laminar from './laminar';
|
||||
import nodeTemplate from './node-template';
|
||||
import nodle from './nodle';
|
||||
import plasm from './plasm';
|
||||
import stablePoc from './stable-poc';
|
||||
import subsocialNode from './subsocial';
|
||||
|
||||
@ -24,6 +25,7 @@ export default {
|
||||
'centrifuge-chain': centrifugeChain,
|
||||
'cumulus-test-parachain': testPara,
|
||||
'darwinia-parachain': darwiniaParachain,
|
||||
dusty3: plasm,
|
||||
edgeware,
|
||||
'encointer-node': encointerNodeNotee,
|
||||
'encointer-node-notee': encointerNodeNotee,
|
||||
@ -33,6 +35,7 @@ export default {
|
||||
'mashnet-node': kilt,
|
||||
'node-template': nodeTemplate,
|
||||
'nodle-chain': nodle,
|
||||
plasm,
|
||||
'stable-poc': stablePoc,
|
||||
stable_poc: stablePoc,
|
||||
subsocial: subsocialNode
|
||||
|
||||
36
packages/apps-config/src/api/spec/plasm.ts
Normal file
36
packages/apps-config/src/api/spec/plasm.ts
Normal file
@ -0,0 +1,36 @@
|
||||
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
export default {
|
||||
AuthorityId: 'AccountId',
|
||||
AuthorityVote: 'u32',
|
||||
Claim: {
|
||||
amount: 'u128',
|
||||
approve: 'BTreeSet<AuthorityId>',
|
||||
complete: 'bool',
|
||||
decline: 'BTreeSet<AuthorityId>',
|
||||
params: 'Lockdrop'
|
||||
},
|
||||
ClaimId: 'H256',
|
||||
ClaimVote: {
|
||||
approve: 'bool',
|
||||
authority: 'u16',
|
||||
claim_id: 'ClaimId'
|
||||
},
|
||||
DollarRate: 'u128',
|
||||
Keys: 'SessionKeys2',
|
||||
Lockdrop: {
|
||||
duration: 'u64',
|
||||
public_key: '[u8; 33]',
|
||||
transaction_hash: 'H256',
|
||||
type: 'u8',
|
||||
value: 'u128'
|
||||
},
|
||||
PredicateHash: 'H256',
|
||||
TickerRate: {
|
||||
authority: 'u16',
|
||||
btc: 'u128',
|
||||
eth: 'u128'
|
||||
}
|
||||
};
|
||||
@ -111,6 +111,11 @@ function createLive (t: TFunction): LinkOption[] {
|
||||
text: t<string>('rpc.nodle-main', 'Nodle Main (Nodle Mainnet, hosted by Nodle)', { ns: 'apps-config' }),
|
||||
value: 'wss://main1.nodleprotocol.io'
|
||||
},
|
||||
{
|
||||
info: 'plasm',
|
||||
text: t<string>('rpc.plasm', 'Plasm (Plasm Mainnet, hosted by Stake Technologies)', { ns: 'apps-config' }),
|
||||
value: 'wss://rpc.plasmnet.io/'
|
||||
},
|
||||
{
|
||||
info: 'subsocial',
|
||||
text: t<string>('rpc.subsocial', 'Subsocial (Subsocial Network, hosted by DappForce)', { ns: 'apps-config' }),
|
||||
@ -164,6 +169,12 @@ function createTest (t: TFunction): LinkOption[] {
|
||||
text: t<string>('rpc.rococo.laminar', 'Turbulence PC1 (Laminar Testpara, hosted by Laminar)', { ns: 'apps-config' }),
|
||||
value: 'wss://rococo-1.laminar-chain.laminar.one'
|
||||
},
|
||||
{
|
||||
info: 'rococoPlasm',
|
||||
isChild: true,
|
||||
text: t<string>('rpc.rococo.plasm', 'Plasm PC1 (Plasm Testpara, hosted by Stake Technologies)', { ns: 'apps-config' }),
|
||||
value: 'wss://rpc.parachain.plasmnet.io'
|
||||
},
|
||||
{
|
||||
dnslink: 'westend',
|
||||
info: 'westend',
|
||||
@ -197,6 +208,11 @@ function createTest (t: TFunction): LinkOption[] {
|
||||
text: t<string>('rpc.datahighway.harbour', 'Harbour (DataHighway Testnet, hosted by MXC)', { ns: 'apps-config' }),
|
||||
value: 'wss://testnet-harbour.datahighway.com'
|
||||
},
|
||||
{
|
||||
info: 'dusty',
|
||||
text: t<string>('rpc.dusty', 'Dusty (Plasm Testnet, hosted by Stake Technologies)', { ns: 'apps-config' }),
|
||||
value: 'wss://rpc.dusty.plasmnet.io/'
|
||||
},
|
||||
{
|
||||
info: 'acala',
|
||||
text: t<string>('rpc.mandala', 'Mandala (Acala Testnet, hosted by Acala)', { ns: 'apps-config' }),
|
||||
|
||||
@ -43,6 +43,11 @@ export default function create (t: TFunction): Option[] {
|
||||
text: t<string>('ss58.edgeware', 'Edgeware (live)', { ns: 'apps-config' }),
|
||||
value: 7
|
||||
},
|
||||
{
|
||||
info: 'plasm',
|
||||
text: t<string>('ss58.plasm', 'Plasm (live)', { ns: 'apps-config' }),
|
||||
value: 5
|
||||
},
|
||||
{
|
||||
info: 'subsocial',
|
||||
text: t<string>('ss58.subsocial', 'Subsocial (live)', { ns: 'apps-config' }),
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/chains/dusty.png
Normal file
BIN
packages/apps-config/src/ui/logos/chains/dusty.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 503 KiB |
@ -5,6 +5,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||
|
||||
// anything for a specific chain, most would probably fit into the node category (but allow for chain-specific)
|
||||
import chainDusty from './chains/dusty.png';
|
||||
import chainKusama from './chains/kusama-128.gif';
|
||||
import chainRococo from './chains/rococo.svg';
|
||||
import chainRococoTick from './chains/rococo-tick.svg';
|
||||
@ -21,6 +22,7 @@ import nodeEncointerNotee from './nodes/encointer-notee.svg';
|
||||
import nodeEncointerTeeproxy from './nodes/encointer-teeproxy.svg';
|
||||
import nodeNodle from './nodes/nodle.svg';
|
||||
import nodeKilt from './nodes/kilt.svg';
|
||||
import nodePlasm from './nodes/plasm.png';
|
||||
import nodePolkadot from './nodes/polkadot-circle.svg';
|
||||
import nodePolkadotJs from './nodes/polkadot-js.svg';
|
||||
import nodeSubsocial from './nodes/subsocial.svg';
|
||||
@ -44,6 +46,7 @@ import emptyLogo from './empty.svg';
|
||||
|
||||
// overrides based on the actual matched chain name
|
||||
const chainLogos: Record<string, any> = [
|
||||
['Dusty', chainDusty],
|
||||
['Kusama', chainKusama], // new name after CC3
|
||||
['Kusama CC1', chainKusama],
|
||||
['Kusama CC2', chainKusama],
|
||||
@ -72,6 +75,7 @@ const nodeLogos: Record<string, any> = [
|
||||
['node-template', nodeSubstrate],
|
||||
['Nodle Chain Node', nodeNodle],
|
||||
['parity-polkadot', nodePolkadot],
|
||||
['Plasm Node', nodePlasm],
|
||||
['polkadot-js', nodePolkadotJs],
|
||||
['subsocial-node', nodeSubsocial],
|
||||
['substrate-node', nodeSubstrate],
|
||||
@ -87,6 +91,7 @@ const namedLogos: Record<string, any> = {
|
||||
alexander: nodePolkadot,
|
||||
centrifuge: nodeCentrifuge,
|
||||
crab: nodeCrab,
|
||||
dusty: chainDusty,
|
||||
edgeware: nodeEdgeware,
|
||||
empty: emptyLogo,
|
||||
kilt: nodeKilt,
|
||||
@ -95,11 +100,13 @@ const namedLogos: Record<string, any> = {
|
||||
laminar: nodeLaminar,
|
||||
nodle: nodeNodle,
|
||||
phala: nodePhala,
|
||||
plasm: nodePlasm,
|
||||
polkadot: nodePolkadot,
|
||||
rococo: chainRococo,
|
||||
rococoAcala: nodeAcala,
|
||||
rococoDarwinia: nodeDarwinia,
|
||||
rococoLaminar: nodeLaminar,
|
||||
rococoPlasm: nodePlasm,
|
||||
rococoTick: chainRococoTick,
|
||||
rococoTrack: chainRococoTrack,
|
||||
rococoTrick: chainRococoTrick,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/nodes/plasm.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/plasm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 782 KiB |
Loading…
Reference in New Issue
Block a user