Skip to main content
14 votes
Accepted

Connecting the wallet of to your dApp and different Ethereum wallet types

There are five categories of Ethereum wallets that can interact with dApps Browser built-in (Opera, Brave, ...) Browser extension (MetaMask, ...) Mobile wallets (Trust, Walleth, Pillar, ...) Account-...
Mikko Ohtamaa's user avatar
11 votes

What happens when you connect wallet to website?

Connecting your wallet doesn't really do much: it doesn't send any transactions. About all it does it gives your wallet's public address to the website and the possibility for the website to request ...
Lauri Peltonen's user avatar
5 votes

How to get chainId currently selected in walletconnect?

Check web3.eth.getChainId(). You find the documentation here: https://web3js.readthedocs.io/en/v1.2.4/web3-eth.html#getchainid Also there is an EIP-1193 event in WalletConnect that tells you when the ...
Mikko Ohtamaa's user avatar
4 votes
Accepted

Can I implement WalletConnect with vanilla javascript?

Yes - this is possible, but you need the full packaged suite of JS that it depends on. Unpkg makes this available, and you can use a Web3 wrapper so that it can be tidily manipulated in vanilla JS. ...
Kaiesh's user avatar
  • 181
4 votes
Accepted

web3.eth.personal.sign with WalletConnect and Gnosis Safe

As the Safe is a smart contract based wallet you will not get a ECDSA signature that can be recovered to a Safe address. The Safe uses EIP-1271 to support message signing. In the current ...
Richard's user avatar
  • 5,024
3 votes

What happens when you connect wallet to website?

Just adding a bit more caution to the accepted answer: As per Metamask, connecting your wallet allows the following: | See address, account balance, activity and suggest transactions to approve ...
Janac Meena's user avatar
3 votes

What happens when you connect wallet to website?

Here is official answer: https://docs.metamask.io/guide/getting-started.html#connecting-to-metamask Very sample: just allow website to read your wallet address no transaction, no risk (like tell a ...
Robin's user avatar
  • 131
3 votes
Accepted

Issue about connecting with WalletConnect by using the example of Web3Modal

I discovered the same issue. It's a known bug in web3.js v1.3.0 that was brought in this PR: #3649. In this comment someone explains it in more detail. There is an ongoing PR here that will fix it, so ...
SebSob's user avatar
  • 146
3 votes

Connecting multiple wallets to Dapp

Web3Modal A single Web3 / Ethereum provider solution for all Wallets https://www.npmjs.com/package/web3modal https://github.com/web3modal/web3modal
John Charlie's user avatar
3 votes
Accepted

Using personal_sign with WalletConnect and Gnosis Safe

If safeProxyContract.isValidSignature(msgHash, signature) (See CompatibilityFallbackHandler.sol#L66) returns the EIP1271 magic value, then the message with the msgHash is signed. If it doesn't, then ...
Sebastian T F's user avatar
3 votes

Argument of type 'WalletConnectProvider' is not assignable to parameter of type 'provider'

This issue is due to typescripts typechecking, one hack to bypass it is to typecast provder as <any>provider in this.web3 = new Web3(<any>provider)
dev_rish's user avatar
3 votes

How to fetch list of erc20 tokens the user have?

I once used Covalent hq to develop a portfolio and show the users all their tokens with balances and details. It's easy to use and they have a lot of endpoints that you can try. You just need to get ...
Jeremy Then's user avatar
  • 4,619
3 votes

How to fetch list of erc20 tokens the user have?

We published an article exactly about this a few weeks ago in the Chaintack blog. It explains how to query the balance of all ERC20 tokens from multiple blockchains, at any given date. In summary, you ...
Antonio U's user avatar
  • 649
3 votes

How to get receipt in wagmi / viem for a transaction issued with Safe on walletconnect?

While this problem must be addressed on the connected library's side (eg inside a viem walletClient and transparently passed through to the public client's interface), we decided to build a package ...
elmariachi's user avatar
2 votes

I know my mnemonic phrase but #walletconnect has me stuck on "convert" page. I need help!

You can use the MyCrypto Desktop application to access with your secret recovery phrase (mnemonic). Be careful about where you type in your phrase online - as you may be getting scammed!
MyCryptoChris's user avatar
2 votes

