Add new chains for Sub.ID external link (#9540)

This commit is contained in:
Oleh Mell 2023-06-05 21:20:10 +03:00 committed by GitHub
parent c2945c1f2d
commit 2ad68d3ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,21 +8,33 @@ import { externalSubidSVG } from '../ui/logos/external/index.js';
export const SubId: ExternalDef = {
chains: {
Acala: 'acala',
Altair: 'altair',
Astar: 'astar',
Basilisk: 'basilisk',
Bifrost: 'bifrost',
Centrifuge: 'centrifuge',
'Centrifuge Mainnet': 'centrifuge',
ChainX: 'chainx',
'Composable Finance': 'composable',
Edgeware: 'edgeware',
HydraDX: 'hydradx',
Interlay: 'interlay',
InvArch: 'invarch',
'KILT Spiritnet': 'kilt',
Karura: 'karura',
Khala: 'khala',
Kusama: 'kusama',
Nodle: 'nodle',
Picasso: 'picasso',
'Pioneer Network': 'pioneer',
Polkadot: 'polkadot',
SORA: 'sora-substrate',
Shiden: 'shiden',
Statemine: 'statemine',
Subsocial: 'subsocial'
Statemint: 'statemint',
Subsocial: 'subsocial',
Zeitgeist: 'zeitgeist'
},
create: (_chain: string, _path: string, data: BN | number | string): string =>
`https://sub.id/${data.toString()}`,