* feat: add KILT subscan endpoints * fix: theme for KILT Peregrine * feat: add KILT Peregrine endpoint to testing * fix: remove Subscan Peregrine redundancy
49 lines
1.3 KiB
TypeScript
49 lines
1.3 KiB
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: {
|
|
'Acala Mandala TC5': 'acala-testnet',
|
|
'Bifrost Asgard Nightly': 'bifrost',
|
|
'Centrifuge Mainnet': 'centrifuge',
|
|
ChainX: 'chainx',
|
|
'Crust Maxwell': 'crust',
|
|
'Darwinia CC1': 'darwinia-cc1',
|
|
'Darwinia Crab': 'crab',
|
|
Edgeware: 'edgeware',
|
|
Equilibrium: 'equilibrium',
|
|
'KILT Peregrine': 'kilt-testnet',
|
|
'KILT Spiritnet': 'spiritnet',
|
|
Karura: 'karura',
|
|
Kulupu: 'kulupu',
|
|
Kusama: 'kusama',
|
|
'Laminar Turbulence TC2': 'laminar-testnet',
|
|
'Phala PoC-4': 'phala',
|
|
Plasm: 'plasm',
|
|
Polkadot: 'polkadot',
|
|
Rococo: 'rococo',
|
|
Shiden: 'shiden',
|
|
Stafi: 'stafi',
|
|
Westend: 'westend'
|
|
},
|
|
create: (chain: string, path: string, data: BN | number | string): string =>
|
|
`https://${chain}.subscan.io/${path}/${data.toString()}`,
|
|
isActive: true,
|
|
logo: externalLogos.subscan as string,
|
|
paths: {
|
|
address: 'account',
|
|
block: 'block',
|
|
council: 'council',
|
|
extrinsic: 'extrinsic',
|
|
proposal: 'democracy_proposal',
|
|
referendum: 'referenda',
|
|
techcomm: 'tech',
|
|
treasury: 'treasury'
|
|
},
|
|
url: 'https://subscan.io/'
|
|
};
|