This is the error I get when accessing the website through local host on an incognito window (without metamask).
Access to XMLHttpRequest at 'https://speedy-nodes-nyc.moralis.io/WalletConnect/bsc/mainnet' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
In the code I am using as a provider wallet connect. This is an excerpt on the code in the Account.jsx component of the boilerplate template:
if (!isAuthenticated) {
return (
<div style={styles.account} onClick={() => authenticate({ provider: 'walletconnect', chainId:56, signingMessage: "Hello World!" })}>
<p style={styles.text}>Authenticate</p>
</div>
);
}
Also it give me a rates exceeded problem, which is not present when I use the default metamask provider alone