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.