add IPSE TEST network (#5115)

* add ipse test networks

* fix

* fix
This commit is contained in:
shareven 2021-04-22 22:36:27 +08:00 committed by GitHub
parent 8a619e21cc
commit 66fab2e148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 192 additions and 0 deletions

View File

@ -35,6 +35,7 @@ import hanonycash from './hanonycash';
import hydrate from './hydrate';
import idavoll from './idavoll';
import integritee from './integritee';
import ipse from './ipse';
import jupiter from './jupiter';
import jupiterRococo from './jupiter-rococo';
import kilt from './kilt';
@ -120,6 +121,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'hydra-dx': hydrate,
idavoll,
'integritee-parachain': integritee,
ipse,
'jupiter-prep': jupiter,
'jupiter-rococo': jupiterRococo,
'kilt-parachain': kilt,

View File

@ -0,0 +1,123 @@
// 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: {
test: 'u64',
Address: 'IndicesLookupSource',
LookupSource: 'IndicesLookupSource',
GIB: 'u64',
Amount: 'u128',
Miner: {
account_id: 'AccountId',
nickname: 'Vec<u8>',
region: 'Vec<u8>',
url: 'Vec<u8>',
public_key: 'Vec<u8>',
stash_address: 'AccountId',
capacity: 'u128',
unit_price: 'Balance',
violation_times: 'u64',
total_staking: 'Balance',
create_ts: 'u64',
update_ts: 'u64'
},
Order: {
miner: 'AccountId',
label: 'Vec<u8>',
hash: '[u8; 46]',
size: 'u128',
user: 'AccountId',
orders: 'Vec<MinerOrder<AccountId, Balance>>',
status: 'OrderStatus',
create_ts: 'u64',
update_ts: 'u64',
duration: 'u64'
},
MinerOrder: {
miner: 'AccountId',
day_price: 'Balance',
total_price: 'Balance',
verify_result: 'bool',
verify_ts: 'u64',
confirm_ts: 'u64',
url: 'Option<Vec<u8>>'
},
OrderStatus: {
_enum: [
'Created',
'Confirmed',
'Expired',
'Deleted'
]
},
MiningInfo: {
miner: 'Option<AccountId>',
best_dl: 'u64',
block: 'u64'
},
Difficulty: {
base_target: 'u64',
net_difficulty: 'u64',
block: 'u64'
},
MachineInfo: {
plot_size: 'u64',
numeric_id: 'u128',
update_time: 'BlockNumber',
is_stop: 'bool',
reward_dest: 'AccountId'
},
StakingInfo: {
miner: 'AccountId',
miner_proportion: 'Percent',
total_staking: 'Balance',
others: 'Vec<(AccountId, Balance, Balance)>'
},
Oprate: {
_enum: [
'Add',
'Sub'
]
},
MiningHistory: {
miner: 'AccountId',
total_num: 'u64',
history: 'Vec<(BlockNumber, Balance)>'
},
PostTxTransferData: {
verify_status: 'u64',
irreversible: 'bool',
is_post_transfer: 'bool',
contract_account: 'Vec<u8>',
from: 'Vec<u8>',
to: 'Vec<u8>',
quantity: 'u64',
memo: 'Vec<u8>'
},
AddressStatus: {
_enum: [
'active',
'inActive'
]
},
FetchFailedOf: {
block_num: 'BlockNumber',
tx: 'Vec<u8>',
err: 'Vec<u8>'
}
}
}
]
};
export default definitions;

View File

