Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
update gnosis chain rpc endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirotw committed Jun 16, 2022
1 parent c28970e commit 54329f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/web3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/walletconnectOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 54329f1

Please sign in to comment.