Skip to content

Commit bd0aac0

Browse files
panoelevan-gray
authored andcommitted
watcher: add xLayer to mainnet
1 parent bf1459b commit bd0aac0

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

common/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export const TOKEN_BRIDGE_EMITTERS: { [key in Chain]?: string } = {
120120
Base: '0000000000000000000000008d2de8d2f73f1f4cab472ac9a881c9b123c79627',
121121
Scroll: '00000000000000000000000024850c6f61C438823F01B7A3BF2B89B72174Fa9d',
122122
Blast: '00000000000000000000000024850c6f61C438823F01B7A3BF2B89B72174Fa9d',
123+
Xlayer: '0000000000000000000000005537857664B0f9eFe38C9f320F75fEf23234D904',
123124
Sei: '86c5fd957e2db8389553e1728f9c27964b22a8154091ccba54d75f4b10c61f5e',
124125
Wormchain: 'aeb534c45c3049d380b9d9b966f9895f53abd4301bfaff407fa09dea8ae7a924',
125126
};

watcher/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export const RPCS_BY_CHAIN: { [key in Network]: { [key in Chain]?: string } } =
6060
Blast: process.env.BLAST_RPC || 'https://rpc.ankr.com/blast',
6161
Sei: process.env.SEI_RPC || 'https://sei-rest.brocha.in', // https://docs.sei.io/develop/resources
6262
Wormchain: process.env.WORMCHAIN_RPC || 'https://wormchain-rpc.quickapi.com',
63+
Xlayer: process.env.XLAYER_RPC || 'https://rpc.ankr.com/xlayer',
6364
},
6465
['Testnet']: {
6566
Ethereum: process.env.ETH_RPC,

watcher/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const supportedChains: Chain[] =
8181
'Sei',
8282
'Scroll',
8383
'Blast',
84+
'Xlayer',
8485
'Wormchain',
8586
];
8687

watcher/src/watchers/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export function makeFinalizedWatcher(network: Network, chainName: Chain): Watche
3535
chainName === 'Optimism' ||
3636
chainName === 'Scroll' ||
3737
chainName === 'Blast' ||
38+
chainName === 'Xlayer' ||
3839
chainName === 'Base'
3940
) {
4041
return new EVMWatcher(network, chainName);

0 commit comments

Comments
 (0)