Walletconnect RPC rate limit exceeded

There is an outstanding issue with Walletconnect. This might be related to this issue here.

To reproduce:

Connect using Walletconnect. After some time you will notice requests to the RPC node (https://speedy-nodes-nyc.moralis.io/WalletConnect/bsc/testnet) being rejected because of too many calls. The error will appear as CORS error.

There must be a way to decrease the interval of RPC hits using web3-provider.js
Moralis SDK should accept a property for this or by default use a lower call rate.

Currently Walletconnect is unusable.

Cheers

Maybe this helps you:

Unfortunately no, it was discussed here on Discord as well.

I think the latest https://www.npmjs.com/package/@walletconnect/web3-provider/v/1.8.0-rc.0 fixed it. We are not experiencing RPC limits anymore.

1 Like

*walletconntectweb3provider = WC3P
Yeah it’s working better than the previous files.
I’m using vanilla js - so just copied the code from node modules folder and saved in wc.js file.

But - when lets say you call a function which fails 2-3 times, you start getting the CORS error again.
I’m not sure if this issue will happen even if there are consecutive successful function calls.

Plus, the other issue is - even when we Moralis.logout() - the WC3P still keeps sending requests to Moralis server - which might be making things harder when it comes to API calls.

For those wondering how to do this (copying over from node_modules):