-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.ts
27 lines (24 loc) · 899 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
// overrides based on the actual software node type, valid values are one of -
// polkadot, substrate, beachball, robohash
export const identityNodes: Record<string, string> = [
['centrifuge chain', 'polkadot'],
['joystream-node', 'beachball'],
['parity-polkadot', 'polkadot']
].reduce((icons, [node, icon]): Record<string, string> => ({
...icons,
[node.toLowerCase().replace(/-/g, ' ')]: icon
}), {});
export const identitySpec: Record<string, string> = [
['kusama', 'polkadot'],
['polkadot', 'polkadot'],
['rococo', 'polkadot'],
['statemine', 'polkadot'],
['statemint', 'polkadot'],
['westend', 'polkadot'],
['westmint', 'polkadot']
].reduce((icons, [spec, icon]): Record<string, string> => ({
...icons,
[spec.toLowerCase().replace(/-/g, ' ')]: icon
}), {});