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

Update gnosis chain rpc endpoint #125

Merged
merged 1 commit into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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