From 4ac77a213619366b20c41a6265aa7f6f4d0cd1dd Mon Sep 17 00:00:00 2001 From: Bruce Riley Date: Thu, 26 Sep 2024 12:00:07 -0500 Subject: [PATCH] Add xLabs public RPC --- dashboard/src/contexts/NetworkContext.tsx | 7 +++++++ dashboard/src/utils/consts.ts | 1 + watcher/src/consts.ts | 1 + 3 files changed, 9 insertions(+) diff --git a/dashboard/src/contexts/NetworkContext.tsx b/dashboard/src/contexts/NetworkContext.tsx index 012b4d01..538c4693 100644 --- a/dashboard/src/contexts/NetworkContext.tsx +++ b/dashboard/src/contexts/NetworkContext.tsx @@ -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', diff --git a/dashboard/src/utils/consts.ts b/dashboard/src/utils/consts.ts index 73552d83..920ad9af 100644 --- a/dashboard/src/utils/consts.ts +++ b/dashboard/src/utils/consts.ts @@ -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 }>( diff --git a/watcher/src/consts.ts b/watcher/src/consts.ts index 38d47ba6..2b599616 100644 --- a/watcher/src/consts.ts +++ b/watcher/src/consts.ts @@ -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']: [],