diff --git a/common/src/consts.ts b/common/src/consts.ts index 5c3c0211..b93eb553 100644 --- a/common/src/consts.ts +++ b/common/src/consts.ts @@ -49,6 +49,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: NetworkChainBlockMap Blast: '2375628', Sei: '238594', Wormchain: '4510119', // https://bigdipper.live/wormhole/transactions/4D861F1BE86325D227FA006CA2745BBC6748AF5B5E0811DE536D02792928472A }, + Snaxchain: '306315', }, ['Testnet']: { Ethereum: '0', diff --git a/common/src/explorer.ts b/common/src/explorer.ts index dc33233a..1f5c6739 100644 --- a/common/src/explorer.ts +++ b/common/src/explorer.ts @@ -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}` : '' @@ -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}` : '' diff --git a/watcher/src/consts.ts b/watcher/src/consts.ts index a16e9b84..38d47ba6 100644 --- a/watcher/src/consts.ts +++ b/watcher/src/consts.ts @@ -62,6 +62,7 @@ export const RPCS_BY_CHAIN: { [key in Network]: { [key in Chain]?: string } } = Sei: process.env.SEI_RPC || 'https://sei-rest.brocha.in', // https://docs.sei.io/develop/resources Wormchain: process.env.WORMCHAIN_RPC || 'https://wormchain-rpc.quickapi.com', Xlayer: process.env.XLAYER_RPC || 'https://rpc.ankr.com/xlayer', + Snaxchain: process.env.SNAXCHAIN_RPC || 'https://snaxchain.io', }, ['Testnet']: { Ethereum: process.env.ETH_RPC, diff --git a/watcher/src/index.ts b/watcher/src/index.ts index 9255e3a1..25f1aef0 100644 --- a/watcher/src/index.ts +++ b/watcher/src/index.ts @@ -84,6 +84,7 @@ const supportedChains: Chain[] = 'Mantle', 'Blast', 'Xlayer', + 'Snaxchain', 'Wormchain', ];