Added Robonomics Network endpoints (#3636)
* Added Robonomics parachain endpoint * Added Robonomics chain spec * Update packages/apps-config/src/api/spec/robonomics.ts Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
parent
e049bb79ad
commit
3cb35abce1
@ -17,6 +17,7 @@ import laminar from './laminar';
|
|||||||
import nodeTemplate from './node-template';
|
import nodeTemplate from './node-template';
|
||||||
import nodle from './nodle';
|
import nodle from './nodle';
|
||||||
import plasm from './plasm';
|
import plasm from './plasm';
|
||||||
|
import robonomics from './robonomics';
|
||||||
import stablePoc from './stable-poc';
|
import stablePoc from './stable-poc';
|
||||||
import subsocialNode from './subsocial';
|
import subsocialNode from './subsocial';
|
||||||
|
|
||||||
@ -38,6 +39,7 @@ export default {
|
|||||||
'node-template': nodeTemplate,
|
'node-template': nodeTemplate,
|
||||||
'nodle-chain': nodle,
|
'nodle-chain': nodle,
|
||||||
plasm,
|
plasm,
|
||||||
|
robonomics,
|
||||||
'stable-poc': stablePoc,
|
'stable-poc': stablePoc,
|
||||||
stable_poc: stablePoc,
|
stable_poc: stablePoc,
|
||||||
subsocial: subsocialNode
|
subsocial: subsocialNode
|
||||||
|
|||||||
19
packages/apps-config/src/api/spec/robonomics.ts
Normal file
19
packages/apps-config/src/api/spec/robonomics.ts
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
// 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.
|
||||||
|
|
||||||
|
/* eslint-disable sort-keys */
|
||||||
|
|
||||||
|
export default {
|
||||||
|
Record: 'Vec<u8>',
|
||||||
|
TechnicalParam: 'Vec<u8>',
|
||||||
|
TechnicalReport: 'Vec<u8>',
|
||||||
|
EconomicalParam: '{}',
|
||||||
|
ProofParam: 'MultiSignature',
|
||||||
|
LiabilityIndex: 'u64',
|
||||||
|
ValidationFunctionParams: {
|
||||||
|
max_code_size: 'u32',
|
||||||
|
relay_chain_height: 'u32',
|
||||||
|
code_upgrade_allowed: 'Option<u32>'
|
||||||
|
}
|
||||||
|
};
|
||||||
@ -169,6 +169,12 @@ function createTestNetworks (t: TFunction): LinkOption[] {
|
|||||||
text: t<string>('rpc.rococo.plasm', 'Plasm PC1 (Plasm Testpara, hosted by Stake Technologies)', { ns: 'apps-config' }),
|
text: t<string>('rpc.rococo.plasm', 'Plasm PC1 (Plasm Testpara, hosted by Stake Technologies)', { ns: 'apps-config' }),
|
||||||
value: 'wss://rpc.parachain.plasmnet.io'
|
value: 'wss://rpc.parachain.plasmnet.io'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
info: 'rococoRobonomics',
|
||||||
|
isChild: true,
|
||||||
|
text: t<string>('rpc.rococo.robonomics', 'Robonomics PC1 (Robonomics Testpara, hosted by Airalab)', { ns: 'apps-config' }),
|
||||||
|
value: 'wss://parachain-rpc.robonomics.network'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
info: 'rococoLaminar',
|
info: 'rococoLaminar',
|
||||||
isChild: true,
|
isChild: true,
|
||||||
|
|||||||
@ -31,6 +31,7 @@ import nodePhala from './nodes/phala.svg';
|
|||||||
import nodePlasm from './nodes/plasm.png';
|
import nodePlasm from './nodes/plasm.png';
|
||||||
import nodePolkadot from './nodes/polkadot-circle.svg';
|
import nodePolkadot from './nodes/polkadot-circle.svg';
|
||||||
import nodePolkadotJs from './nodes/polkadot-js.svg';
|
import nodePolkadotJs from './nodes/polkadot-js.svg';
|
||||||
|
import nodeRobonomics from './nodes/robonomics.svg';
|
||||||
import nodeSubsocial from './nodes/subsocial.svg';
|
import nodeSubsocial from './nodes/subsocial.svg';
|
||||||
import nodeSubstrate from './nodes/substrate-hexagon.svg';
|
import nodeSubstrate from './nodes/substrate-hexagon.svg';
|
||||||
|
|
||||||
@ -69,6 +70,7 @@ const chainLogos: Record<string, any> = [
|
|||||||
// overrides based on the actual software node type (all '-' converted to ' ')
|
// overrides based on the actual software node type (all '-' converted to ' ')
|
||||||
// alphabetical
|
// alphabetical
|
||||||
const nodeLogos: Record<string, any> = [
|
const nodeLogos: Record<string, any> = [
|
||||||
|
['airalab-robonomics', nodeRobonomics],
|
||||||
['centrifuge chain', nodeCentrifuge],
|
['centrifuge chain', nodeCentrifuge],
|
||||||
['Centrifuge Chain Node', nodeCentrifuge],
|
['Centrifuge Chain Node', nodeCentrifuge],
|
||||||
['crab', nodeCrab],
|
['crab', nodeCrab],
|
||||||
@ -117,6 +119,7 @@ const namedLogos: Record<string, any> = {
|
|||||||
rococoDarwinia: nodeDarwinia,
|
rococoDarwinia: nodeDarwinia,
|
||||||
rococoLaminar: nodeLaminar,
|
rococoLaminar: nodeLaminar,
|
||||||
rococoPlasm: nodePlasm,
|
rococoPlasm: nodePlasm,
|
||||||
|
rococoRobonomics: nodeRobonomics,
|
||||||
rococoTick: chainRococoTick,
|
rococoTick: chainRococoTick,
|
||||||
rococoTrack: chainRococoTrack,
|
rococoTrack: chainRococoTrack,
|
||||||
rococoTrick: chainRococoTrick,
|
rococoTrick: chainRococoTrick,
|
||||||
|
|||||||
26
packages/apps-config/src/ui/logos/nodes/robonomics.svg
Normal file
26
packages/apps-config/src/ui/logos/nodes/robonomics.svg
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve">
|
||||||
|
<style type="text/css">
|
||||||
|
.st0{fill:#FFFFFF;}
|
||||||
|
.st1{fill:none;stroke:#03A5ED;stroke-width:0.25;stroke-miterlimit:10;}
|
||||||
|
.st2{fill:#03A5ED;}
|
||||||
|
.st3{fill:#B5C0F1;}
|
||||||
|
.st4{fill:#535974;}
|
||||||
|
</style>
|
||||||
|
<circle class="st0" cx="13" cy="13" r="12.3"/>
|
||||||
|
<g>
|
||||||
|
<polygon class="st1" points="13.1,5.7 5.9,17.9 20.1,17.9 "/>
|
||||||
|
<circle class="st2" cx="13.1" cy="5.7" r="1"/>
|
||||||
|
<g>
|
||||||
|
<circle class="st2" cx="20" cy="17.9" r="1"/>
|
||||||
|
<circle class="st2" cx="6" cy="17.9" r="1"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path id="Path_1834" class="st3" d="M13.1,10.7V14l2.7,1.4L13.1,10.7z"/>
|
||||||
|
<path id="Path_1835" class="st4" d="M13.1,14l-2.7,1.4h5.4L13.1,14z"/>
|
||||||
|
<path id="Path_1836" class="st2" d="M13.1,10.7l-2.7,4.7l2.7-1.4V10.7z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue
Block a user