IMPORTANT: Updated DotScanner URL scheme (#5807)

* Adding support for dotscanner.com

DotScanner doesnt support the hash lookup of a block (only number) - once thats supported I will open another PR to add block to the paths list in `dotscanner.ts`

* fixing import sorting on logos and links

for the linter

* updated dotscanner url scheme
This commit is contained in:
Dee Evans 2021-07-10 23:55:17 -06:00 committed by GitHub
parent 3aa6acb585
commit 33d5ee9f1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ export default {
Polkadot: 'polkadot'
},
create: (chain: string, path: string, data: BN | number | string): string =>
`https://dotscanner.com/${path}/${data.toString()}`,
`https://dotscanner.com/${chain}/${path}/${data.toString()}`,
isActive: true,
logo: externalLogos.dotscanner as string,
paths: {