ghost-portal/packages/apps-config/src/links/edgscan.ts
Tarik Gul 384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00

26 lines
671 B
TypeScript

// Copyright 2017-2025 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@polkadot/util';
import type { ExternalDef } from './types.js';
import { externalEdgscanPNG } from '../ui/logos/external/index.js';
export const Edgscan: ExternalDef = {
chains: {
Edgeware: 'edgeware'
},
create: (_chain: string, path: string, data: BN | number | string): string =>
`https://edgscan.ink/#/${path}/${data.toString()}`,
homepage: 'https://edgscan.ink/',
isActive: true,
paths: {
address: 'accounts',
block: 'blocks',
extrinsic: 'extrinsics'
},
ui: {
logo: externalEdgscanPNG
}
};