I did some more digging and itâs definitely related to the moralis RPC endpoint. Using an Infura ID works:
WalletConnectWeb3Connector.js #169:
if (typeof WalletConnectProvider === 'function') {
///this.provider = new WalletConnectProvider(config);
new WalletConnectProvider({
infuraId: "xxxxxxxxxxxxxxxxx",
});
}
Still getting heaps of issues with WC, trying to buy an NFT results in revert âyou cannot buy from yourselfâ hahaha. Terrible WC, has been from the start. (see Signer issues when using Wallet Connect or Magic Link together with MetaMask)
But letâs start by fixing the RPC endpoint issue.
I get a similar CORS error by the way if I use an invalid infura key, so itâs probably related to auth and not to actual CORS.