We use moralis to connect to the wallet, and once we connected to our wallet (MetaMask) through WalletConnect we got these errors in the console log. Thus we can not conduct any transactions.
- âAccess to XMLHttpRequest at âhttps://speedy-nodes-nyc.moralis.io/WalletConnect/avalanche/testnetâ 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.â
- âPOST https://speedy-nodes-nyc.moralis.io/WalletConnect/avalanche/testnet net::ERR_FAILEDâ
- âUncaught Error: PollingBlockTracker - encountered an error while attempting to update latest block:
undefined
at PollingBlockTracker._performSync (polling.js:51:1)â
We used these libraries -
âmoralisâ: â^1.3.2â,
âreact-moralisâ: â^1.3.1â,
âweb3â: â1.7.0â