Questions tagged [web3modal]
35 questions
5
votes
2 answers
ethers web3Modal Property 'providers' does not exist on type 'typeof import(...)'
I am trying to add web3 wallet connect button onto my webpage but I am getting this error and I am not able to resolve it since a long time. It is a nextjs react application.
const InvitesPage: NextPage = () => {
let web3Modal: any;
useEffect(()…

encrypted_soul
- 51
- 1
- 5
3
votes
0 answers
Web3 Modal Standalone and Sign Client Getting Error After Scan Wallet Connect QR code "Error: No matching key. pairing: undefined"
I've written very basic code to connect Ethereum Mainnet with Web3modal Standalone client after scan QR code getting below SS error.
I've also followed this blog…

Mitul Lakhani
- 182
- 1
- 12
2
votes
0 answers
Wallet Connect is not working on mobile by using web3modal
gentlemen.
I am developing the web game on "Cronos" Chain and I have the issues in wallet connecting.
It is working on PC without no errors, but on mobile it is not working, also without presenting any errors.
Please let me what I made mistake on…

Ksan Araki
- 108
- 1
- 6
1
vote
1 answer
Web3Modal connectors issue with typescript
My Dapp is on typescript using web3modal for react wagmi, and after upgrading my apps to latest web3modal, I'm getting connector issues. I'm attaching code, error and packages used accordingly.
import {
EthereumClient,
w3mConnectors,
…

Shahzaib Ayyub
- 96
- 9
1
vote
0 answers
Walletconnect suddenly stopped working, infinite loading
I've a website that has been deployed for weeks and it was working fine, I didn't even touch the code and it's now not working. Even on the WalletConnect website, their "connect wallet" buttons are not working.
But I've Checked other websites, and…

Sammy Mishal
- 61
- 2
- 5
1
vote
3 answers
WagamiConfig Component Cannot read properties of undefined (reading 'queryClient')
I have been trying to add web3modal to my react app however there is an error while running the app in the browser.
import { Web3Modal } from '@web3modal/react'
import { configureChains, createConfig, WagmiConfig } from 'wagmi'
import {…

janek lebor
- 41
- 3
1
vote
0 answers
WalletConnect and Wagmi drops session on update
I try to add a "Connect Wallet" button to my dApp using WalletConnect's Web3Modal and Wagmi, but when I refresh the page the session is dropped and I need to login again. If I check any of the Web3Modal examples the wallet stays connected on…

zackwbishop
- 11
- 2
1
vote
0 answers
Hook a process to walletConnect
I've just started to use walletConnect web3Modal to handle my clients' ethereum wallet connections. Out authentication process is something like this:
User connects his / her wallet to app
Once the wallet is connected, A request will be sent to…

FaSh
- 99
- 8
1
vote
0 answers
connect dapp with walletconnect to trust wallet
I use this code to connect to trustwallet:
https://docs.walletconnect.org/quick-start/dapps/client
This is my code:
const Web3Modal = window.Web3Modal.default;
const WalletConnectProvider = window.WalletConnectProvider.default;
const Fortmatic…

user2950593
- 9,233
- 15
- 67
- 131
1
vote
2 answers
connect to trustwallet and get bsc, eth, btc addresses and balances
right now I use this code:
https://github.com/Web3Modal/web3modal-vanilla-js-example
but it connects only eth address from trust wallet
I tried to change provider options to this:
const providerOptions = {
walletconnect: {
package:…

user2950593
- 9,233
- 15
- 67
- 131
0
votes
0 answers
How to transfer USDT BEP-20 token to another account, smart contract deployed on binance smart chain
I am developing a DAPP(Decentralized Application) using html, vanilla javascript(module system) for the frontend with
these packages-
PACKAGES
@wagmi/core
@walletconnect/ethereum-provider
@walletconnect/modal
@web3modal/html
ethers
viem
PACKAGE…

Roy_In
- 11
- 4
0
votes
1 answer
a working example of web3modal with typescript 5
I wanted to play around with web3modal (walletconnect) in typescript.
I followed the official guide, but was unable to finish my setup due to dependency problems
to reproduce simply run the following:
npx create-react-app web3modal --template…

Radek Domański
- 3
- 3
0
votes
1 answer
Sign metamask message using web3modal v2 -- Angular
Now that walletconnect v2 has been launched, we must upgrade.
What is the new method to sign message and get provider?
In version 1 I was using:
this.web3Modal.clearCachedProvider();
this.provider = await this.web3Modal.connect(); // set…

It's Bender
- 3
- 2
0
votes
0 answers
TypeError: _web3modal_standalone__WEBPACK_IMPORTED_MODULE_5__.default is not a constructor
useEffect(() => {
if (!walletConnected) {
Web3ModalRef.current = new Web3Modal({
network: "goerli",
providerOptions: {},
disableInjectedProvider: false,
});
connectWallet();
}
}, [walletConnected]);
I've tried…
0
votes
1 answer
How to make coinbase wallet mobile deeplink work
I am building a web3 app where I have added support for metamask and coinbase wallet using web3modal package. The setup looks something like this:
Configure providers
import CoinbaseWalletSDK from "@coinbase/wallet-sdk";
export const…

samman adhikari
- 571
- 1
- 7
- 17