-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
cf65342
commit 17396df
Showing
5 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions
6
packages/apps-config/src/ui/logos/external/generated/edgscanPNG.ts
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters