Skip to content

Commit

Permalink
feat: adding blockExplorerUrl override for zora testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
JadenDurnford committed Nov 30, 2023
1 parent bf50660 commit 3359a26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ui/src/lib/getChainBlockExplorerUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const getChainBlockExplorerUrl = (chainId: number) => {
...customChains,
}).find(({ id }) => id === chainId)

if (chainId === 999) {
return allChains.zoraTestnet.blockExplorers.default.url
}

return wagmiChain?.blockExplorers?.default?.url || 'https://etherscan.io'
}

Expand Down

0 comments on commit 3359a26

Please sign in to comment.