Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JFrankfurt committed Jul 7, 2023
1 parent be86505 commit 5a3b732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cosmos/useProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const [walletConnect] = initializeConnector<WalletConnect>(
})),
showQrModal: true,
projectId: WALLET_CONNECT_PROJECT_ID,
// this requires the connecting wallet to support eth mainnet
chains: [SupportedChainId.MAINNET],
optionalChains: [...L1_CHAIN_IDS, ...L2_CHAIN_IDS],
optionalMethods: ['eth_signTypedData', 'eth_signTypedData_v4', 'eth_sign'],
Expand Down
1 change: 1 addition & 0 deletions src/hooks/web3/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ function useWeb3ReactConnectors({ defaultChainId, provider, jsonRpcUrlMap }: Pro
() => ({
rpcMap: urlMap,
projectId: 'c6c9bacd35afa3eb9e6cccf6d8464395',
// this requires the connecting wallet to support eth mainnet
chains: [SupportedChainId.MAINNET],
optionalChains: [...L1_CHAIN_IDS, ...L2_CHAIN_IDS],
optionalMethods: ['eth_signTypedData', 'eth_signTypedData_v4', 'eth_sign'],
Expand Down

0 comments on commit 5a3b732

Please sign in to comment.