@ -154,6 +154,15 @@ export function createTesting (t: TFunction): LinkOption[] {
'MathWallet Backup': 'wss://galois.maiziqianbao.net/ws'
}
},
{
info: 'ipse',
text: t('rpc.ipse', 'IPSE', { ns: 'apps-config' }),
providers: {
'IPSE China': 'wss://testnet-china.ipse.io',
'IPSE USA': 'wss://testnet-usa.ipse.io',
'IPSE Europe': 'wss://testnet-europe.ipse.io'
}
},
{
info: 'jupiter',
text: t('rpc.jupiter', 'Jupiter', { ns: 'apps-config' }),

View File

@ -22,6 +22,7 @@ const chainGalital = '#00063F';
const chainHanonycash = '#0099CC';
const chainHydrate = '#000000';
const chainIntegritee = '#15bcff';
const chainIpse = '#08a1e8';
const chainKulupu = '#003366';
const chainManta = '#2070a6';
const chainNFTMart = '#815287';
@ -80,6 +81,7 @@ const nodeEncointerNotee = '#cc0000';
const nodeEncointerTeeproxy = '#0000cc';
const nodeEquilibrium = '#1792ff';
const nodeGalital = '#00063F;';
const nodeIpse = '#08a1e8';
const nodeJupiter = '#7143ff';
const nodeLitentry = 'linear-gradient(45deg, #5cc27c 0%, #6de98f 100%)';
const nodeManta = '#2070a6';
@ -137,6 +139,7 @@ export const chainColors: Record<string, any> = [
['HydraDX Snakenet Gen2', chainSnakenet],
['Idavoll', chainIdavoll],
['IntegriTEE PC1', chainIntegritee],
['IPSE', chainIpse],
['Jupiter A1', chainJupiter],
['Jupiter PC1', chainJupiter],
['KILT Collator Rococo', chainKilt],
@ -212,6 +215,7 @@ export const nodeColors: Record<string, any> = [
['Encointer Node TEE proxy', nodeEncointerTeeproxy],
['Equilibrium node', nodeEquilibrium],
['Galital Parachain Collator', nodeGalital],
['IPSE', nodeIpse],
['Litentry Collator', nodeLitentry],
['Manta Collator', nodeManta],
['mybank.network node', nodeMybank],

View File

@ -48,6 +48,7 @@ import nodeGalital from './nodes/galital-logo.png';
import nodeHanonycash from './nodes/hanonycash.svg';
import nodeIdavoll from './nodes/idavoll.png';
import nodeIntegritee from './nodes/integritee.png';
import nodeIpse from './nodes/ipse.svg';
import nodeJupiter from './nodes/jupiter.svg';
import nodeKilt from './nodes/kilt.svg';
import nodeKulupu from './nodes/kulupu.svg';
@ -115,6 +116,7 @@ export const chainLogos: Record<string, unknown> = [
['Encointer PC1', nodeEncointerNotee],
['Idavoll', nodeIdavoll],
['IntegriTEE PC1', nodeIntegritee],
['IPSE', nodeIpse],
['Jupiter A1', nodeJupiter],
['Jupiter PC1', nodeJupiter],
['KILT PC1', nodeKilt],
@ -198,6 +200,7 @@ export const nodeLogos: Record<string, unknown> = [
['DOTMog Node', nodeDotMog],
['Eave Node', nodeEave],
['Edgeware Node', nodeEdgeware],
['IPSE', nodeIpse],
['Encointer Node', nodeEncointerNotee],
['Encointer Node noTEE', nodeEncointerNotee],
['Encointer Node TEE proxy', nodeEncointerTeeproxy],
@ -302,6 +305,7 @@ export const namedLogos: Record<string, unknown> = {
galois: nodeMath,
hanonycash: nodeHanonycash,
idavoll: nodeIdavoll,
ipse: nodeIpse,
jupiter: nodeJupiter,
kilt: nodeKilt,
kulupu: nodeKulupu,

View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 113.4 113.4" style="enable-background:new 0 0 113.4 113.4;" xml:space="preserve">
<style type="text/css">
.st0{fill:#009FE8;}
</style>
<g id="XMLID_20_">
<path id="XMLID_63_" class="st0" d="M90.9,15.4c-0.9,0.5-1.5,1.3-1.9,2.1c-0.9,1.9-2.4,3.5-4.3,4.6c-2,1.1-4.1,1.5-6.2,1.4l0,0
c-0.9-0.1-1.8,0-2.6,0.5c-2,1.2-2.8,3.8-1.6,5.8s3.8,2.8,5.8,1.6c0.8-0.5,1.4-1.2,1.8-2l0,0c0.9-1.9,2.4-3.6,4.4-4.7
c1.9-1.1,4.1-1.5,6.1-1.3c0.9,0.1,1.8,0,2.7-0.5c2-1.2,2.8-3.8,1.6-5.8S92.9,14.3,90.9,15.4z"/>
<path id="XMLID_62_" class="st0" d="M60.6,33.7c-0.9,0.5-1.5,1.2-1.8,2.1c-0.9,1.9-2.4,3.5-4.3,4.6c-2,1.1-4.1,1.5-6.2,1.3l0,0
c-0.9-0.1-1.8,0-2.6,0.5c-2.1,1.2-2.8,3.8-1.6,5.8s3.8,2.8,5.8,1.6c0.8-0.5,1.4-1.2,1.8-2l0,0c0.9-1.9,2.4-3.6,4.4-4.7
c1.9-1.1,4.1-1.5,6.1-1.3c0.9,0.1,1.8,0,2.7-0.5c2.1-1.2,2.8-3.8,1.6-5.8S62.6,32.5,60.6,33.7z"/>
<path id="XMLID_61_" class="st0" d="M45.6,42.2c-0.9,0.5-1.5,1.2-1.8,2.1c-0.9,1.9-2.4,3.5-4.3,4.6c-2,1.1-4.1,1.5-6.2,1.3l0,0
c-0.9-0.1-1.8,0-2.6,0.5c-2.1,1.2-2.8,3.8-1.6,5.8s3.8,2.8,5.8,1.6c0.8-0.5,1.4-1.2,1.8-2l0,0c0.9-1.9,2.4-3.6,4.4-4.7
c1.9-1.1,4.1-1.5,6.1-1.3c0.9,0.1,1.8,0,2.7-0.5c2.1-1.2,2.8-3.8,1.6-5.8C50.3,41.7,47.7,41,45.6,42.2z"/>
<path id="XMLID_60_" class="st0" d="M81.6,78.4c-0.2,0.9-0.8,1.7-1.5,2.3c-1.6,1.4-2.7,3.2-3.3,5.4c-0.6,2.2-0.4,4.4,0.3,6.4l0,0
c0.3,0.8,0.4,1.7,0.2,2.7c-0.6,2.3-2.9,3.7-5.2,3.1s-3.7-2.9-3.1-5.2c0.2-0.9,0.8-1.7,1.5-2.2l0,0c1.6-1.4,2.8-3.2,3.4-5.4
c0.6-2.2,0.4-4.3-0.3-6.3c-0.4-0.8-0.5-1.8-0.2-2.7c0.6-2.3,2.9-3.7,5.2-3.1C80.8,73.8,82.2,76.1,81.6,78.4z"/>
<circle id="XMLID_59_" class="st0" cx="59.5" cy="48.7" r="4.3"/>
<circle id="XMLID_58_" class="st0" cx="86.3" cy="42.5" r="4.3"/>
<circle id="XMLID_57_" class="st0" cx="66.5" cy="85.7" r="4.3"/>
<g id="XMLID_53_">
<path id="XMLID_56_" class="st0" d="M73.9,54.3c-0.8,0.5-1.8,0.7-2.7,0.6c-2.1-0.1-4.2,0.4-6.1,1.6c-1.9,1.2-3.3,2.9-4.2,4.8l0,0
c-0.3,0.8-0.9,1.6-1.7,2.1c-2,1.2-4.6,0.6-5.9-1.4c-1.2-2-0.6-4.6,1.4-5.9c0.8-0.5,1.7-0.7,2.6-0.6l0,0c2.1,0.1,4.3-0.4,6.2-1.6
c1.9-1.2,3.3-2.8,4.1-4.7c0.3-0.8,0.9-1.6,1.7-2.1c2-1.2,4.6-0.6,5.9,1.4S75.9,53.1,73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3.5-4.3,4.6s-4.1,1.6-6.2,1.4l0,0
c-0.9-0.1-1.8,0.1-2.6,0.5c-2,1.2-2.7,3.8-1.5,5.8c1.2,2,3.8,2.7,5.8,1.5c0.8-0.5,1.4-1.2,1.8-2l0,0c0.9-1.9,2.3-3.6,4.3-4.7
c1.9-1.1,4.1-1.6,6.1-1.4c0.9,0.1,1.8,0,2.7-0.5c2-1.2,2.7-3.8,1.5-5.8C86.2,49.7,83.6,49,81.5,50.2z"/>
<path id="XMLID_23_" class="st0" d="M77.9,37.2c0.5,0.8,0.7,1.8,0.7,2.7c0,2.1,0.5,4.2,1.7,6.1c1.2,1.9,3,3.3,4.9,4.1l0,0
c0.8,0.3,1.6,0.9,2.1,1.7c1.3,2,0.7,4.6-1.3,5.9c-2,1.3-4.6,0.7-5.9-1.3c-0.5-0.8-0.7-1.7-0.7-2.6l0,0c0.1-2.1-0.5-4.3-1.7-6.2
s-2.9-3.2-4.8-4c-0.9-0.3-1.6-0.9-2.2-1.7c-1.2-2-0.7-4.7,1.3-6C74,34.7,76.6,35.2,77.9,37.2z"/>
<path id="XMLID_22_" class="st0" d="M42.7,53.7c-0.8,0.5-1.4,1.3-1.7,2.2c-0.8,1.9-2.1,3.6-4,4.9c-1.9,1.2-4,1.8-6.1,1.8l0,0
c-0.9-0.1-1.8,0.2-2.6,0.7c-2,1.3-2.5,3.9-1.2,5.9s3.9,2.5,5.9,1.2c0.8-0.5,1.3-1.3,1.6-2.1l0,0c0.8-2,2.1-3.7,4-5
c1.9-1.2,4-1.8,6-1.7c0.9,0.1,1.8-0.1,2.7-0.7c2-1.3,2.5-3.9,1.2-5.9S44.7,52.4,42.7,53.7z"/>
<circle id="XMLID_21_" class="st0" cx="20.4" cy="61.5" r="4.3"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -39,6 +39,7 @@
"rpc.header.test.relay": "Test relays & parachains",
"rpc.hosted.by": "hosted by {{host}}",
"rpc.hydra": "HydraDX",
"rpc.ipse": "IPSE",
"rpc.jupiter": "Jupiter",
"rpc.kilt": "KILT Mashnet",
"rpc.kulupu": "Kulupu",