* Update @subsocial/types * Add suport for subId externl link on accounts page * Revert "Change order" This reverts commit 2af96cc1153c07085ddc4b7d0cac94b2bf813b5a.
33 lines
794 B
TypeScript
33 lines
794 B
TypeScript
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type BN from 'bn.js';
|
|
|
|
import { externalLogos } from '../ui/logos';
|
|
|
|
export default {
|
|
chains: {
|
|
Altair: 'altair',
|
|
Bifrost: 'bifrost',
|
|
'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: true,
|
|
logo: externalLogos.subid as string,
|
|
paths: {
|
|
address: 'account'
|
|
},
|
|
url: 'https://sub.id'
|
|
};
|