Skip to content

Commit 7017920

Browse files
committed
feat: add zklink explorer links to recognize proxies
1 parent bfd4423 commit 7017920

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

apps/tx-builder/src/lib/getAbi.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ export enum SUPPORTED_CHAINS {
8282
VELAS = '106',
8383
VELAS_TESTNET = '111',
8484
ZETACHAIN_TESTNET = '7001',
85+
ZKLINK_NOVA = '810180',
86+
ZKLINK_NOVA_GOERLI = '810182',
8587
ZKSYNC_ERA = '324',
8688
ZKSYNC_ERA_TESTNET = '280',
8789
}
@@ -249,6 +251,14 @@ const getScanAPIBaseURL = (chain: string): undefined | { link: string; apiKey?:
249251
return {
250252
link: 'https://explorer.testnet.immutable.com',
251253
}
254+
case SUPPORTED_CHAINS.ZKLINK_NOVA_GOERLI:
255+
return {
256+
link: 'https://goerli.explorer-api.zklink.io',
257+
}
258+
case SUPPORTED_CHAINS.ZKLINK_NOVA:
259+
return {
260+
link: 'https://explorer-api.zklink.io',
261+
}
252262
default:
253263
return
254264
}

0 commit comments

Comments
 (0)