Skip to content

Commit

Permalink
Create edgscan.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarWarang authored Nov 5, 2023
1 parent 34a4309 commit bf22a3a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/apps-config/src/links/edgscan.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { BN } from '@polkadot/util';

import { externalLogos } from '../ui/logos';

export default {
chains: {
Edgeware: 'edgeware'
},
create: (chain: string, path: string, data: BN | number | string): string =>
`https://edgscan.ink/${path}/${data.toString()}`,
isActive: true,
logo: externalLogos.edgscan as string,
paths: {
address: 'account',
block: 'block',
bounty: 'bounty',
council: 'council',
extrinsic: 'extrinsic',
proposal: 'democracy_proposal',
referendum: 'referenda',
tip: 'treasury_tip',
treasury: 'treasury',
validator: 'validator'
},
url: 'https://edgscan.ink/'
};

0 comments on commit bf22a3a

Please sign in to comment.