From 54329f1309724ec2a5edaefde78a361200166f2b Mon Sep 17 00:00:00 2001 From: Ramiro Vazquez Date: Thu, 16 Jun 2022 08:59:21 -0300 Subject: [PATCH] update gnosis chain rpc endpoint --- src/api/web3/index.ts | 2 +- src/utils/walletconnectOptions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/web3/index.ts b/src/api/web3/index.ts index b00edb381..4bd1b3ea7 100644 --- a/src/api/web3/index.ts +++ b/src/api/web3/index.ts @@ -90,7 +90,7 @@ export function getProviderByNetwork(networkId: Network | null): string | undefi case Network.RINKEBY: return infuraProvider(networkId) case Network.GNOSIS_CHAIN: - return 'https://dai.poa.network' + return 'https://rpc.gnosischain.com/' default: return undefined } diff --git a/src/utils/walletconnectOptions.ts b/src/utils/walletconnectOptions.ts index 948d5b545..e201ccb2b 100644 --- a/src/utils/walletconnectOptions.ts +++ b/src/utils/walletconnectOptions.ts @@ -13,7 +13,7 @@ export interface WCOptions { } const defaultRPC = { - [Network.GNOSIS_CHAIN]: 'https://rpc.xdaichain.com/', + [Network.GNOSIS_CHAIN]: 'https://rpc.gnosischain.com/', } export const setCustomWCOptions = (options: WCOptions): boolean => {