Using personal_sign with WalletConnect and Gnosis Safe

As the Safe is a contract based wallet it does not generate a normal signature. The WalletConnect Safe App uses EIP-1271 to return a signature. The returned signature can then be checked against the ...
Richard's user avatar
  • 5,024
2 votes
Accepted

moralis connect walletconnect TypeError: Cannot read properties of undefined (reading 'importKey')

For my answer it problem from url address. in my local set virtual host blockee.test, so i try many times i found the answer at http://localhost My answer is user http://localhost or localhost:[port] ...
story ks's user avatar
  • 176
2 votes

How to fetch list of erc20 tokens the user have?

The only way to fetch erc20 tokens an user is having is to search the whole blockchain, which is alot of data. However, recently I made a similar project and I found this article very helpful. You can ...
Ad-h0c's user avatar
  • 978
2 votes
Accepted

How can I connect to metamask in pyscript?

From the error I understood that the way how I am passing arg was wrong. here is the full code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&...
Yilmaz's user avatar
  • 1,705
2 votes

Connecting to MetaMask wallet via WalletConnect Web3Modal V2 from mobile browser does not give connect prompt in metamask app

You are expecting your Mobile Metamask app to pop up like on your desktop computer browser. This will not work. This is why there is an internal browser in the mobile version of Metamask. The work ...
MadeInDreams's user avatar
  • 1,575
2 votes
Accepted

what is the difference between 'pairing' and 'session' in walletConnect v2

A session refers to a live connection between a user's wallet and a dApp, while pairing refers to the initial process of establishing a secure connection between the wallet and the dApp. When a user ...
Kelvin Chelenje's user avatar
1 vote

web3modal error during Wallet Connect function for web3 in javascript

Ok, I've tried your code and you're calling the connect method of web3Modal in const instance = await web3Modal.connect(); but you declare it some lines later in const web3Modal = new Web3Modal(...
Chiin's user avatar
  • 31
1 vote

Wallet Connect not working on Android phone having a Android version greater than 10

https://docs.walletconnect.com/quick-start/dapps/react-native In order to make your app compatible with Android SDK 29 and newer, edit your AndroidManifest.xml file and add the following code: <...
Vineeta's user avatar
  • 45
1 vote

Using Remix Web3 Provider with Infura

For deployment of your contract with Remix IDE you need to use the WalletConnect plugin (which comes already along with Remix). Just follow the steps below: Activate plugin "Wallet Connect"...
Frank Zielen's user avatar
1 vote

Interaction of smart contract with mobile wallet/ wallet connect

Are you connected in mobile using the WC web3 connector? If you are, then all interactions should be the same, and should open the mobile MM for approval. If you are using this connector - what ...
Kenzo Agada's user avatar
  • 1,226
1 vote
Accepted

Can't run smart contract (BUSD) method on android chrome using web3js and walletconnect

I needed to set up my own infura project (https://infura.io/) and get infuraId. UPD: I've decided to do it without infura. To solve problem with mobile version you will have to navigate your mobile to ...
Ernest Rutherford's user avatar
1 vote
Accepted

Possible to connect to Wallet from android (java/kotlin)?

This is indeed possible with WalletConnect. There is a Kotlin library available (both for v1 and v2 of WalletConnect). For v1 you can use: https://github.com/WalletConnect/kotlin-walletconnect-lib You ...
Richard's user avatar
  • 5,024
1 vote

Integrate wallet connect on my website

There are multiple frameworks for this. Onboard.js Web3Modal Snapshot Lock All of these frameworks provide extensive documentation on how to integrate these.
Richard's user avatar
  • 5,024
1 vote

Connect to metamask and WalletConnect using web3-react

you want to use InjectedConnector, import { InjectedConnector } from '@web3-react/injected-connector' const MetaMask = new InjectedConnector({ supportedNetworks: [1, 4] }); const connectors = { ...
Max's user avatar
  • 111
1 vote

iOS app Cannot connect to Metamask by using WalletConnect protocol

Note that latest iOS made it really buggy to connect from wss:// websocket bridge relay. Use the HTTP version of the bridge relay. Also when your Dapp is on the web, iOS needs the url to be HTTPS for ...
Pranay's user avatar
  • 417

Only top scored, non community-wiki answers of a minimum length are eligible