We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 514a8bd + 3a9868f commit 105540dCopy full SHA for 105540d
package.json
@@ -83,4 +83,4 @@
83
"authereum/ethers/elliptic": "^6.5.3",
84
"@portis/web3/pocket-js-core/axios": "^0.21.1"
85
}
86
-}
+}
src/modules/select/wallets/wallet-connect.ts
@@ -53,6 +53,12 @@ function walletConnect(
53
54
const balanceProvider = createProvider({ rpcUrl })
55
56
+ if (infuraKey && rpc) {
57
+ throw new Error(
58
+ 'WalletConnect requires an Infura ID or a custom RPC object but not both.'
59
+ )
60
+ }
61
+
62
const provider = new WalletConnectProvider({
63
infuraId: infuraKey,
64
rpc,
0 commit comments