Skip to content

Commit 5c32b42

Browse files
committed
Add xLabs public RPC
1 parent d090941 commit 5c32b42

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

dashboard/src/contexts/NetworkContext.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ export const networkOptions: Network[] = [
6262
logo: '',
6363
type: 'guardian',
6464
},
65+
{
66+
env: 'Mainnet',
67+
endpoint: 'https://guardian.mainnet.xlabs.xyz',
68+
name: 'xLabs',
69+
logo: '',
70+
type: 'guardian',
71+
},
6572
// not working as of 2023-11-07
6673
// {
6774
// env: 'Mainnet',

dashboard/src/utils/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const WORMHOLE_RPC_HOSTS = [
1212
'https://wormhole-v2-mainnet-api.mcf.rocks',
1313
'https://wormhole-v2-mainnet-api.chainlayer.network',
1414
'https://wormhole-v2-mainnet-api.staking.fund',
15+
'https://guardian.mainnet.xlabs.xyz',
1516
];
1617

1718
export const CHAIN_ICON_MAP: { [key: string]: string } = chainIds.reduce<{ [key: string]: string }>(

watcher/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ export const GUARDIAN_RPC_HOSTS: { [key in Network]: string[] } = {
179179
'https://wormhole-v2-mainnet-api.mcf.rocks',
180180
'https://wormhole-v2-mainnet-api.chainlayer.network',
181181
'https://wormhole-v2-mainnet-api.staking.fund',
182+
'https://guardian.mainnet.xlabs.xyz',
182183
],
183184
['Testnet']: ['https://api.testnet.wormholescan.io'],
184185
['Devnet']: [],

0 commit comments

Comments
 (0)