diff --git a/src/cosmos/useProvider.ts b/src/cosmos/useProvider.ts index 526a8bb02..0be0d6655 100644 --- a/src/cosmos/useProvider.ts +++ b/src/cosmos/useProvider.ts @@ -26,6 +26,7 @@ const [walletConnect] = initializeConnector( })), 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'], diff --git a/src/hooks/web3/index.tsx b/src/hooks/web3/index.tsx index dd8b846fd..7b6375c96 100644 --- a/src/hooks/web3/index.tsx +++ b/src/hooks/web3/index.tsx @@ -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'],