on-internet
← Community

Wallet Connect: No RPC Url available for chainId: 137

Stack Overflow ·

I am trying to create a WalletConnect provider. I am using the @walletconnect/web3-provider package along with Web3Modal for UI. I am instantiating the WalletConnectProvider using my Infura client ID let web3Modal = new Web3Modal({ network: "matic", cacheProvider: true, providerOptions: { walletconnect: { package: WalletConnectProvider, options: { infuraId: "c22c90a767684c5fbd7257da57802b35" , }, }, }, }); web3Modal.clearCachedProvider(); await web3Modal.connect(); When I run my app and connect my wallet, I get the following error: Error: No RPC Url available for chainId: 137 I am trying to co

Comments

Sign in or sign up to comment and upvote.

No comments yet.