Skip to content

Commit

Permalink
common: add snaxchain explorer info
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Aug 20, 2024
1 parent b5b6f43 commit 33b20e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/src/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ export const explorerBlock = (network: Network, chainId: ChainId, block: string)
? `https://lineascan.build/block/${block}`
: chainId === chainToChainId('Berachain')
? `https://beratrail.io/block/${block}`
: chainId === chainToChainId('Snaxchain')
? `https://snaxchain.io/${block}`
: chainId === chainToChainId('Wormchain')
? `https://bigdipper.live/wormhole/blocks/${block}`
: ''
Expand Down Expand Up @@ -195,6 +197,8 @@ export const explorerTx = (network: Network, chainId: ChainId, tx: string) =>
? `https://lineascan.build/tx/${tx}`
: chainId === chainToChainId('Berachain')
? `https://bartio.beratrail.io/tx/${tx}`
: chainId === chainToChainId('Snaxchain')
? `https://snaxchain.io/tx/${tx}`
: chainId === chainToChainId('Wormchain')
? `https://bigdipper.live/wormhole/transactions/${tx}`
: ''
Expand Down

0 comments on commit 33b20e1

Please sign in to comment.