diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 24cb54c86b..7e24edb87c 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -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 diff --git a/packages/apps-config/src/api/spec/kilt.ts b/packages/apps-config/src/api/spec/kilt.ts new file mode 100644 index 0000000000..93034d8503 --- /dev/null +++ b/packages/apps-config/src/api/spec/kilt.ts @@ -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' +}; diff --git a/packages/apps-config/src/settings/endpoints.ts b/packages/apps-config/src/settings/endpoints.ts index 6300ab91ac..f965bd9898 100644 --- a/packages/apps-config/src/settings/endpoints.ts +++ b/packages/apps-config/src/settings/endpoints.ts @@ -170,6 +170,11 @@ function createTest (t: TFunction): LinkOption[] { info: 'acala', text: t('rpc.mandala', 'Mandala (Acala Testnet, hosted by Acala)', { ns: 'apps-config' }), value: 'wss://node-6684611762228215808.jm.onfinality.io/ws' + }, + { + info: 'kilt', + text: t('rpc.kilt', 'Mashnet (KILT Canary, hosted by KILT Protocol)', { ns: 'apps-config' }), + value: 'wss://full-nodes.kilt.io:9944/' } ]; } diff --git a/packages/apps-config/src/ui/general/index.ts b/packages/apps-config/src/ui/general/index.ts index 20d0d1a9ee..32467476c4 100644 --- a/packages/apps-config/src/ui/general/index.ts +++ b/packages/apps-config/src/ui/general/index.ts @@ -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 = [ @@ -41,6 +42,7 @@ const chainColors: Record = [ const nodeColors: Record = [ ['centrifuge chain', nodeCentrifuge], ['edgeware node', nodeEdgeware], + ['kilt node', nodeKilt], ['nodle chain node', nodeNodle] // ['node template', emptyColor], // ['parity polkadot', emptyColor], diff --git a/packages/apps-config/src/ui/logos/index.ts b/packages/apps-config/src/ui/logos/index.ts index deec072e50..67d9be5f4e 100644 --- a/packages/apps-config/src/ui/logos/index.ts +++ b/packages/apps-config/src/ui/logos/index.ts @@ -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 = [ ['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 = { centrifuge: nodeCentrifuge, edgeware: nodeEdgeware, empty: emptyLogo, + kilt: nodeKilt, kusama: chainKusama, nodle: nodeNodle, polkadot: nodePolkadot, diff --git a/packages/apps-config/src/ui/logos/nodes/kilt.svg b/packages/apps-config/src/ui/logos/nodes/kilt.svg new file mode 100644 index 0000000000..193340d0a4 --- /dev/null +++ b/packages/apps-config/src/ui/logos/nodes/kilt.svg @@ -0,0 +1 @@ + diff --git a/packages/apps/public/locales/en/apps-config.json b/packages/apps/public/locales/en/apps-config.json index 055e94b4ce..36b30dd138 100644 --- a/packages/apps/public/locales/en/apps-config.json +++ b/packages/apps/public/locales/en/apps-config.json @@ -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)" -} \ No newline at end of file +}