feat: add edgscan.ink explorer (#10186)

* add edgscan.ink explorer (1/5)

* add edgscan.ink explorer (2/5)

* add edgscan.ink explorer (3/5)

* add edgscan.ink explorer (4/5)

* add edgscan.ink explorer (5/5)

* typo fix
This commit is contained in:
Shankar D. Warang 2024-01-21 16:06:38 +05:30 committed by GitHub
parent cf65342433
commit 17396df781
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,25 @@
// Copyright 2017-2024 @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: (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
}
};

View File

@ -6,6 +6,7 @@ import type { ExternalDef } from './types.js';
import { CereStats } from './cerestats.js';
import { Commonwealth } from './commonwealth.js';
import { Dotreasury } from './dotreasury.js';
import { Edgscan } from './edgscan.js';
import { KodaDot } from './kodadot.js';
import { MoonbeamApps } from './moonbeamApps.js';
import { Polkaholic } from './polkaholic.js';
@ -21,6 +22,7 @@ export const externalLinks: Record<string, ExternalDef> = {
CereStats,
Commonwealth,
Dotreasury,
Edgscan,
KodaDot,
MoonbeamApps,
Polkaholic,

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,7 @@ export { externalCerestatsPNG } from './generated/cerestatsPNG.js';
export { externalCommonwealthPNG } from './generated/commonwealthPNG.js';
export { externalDotreasurySVG } from './generated/dotreasurySVG.js';
export { externalDotscannerPNG } from './generated/dotscannerPNG.js';
export { externalEdgscanPNG } from './generated/edgscanPNG.js';
export { externalEmptySVG } from './generated/emptySVG.js';
export { externalKodadotSVG } from './generated/kodadotSVG.js';
export { externalMoonbeamAppsSVG } from './generated/moonbeamAppsSVG.js';