web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

Allow to skip rpc calls for balance / ens (v3-4)

Open iuriiiurevich opened this issue 1 year ago • 2 comments

What problem does this new feature solve?

In v2 there was the enableAccountView config option which could be set to false to prevent ens/balance calls from being made when a wallet is connected if there was no need for them (e.g. the Account view is not intended to be shown)

The problem is described in detail here: https://github.com/WalletConnect/web3modal/issues/824

Describe the solution you'd like

A similar flag will do

iuriiiurevich avatar Feb 08 '24 18:02 iuriiiurevich

If you're still experiencing this issue please create a new one as we have integrated a new ticketing system, thanks!

glitch-txs avatar Jun 06 '24 07:06 glitch-txs

@glitch-txs Hello, I'm following up on this currently closed issue. I can't find any reliable solution. I understand it used to exist, but not anymore, right?

I'm persisting the connection in my cookies as explained in the Next.js implementation of your doc. Once it fetches the stored user, it also fetches the user's ENS name and throws an error in the console when the user does not own one.

Is there a way to prevent this?

Let me know if you need me to provide more information or a different approach.

image

cc @iuriiiurevich

Victor-Salomon avatar Jul 17 '24 08:07 Victor-Salomon

this is not longer an issue. Please update to latest.

rtomas avatar Dec 11 '24 14:12 rtomas