forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubid.ts
33 lines (30 loc) · 889 Bytes
/
subid.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
28
29
30
31
32
33
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';
export default {
chains: {
Altair: 'altair',
Bifrost: 'bifrost',
Centrifuge: 'centrifuge',
'Centrifuge Mainnet': 'centrifuge',
ChainX: 'chainx',
Edgeware: 'edgeware',
Karura: 'karura',
Khala: 'khala',
Kusama: 'kusama',
Polkadot: 'polkadot',
SORA: 'sora-substrate',
Shiden: 'shiden',
Statemine: 'statemine',
Subsocial: 'subsocial'
},
create: (_chain: string, _path: string, data: BN | number | string): string =>
`https://sub.id/#/${data.toString()}`,
isActive: false, // /~https://github.com/polkadot-js/apps/issues/7485
logo: externalLogos.subid as string,
paths: {
address: 'account'
},
url: 'https://sub.id'
};