Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add snaxchain to mainnet #357

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
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
1 change: 1 addition & 0 deletions watcher/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions watcher/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const supportedChains: Chain[] =
'Mantle',
'Blast',
'Xlayer',
'Snaxchain',
'Wormchain',
];

Expand Down
Loading