Add KILT spec (#3436)

* Add KILT spec

* fix: mashnet url

* refactor: apply alphabetical endpoints ordering
This commit is contained in:
William Freudenberger 2020-08-18 12:05:13 +02:00 committed by GitHub
parent c83a6c1ef8
commit 028717d002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import testPara from './cumulus-test-parachain';
import edgeware from './edgeware';
import encointerNodeNotee from './encointer-node-notee';
import encointerNodeTeeproxy from './encointer-node-teeproxy';
import kilt from './kilt';
import kulupu from './kulupu';
import nodeTemplate from './node-template';
import stablePoc from './stable-poc';
@ -21,6 +22,7 @@ export default {
'encointer-node-notee': encointerNodeNotee,
'encointer-node-teeproxy': encointerNodeTeeproxy,
kulupu,
'mashnet-node': kilt,
'node-template': nodeTemplate,
'stable-poc': stablePoc,
stable_poc: stablePoc

View File

@ -0,0 +1,16 @@
// 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 {
Address: 'AccountId',
BlockNumber: 'u64',
DelegationNodeId: 'Hash',
ErrorCode: 'u16',
Index: 'u64',
LookupSource: 'AccountId',
Permissions: 'u32',
PublicBoxKey: 'Hash',
PublicSigningKey: 'Hash',
Signature: 'MultiSignature'
};

View File

@ -170,6 +170,11 @@ function createTest (t: TFunction): LinkOption[] {
info: 'acala',
text: t<string>('rpc.mandala', 'Mandala (Acala Testnet, hosted by Acala)', { ns: 'apps-config' }),
value: 'wss://node-6684611762228215808.jm.onfinality.io/ws'
},
{
info: 'kilt',
text: t<string>('rpc.kilt', 'Mashnet (KILT Canary, hosted by KILT Protocol)', { ns: 'apps-config' }),
value: 'wss://full-nodes.kilt.io:9944/'
}
];
}

View File

@ -17,6 +17,7 @@ const chainWestend = '#da68a7';
const nodeCentrifuge = '#fcc367';
const nodeEdgeware = '#0a95df';
const nodeNodle = '#1ab394';
const nodeKilt = '#eb5b2a';
// overrides based on the actual matched chain name
const chainColors: Record<string, any> = [
@ -41,6 +42,7 @@ const chainColors: Record<string, any> = [
const nodeColors: Record<string, any> = [
['centrifuge chain', nodeCentrifuge],
['edgeware node', nodeEdgeware],
['kilt node', nodeKilt],
['nodle chain node', nodeNodle]
// ['node template', emptyColor],
// ['parity polkadot', emptyColor],

View File

@ -18,6 +18,7 @@ import nodeEdgeware from './nodes/edgeware-circle.svg';
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 nodePolkadot from './nodes/polkadot-circle.svg';
import nodePolkadotJs from './nodes/polkadot-js.svg';
import nodeSubstrate from './nodes/substrate-hexagon.svg';
@ -51,6 +52,7 @@ const nodeLogos: Record<string, any> = [
['Encointer Node', nodeEncointerNotee],
['Encointer Node noTEE', nodeEncointerNotee],
['Encointer Node TEE proxy', nodeEncointerTeeproxy],
['KILT Node', nodeKilt],
['kulupu', nodeSubstrate],
['node-template', nodeSubstrate],
['Nodle Chain Node', nodeNodle],
@ -69,6 +71,7 @@ const namedLogos: Record<string, any> = {
centrifuge: nodeCentrifuge,
edgeware: nodeEdgeware,
empty: emptyLogo,
kilt: nodeKilt,
kusama: chainKusama,
nodle: nodeNodle,
polkadot: nodePolkadot,

View File

@ -0,0 +1 @@
<svg id="b631e469-f95c-435a-8050-4660d30e5f0d" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 425.2 425.2"><defs><style>.aedf393d-98cd-4c3e-bfeb-7ad28a890986{fill:#fff;}.f1301782-fcbe-49da-ad88-38f6e3df6fdb{fill:#8c175b;}.e18751f2-9f7c-4405-8ca8-b107ef34ab17{fill:#ea5b2a;}</style></defs><circle class="aedf393d-98cd-4c3e-bfeb-7ad28a890986" cx="212.6" cy="212.6" r="212.6"/><path class="f1301782-fcbe-49da-ad88-38f6e3df6fdb" d="M176.33,205.26s-33.92,35.63-24,46.47l74.39,82a3.89,3.89,0,0,0,2.89,1.28h55.65a3.92,3.92,0,0,0,2.9-6.54Z"/><path class="f1301782-fcbe-49da-ad88-38f6e3df6fdb" d="M248.87,219.9s33.92-35.62,24-46.46l-74.39-82a3.91,3.91,0,0,0-2.9-1.28H140a3.91,3.91,0,0,0-2.89,6.62Z"/><path class="e18751f2-9f7c-4405-8ca8-b107ef34ab17" d="M248.87,219.9s33.92-35.62,24-46.46c24.33,26.68,35.46,39.07,39.84,43.87a3.89,3.89,0,0,1,0,5.2L183.83,369.78a3.88,3.88,0,0,1-2.94,1.33H125.08a3.9,3.9,0,0,1-2.94-6.48Z"/><path class="e18751f2-9f7c-4405-8ca8-b107ef34ab17" d="M176.33,205.26s-33.92,35.63-24,46.47c-24.34-26.68-35.47-39.07-39.84-43.87a3.89,3.89,0,0,1,0-5.2l129-147.24a3.9,3.9,0,0,1,2.94-1.34h55.81a3.91,3.91,0,0,1,2.94,6.49Z"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -8,6 +8,7 @@
"rpc.header.dev": "Development",
"rpc.header.live": "Live networks",
"rpc.header.test": "Test networks",
"rpc.kilt": "KILT Protocol (KILT Mashnet, hosted by KILT Protocol)",
"rpc.kulupu": "Kulupu (Kulupu Mainnet, hosted by Kulupu)",
"rpc.kusama.ava": "Kusama (Polkadot Canary, user-run public nodes; see https://status.cloud.ava.do/)",
"rpc.kusama.parity": "Kusama (Polkadot Canary, hosted by Parity)",
@ -21,4 +22,4 @@
"ss58.kusama": "Kusama (canary)",
"ss58.polkadot": "Polkadot (live)",
"ss58.substrate": "Substrate (generic)"
}
}