forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
23 lines (18 loc) · 726 Bytes
/
Copy pathindex.ts
File metadata and controls
23 lines (18 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2017-2023 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
import cere from './cere.js';
import kilt from './kilt.js';
if (!kilt) {
throw new Error('Unable to retrieve kilt');
}
// NOTE: The mapping is done from chain name in system.chain
const chain: Record<string, OverrideBundleDefinition> = {
'Cere Mainnet Beta': cere,
'KILT Mashnet': kilt['KILT Mashnet'],
'KILT Peregrine': kilt['KILT Peregrine'],
'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'],
'KILT Spiritnet': kilt['KILT Spiritnet'],
'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop']
};
export default chain;