reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.94k stars 1.41k forks source link

[bug] Appkit calls a lot of request to The Blockchain API on zkSync causing The 429 error with too many requests. #3294

Open ZkSwapFinance opened 22 hours ago

ZkSwapFinance commented 22 hours ago

Link to minimal reproducible example

https://www.zkswap.finance

Summary

Dear Reown Team,

Our dApp has been using Web3Modal (AppKit) with Next.js for a long time without any issues. However, today we encountered a problem: the "429 Too Many Requests" error.

We are using the ZKSync Era RPC, but we’re unsure why there are so many requests being sent to the Blockchain API from https://rpc.walletconnect.org/v1/?chainId=eip155%3A324&projectId=80f7c0bfe8da536240a51fe4df7277fc

The number of requests from our website has reached 7.1M, which led to WalletConnect blocking our dApp.

Could you help us understand why this is happening and how we can resolve it? Specifically, we would like to know how to disable the Blockchain API so the dApp returns to normal. Is this an issue with our integration, or is it a bug on WalletConnect's side?

Thank you for your help!

Website: https://www.zkswap.finance/swap

List of related npm package versions

Version 1.1.2

ionmig commented 19 hours ago

Hi,

we have exactly the same issue since 2 days on base chain, tried to update packages to latest versions, no success. Was working properly over the past 3 months.

also;

https://rpc.walletconnect.org/v1/?chainId=eip155%3A8453&projectId=XXX

note; The issue doesnt happen if you run the dapp on localhost, since localhost is always allowed under domains, i expect the issue is on the domain verification somehow.

ZkSwapFinance commented 18 hours ago

Hi,

we have exactly the same issue since 2 days on base chain, tried to update packages to latest versions, no success. Was working properly over the past 3 months.

also;

  • removed and reauthenticated domains on dashboard
  • tried to verify with txt file on well-known
  • used older packages to bypass "@reown/appkit": "^1.5.0", "@reown/appkit-adapter-wagmi": "^1.5.0", "@reown/appkit-siwe": "^1.5.0", "viem": "^2.21.48", "wagmi": "^2.13.0"

https://rpc.walletconnect.org/v1/?chainId=eip155%3A8453&projectId=XXX

note; The issue doesnt happen if you run the dapp on localhost, since localhost is always allowed under domains, i expect the issue is on the domain verification somehow.

Hi,

Thank you for sharing your experience—it’s reassuring to know we’re not alone in facing this issue.

Let’s wait for Reown to address this bug or determine whether the root cause lies with us or Appkit.