Skip to content

Commit

Permalink
Add xLabs public RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Sep 26, 2024
1 parent d090941 commit 5c32b42
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dashboard/src/contexts/NetworkContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ export const networkOptions: Network[] = [
logo: '',
type: 'guardian',
},
{
env: 'Mainnet',
endpoint: 'https://guardian.mainnet.xlabs.xyz',
name: 'xLabs',
logo: '',
type: 'guardian',
},
// not working as of 2023-11-07
// {
// env: 'Mainnet',
Expand Down
1 change: 1 addition & 0 deletions dashboard/src/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const WORMHOLE_RPC_HOSTS = [
'https://wormhole-v2-mainnet-api.mcf.rocks',
'https://wormhole-v2-mainnet-api.chainlayer.network',
'https://wormhole-v2-mainnet-api.staking.fund',
'https://guardian.mainnet.xlabs.xyz',
];

export const CHAIN_ICON_MAP: { [key: string]: string } = chainIds.reduce<{ [key: string]: string }>(
Expand Down
1 change: 1 addition & 0 deletions watcher/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export const GUARDIAN_RPC_HOSTS: { [key in Network]: string[] } = {
'https://wormhole-v2-mainnet-api.mcf.rocks',
'https://wormhole-v2-mainnet-api.chainlayer.network',
'https://wormhole-v2-mainnet-api.staking.fund',
'https://guardian.mainnet.xlabs.xyz',
],
['Testnet']: ['https://api.testnet.wormholescan.io'],
['Devnet']: [],
Expand Down

0 comments on commit 5c32b42

Please sign in to comment.