Questions tagged [metamask]
A browser extension for browsers (i.e. Chrome, Brave) for interacting with distributed applications which require, by design, specific dapp browsers such as Ethereum Mist
855
questions
0
votes
0
answers
8
views
WEB3 authentication flow
I'm currently developing dapp in .NET. Im using the request accounts and personal sign so I get user`s address and encrypted signature. Then I sign him via Identity. It works. But my question is about ...
1
vote
1
answer
25
views
Retrieving 24-hour Historic Token Balance in Ethereum (or Arbitrum) with MetaMask and Rabby Wallets
I'm working on a project where I need to find the balance of a specific token (not necessarily ETH) from 24 hours ago for a connected account. I have the block number from 24 hours ago from BE. Here's ...
-2
votes
0
answers
14
views
Remix IDE and Metamask, empty wallets list [closed]
I try to deploy contract in Goerli Network, but the list of accounts is empty. I tried Walletconnect, but it's not working either. Most websites advise pressing F5 and reconnecting and everything ...
0
votes
0
answers
32
views
Web3Modal error on implementing WalletConnect in React.js / Next
I'm trying to implement WalletConnect in my project using the exact code provided in the documentation using Wagmi library.
https://docs.walletconnect.com/web3modal/nextjs/about?platform=wagmi
While ...
-1
votes
0
answers
26
views
{SOLANA]I sent tokens to the contract adress
Dears, I would appreciate if you could help me.
By mistake I sent a pair of solana tokens (28) to the Solana contract address for the BSC network
BNB Smart Chain (BEP20).
I have all the background
...
0
votes
0
answers
11
views
Customizing MetaMask SDK for App Development
Is it possible to use the MetaMask SDK source code, replace the icon and name, and generate a working app? If yes, which source code should I use to generate the APK? Additionally, is there any ...
0
votes
0
answers
34
views
Decentraland/cli Error: (Critical error: error initializing rendering) occurs when I use IP to connect the server
I encountered a problem that is giving me a headache.
I run the following command in Window OS:
dcl start --web3
and access the browser URL with: http://10.6.88.XX:8080.
I receive the following ...
0
votes
0
answers
9
views
MetaMask Mobile SDK - App crashes shortly after opening
I've been working with the MetaMask Mobile SDK and followed the instructions outlined in the README (link to the README here: https://github.com/MetaMask/metamask-mobile) to generate an APK. However, ...
0
votes
0
answers
6
views
Recovering files of Metamask local storage
Metamask crashed on my chrome session, and when I clicked restore, I had to input my seed, and I don’t have it
So I tried to get the seed from the vault on thé local storage.
But the files are now ...
0
votes
0
answers
22
views
Truffle smart contract error -32000 for working contract
I have a javascript backend that I use to provide an API, which can be used to save and get strings from the blockchain.
I used truffle to deploy my contract on the Goerli test net.
And the contract ...
-1
votes
0
answers
60
views
how to add custom token to metamask using wagmi in react
I'm trying to add custom token to metamask using wagmi in react.
I could add custom token in metamask manually or using web3.js
but my project is using wagmi.
I can't find any docs or solution.
if ...
-1
votes
1
answer
22
views
"Transaction has been rejected by the EVM:" - why does the error occur?
The essence of the problem
A window opens in Meta mask about paying for gas. I can click continue, but I can't wait for the positive completion of the transaction once - an error always
occurs{"...
-1
votes
1
answer
192
views
Wagmi how to catch and display MetaMask errors?
I am using wagmi to connect to MetaMask wallet to get some information and I noticed that I can get 2 errors.
One error is ConnectorNotFoundError: Connector not found at MetaMaskConnector.connect... ...
0
votes
0
answers
58
views
Handling pop-up window Metamask extension - Selenium
I have been trying to find out how to call upon a pop-up window from an extension, in this case 'Metamask'.
Is there a way to call upon the elements inside the pop-up?
See image here
https://www....
0
votes
0
answers
4k
views
Unhandled Exception: SocketException: Failed host lookup: 'xxx.bridge.walletconnect.org'
I want to do:
Check the operation of applications created with Flutter.
I want to perform login using MetaMask.
Description of the error that is occurring:
E/flutter (16080): [ERROR:flutter/runtime/...
0
votes
0
answers
39
views
How to prompt connecting another wallet via Web3.js
I'm building a dapp that allows users to connect multiple wallets. When a user is not connected to my app at all and I issue the const accounts = await this.eth.request({ method: 'eth_requestAccounts' ...
-1
votes
1
answer
30
views
Cannot catch Metamask Exceptions
i am trying to call a smartcontract with ethers.contract and the signer from ethers.providers.web3Provider to use MetaMask.In case the transaction fails i want to catch the error and try again or call ...
0
votes
0
answers
39
views
Python Selenium metamask automation error
I'm trying to automate metamask (crypto wallet extension) login on a website and I get an error when trying to find the password input element. I have managed to kind of come up with a fix but I don't ...
0
votes
0
answers
35
views
How do I get a webpage redirected to another landing after Metamask connect?
So let's say someone visits a website and gets a wallet connect popup (Metamask), is there a way to redirect them to another page/landing right after wallet is connected? like using wallet connection ...
1
vote
0
answers
109
views
Getting balance for wallet in React using Web3
React newbie here. Have an issue starting out, specifically with getting the balance of an address attached to a connected wallet.
import "./App.css";
import React, { useState } from "...
0
votes
0
answers
32
views
How to create a listener for Intercepting and handling requests to Metamask in a browser extension? [duplicate]
I want to create a PoC (Proof of Concept) for a simple extension that intercepts requests to Metamask and either accepts and forwards them to Metamask or blocks them.
I've seen applications like ...
0
votes
1
answer
28
views
Can't list metamask accounts using web3py eth.accounts
I've already installed and created metamask accounts and signed in on my browser chrome. I'm trying to list those accounts following ChatGPT tutorial to connect a HTTPProvider, then call function eth....
0
votes
0
answers
147
views
How do I get Wagmi useWaitForTransaction to wait for Metamask (running on Hardhat)?
I am using Wagmi's useWaitForTransaction together with Metamask, running on local Hardhat node. When I sign a transaction it almost immediately returns successful on the front end, but on Metamask it ...
0
votes
0
answers
45
views
Uncaught (in promise) Error: No ethereum object at sendTransaction (TransactionContext.jsx:105:13)
In TransactionContext.js (see code below), I am getting a no ethereum object error in the connectWallet function whenever i submit data to the ethereum blockchain. However, I have already connected ...
0
votes
1
answer
92
views
Why does MetaMask only show the gas fee as the transaction when I'm testing my dApp?
I've been working on a presale dApp on the BSC testnet using solidity to deploy the contracts and obtain the ABIs, and using Preact/Ethers.js to build the interface.
I'm at the point where there are ...
0
votes
0
answers
84
views
When sending a transaction using web3 I recive EIP1559FeeMarketTransaction.fillFromResult error
I am using a ganache local blockchain and truffle to test my smart contracts, this problem started to occur all of a sudden, since before I wasn't running into this problem.
So when I call the ...
0
votes
0
answers
22
views
In Remix IDE I sent transaction by sendViaSend function but the ethers never were received in my Metamask wallet. Was it parameters? or kind of addres
I created a smart contract with a constructor for sending and receiving I deployed the send contract with 2 ethers from the Remix VM (shanghai).. I then placed my ETH address from my Metamask wallet ...
0
votes
1
answer
53
views
How to get the MetaMask error object when getting an error while using web3js
When I call a function like so:
try {
contract.methods[methodName]().estimateGas({from: account, value: x, gas: '5000000'})
.catch((error) => {
console.log(error);
})
return true;
} ...
0
votes
0
answers
111
views
Metamask Dapp Browser Not Redirecting from HTTP to HTTPS on Certain Mobile Phones
I'm developing a web-based decentralized application (Dapp) that interacts with Ethereum using Metamask. I've noticed an issue with the Metamask Dapp browser on some mobile phones. When users type a ...
1
vote
0
answers
19
views
web3js connection plug-in wallet
How to let Dapp connect to the specified plug-in wallet on the computer? For example, when I click the tokenPocket icon on the Dapp page, tokenPocket will be automatically connected, and when I click ...
0
votes
0
answers
80
views
Error LavaMoat - property “Reflect” of globalThis is inaccessible under scuttling mode
Although I have set ScuttleGlobalThis.enable to false in runtime-lavamoat.js still I get this error.
I’m using MetaMask snap and trying to use fetch to call an external API.
I tried rebuilding ...
0
votes
1
answer
86
views
Returned error: The method eth_sendTransaction does not exist/is not available
I've deployed a smart contract which works well, however if I try to interact with the function sendToOwner():
.sol
function sendToOwner() public onlyOwner {
require(
address(this).balance ...
0
votes
0
answers
88
views
Metamask does not show balance of account on private Ethereum network
I have setup a local network with geth, the nodes have discovered one another and I am able to send transactions
I connected metamask from browser to the default http rpc port 8545, created new ...
0
votes
0
answers
104
views
Cannot connect to MetaMask after upgrading web3 from 1.x to 4.x due to "setProvider is not a function" error
The following code worked fine until I decided to upgrade the two following dependencies from 1.7.5 versions to the latest:
"web3": "^4.1.1",
"web3-eth-contract": "^...
0
votes
0
answers
61
views
How to select metamask extension if there are many wallet extensions installed in the browser?
Our tester faced an issue when calling my code because he installed both metamask and enkrypt extensions in his chrome browser. My code is dealing with metamask :
const { ethers } = require("...
0
votes
0
answers
51
views
ethereum.setSelectedProvider is not a function?
How to just open MetaMask no matter browser has installed how many wallet ?
I try the code but shows the error
ethereum.setSelectedProvider is not a function
const activateInjectedProvider = (...
0
votes
0
answers
8
views
I want connect metamask how do i do that to browser
Cant connect tried to didnt work,
Tried wallet connect Tru options i couldnt get it done.
Tried to do it with update next to Chrome also didnt work, please help me.
Does someone have maybe have some ...
0
votes
1
answer
120
views
can't estimateGas error upon calling provider.getSigner(); using etherjs 5.7 and metamask provider
const provider = new ethers.providers.Web3Provider(window.ethereum, "any");
const accounts = await provider.listAccounts()
console.log(await provider.getBalance(accounts[0]));
const signer = ...
0
votes
1
answer
174
views
Runtime.evaluate threw exception: Error: LavaMoat - property "ads_adoQpoasnfa76pfcZLmcfl_Promise" of globalThis is inaccessible under scuttling mode
chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/notification.html#unlock
I am trying to automate metamask by using a simple script with selenium.
The problem is that an exception is being thrown ...
-1
votes
1
answer
192
views
Web3.js & Metamask Mobile - Failed to call contract function (but working fine on desktop) [code: -32603]
I use Web3.js and MetaMask to interact with blockchain. But failed to call contract functions on MetaMask mobile app...
However, on desktop is working fine..
Not sure what is wrong here...
This is ...
1
vote
1
answer
170
views
How to authorise in WalletConnect using python
I want to connect metamask to this site https://sendit.arcana.network/app/login via WalletConnect. i'm using selenium and i can't click on the metamask icon because there's a DOM in the DOM. So I want ...
0
votes
0
answers
17
views
Metamask/Ecies & OpenSSL in same iOS project : Duplicate symbols errors
In our iOS project we are using openssl for issuing certificate. It' working well.
Now I have to install Metamask POD and build failed because of duplicate symbols.
I am getting these errors :
...
1
vote
0
answers
80
views
Problem with Errors (_rootHangleError, <anonymous closure, _microTaskLoop) in my flutter Dapp; is it because of walletconnect_dart pkg?
The Code is as follows:
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:walletconnect_dart/walletconnect_dart.dart';
import 'package:...
0
votes
0
answers
119
views
Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan. Error: *** Deployment Failed ***
I got the error below when I ran the following command truffle migrate --network linea_goerli to deploy on the Linea network.
I am using the solidity version: 0.8.21, and I have redeployed it multiple ...
1
vote
0
answers
145
views
Sign message not showing up on Metamask app
I'm working on a website very much similar to https://relative.fi . Now, when I open this on my mobile browser and try connecting my wallet using metamask, it is redirecting me to metamask but not ...
1
vote
1
answer
215
views
Selenium webdriver doesn't work with metamask
Here is my issue:
I download Metamask extension and add it to Chrome. Then I start selenium webdriver, then I'm being redirected to the extension page, and when I try to click "I agree to ...
1
vote
1
answer
897
views
Error: missing revert data (action="estimateGas,
I am trying to call a smart contract function deployed on the Mantle testnet. The contract details are as follows:
Contract Address: 0xb1DC2063345F6d210AC1f9c9da2aB8131A53b938
ABI:
[
{
...
0
votes
0
answers
170
views
Metamask: transaction decoding is not available at chain id 97
this are the error i am facing my project is based on degree verification using blockchain when i submit a document metamask popup for transaction for its gas fees butwhen confirm the transaction goes ...
1
vote
0
answers
76
views
ethers.js `const accounts = await provider.send("eth_requestAccounts", []);` gives wrong data?
I am trying to connect my react frontend to metamask wallet using ethers library.
While trying to do so I came upon 2 methods to do so:
const accounts = provider.listAccounts();
const accounts2 = ...
0
votes
1
answer
42
views
Unable to reset metamask account
I have been working on a DApp recently and it requires me to clear history of an my accounts in metamask wallet. I have read several tutorials but could not clear the transaction history. I go to the ...