Questions tagged [metamask]
Question about the Metamask chrome's plugin.
2,174
questions
0
votes
0
answers
5
views
How to probe ownership of a MetaMask derived encryption public key?
If I were to store the messages targeted to a specific encryption public key generated by MetaMask (using x25519-xsalsa20-poly1305), how could I allow the recipient to authenticate and claim the ...
0
votes
1
answer
21
views
(Gnosis) Safe Transaction Not Showing In Metamask
I have a Metamask wallet and a (Gnosis) Safe wallet on the Sepolia network. I sent some Sepolia ETH to the Safe wallet (this transaction shows correctly in Metamask). I then sent some Sepolia ETH back ...
0
votes
0
answers
13
views
Why can I sometimes not send ETH through Metamask? Contract is payable and address is correct
Why does metamask sometimes not allow me to send eth to contracts...this contract and the function I'm calling was marked payable. See below
0
votes
0
answers
24
views
Call contract method via metamask without web3
https://docs.metamask.io/wallet/reference/json-rpc-api/
window.web3 is no longer injected by metamask, instead it is window.ethereum, but loads of methods are missing. It used to be very simple, just:
...
0
votes
1
answer
13
views
in cloud window.ehtereumundefined,in local window.ehtereum is object
I am developing a dapp now, deploy the dapp in local PC, it can connect with browser extension, window.ehtereum is Object, but deploy it in aws cloud, it cann't connect with browser extension, window....
0
votes
0
answers
8
views
Transfer of of Gas Fee between accounts
I have an account on a NFT platform. Can another person, who also has an account on the same NFT platform, transfer ETH from his account into my account to supplement my gas fee?
0
votes
1
answer
36
views
Send transaction only with signature
As far as I know, Metamask does not allow to sign transaction without broadcasting it to the network. So I can not generate a transaction on my server and pass it to the frontend that will sign me the ...
0
votes
1
answer
27
views
Alert after spending approval
This is a simple dAPP i am running via metamask.
I have tried many things.
window.alert(`Connected Successfully`);
I have tried to add this window.alert to my code but it wont do much.
async function ...
0
votes
1
answer
31
views
Signature verification using web3js
I am using web3 library to sign a transaction and then verify it from the smart contract. The signature is not verifying.
This is the frontend code
const DomainSeparator = ethers.keccak256(
...
0
votes
0
answers
13
views
ETH was automatically sent to a different Public Address after successful deposit in my meta mask
Same thing happened to me after depositing ETH to my public address it was automatically sent to another address
1
vote
1
answer
36
views
Metamask getBalance method doesnt work
When I wanted show my eth balance in my web site it gives me this "0x103cf17cc1518eb4" how can i turn into string?
0
votes
1
answer
22
views
How to send a token other then eth with metamask without extension of course?
I wanted send token other than eth with metamask using code but I did a little bit of research couldnt find anything. Do you guys know anything about that? I checked metamask docs site too didnt find ...
0
votes
0
answers
13
views
Cant get metamask accounts balances in right way I want
I 'm making a website for faucet and purchasing nft just for practice and get better at solidity and js cant get metamask accounts balance in the right way I want which is string or integer.
JS CODE
...
0
votes
2
answers
22
views
New Account with no transaction
I'm working with my metamask wallet to interact with my DApp. While reading about data in Ethereum, I read that the blocks in the chain do not store any account information. It will have only ...
1
vote
0
answers
14
views
How to inspect MetaMask
I was wondering how can I listen to the requests & data that are being sent between the MetaMask extension & DApp, My purpose is to inspect how is MetaMask reacting to DApp requests so that I ...
0
votes
0
answers
29
views
Is sending USDT to Ethereum main network address Possible?
I copied my Metamask Ethereum main network Ethereum wallet address to someone who said "Supported Wallets: ERC-20 Compatible. E.g. Metamask," for payment. I want to know if the transaction ...
0
votes
1
answer
21
views
ETH Recived... but Balance = 0 on etherscan and MetaMask
I folks. I recived 3 days ago 0.00741522 ETH, but until now my account's balance is 0 ETH and I don't know why. I share the etherscan capture:
Thanks people :)
0
votes
1
answer
26
views
Trying to send matic to a wallet but Can't stake MATIC
basically what I am trying to do is create a contract that different wallets can send MATIC to one single wallet and after some time withdraw with some reward as MATIC.
ie. Stake 100 matic, then ...
1
vote
0
answers
17
views
How can I approve spending limit manually without having to use metamask?
When interact with smart contract on EVM chain, new token need to use "approve" function on metamask. I know this, but I have a good reason to approve the spending limit manually without ...
0
votes
0
answers
14
views
Getting error during setup when doing "npm i wagmi viem"
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR! typescript@"^4....
0
votes
1
answer
22
views
Rejecting the transaction doesn't catch the error in try-catch block
I am working on a Dapp porject ,Where I have to catch the metamask error.
Here is my code:
import React, {
createContext,
useContext,
useEffect,
useRef,
useState,
} from "react";
...
1
vote
1
answer
57
views
Tracking the spedup transactions from metamask
while building a Dapp using metamask to make transactions, i figured that metamask is not responding correctly when a transaction is spedup, making my code wait forever for a canceled transaction that ...
0
votes
1
answer
15
views
How can I get a specific (empty as of now) Ethereum address?
Is there any way I can get a specific Ethereum address of my choice (considering it's not owned by anyone yet)? (Might be related to how Metamask and other wallets pick public and private keys)
0
votes
1
answer
28
views
how can i decode this transactions and see what it contain?
I'm interested in decoding the information within this transaction, which can be found at the following link:
https://etherscan.io/tx/0x1013929251687ff7f6a7e2e0c7e3caae6fd93a2342dd5ad9793ff33c5802269f
...
0
votes
0
answers
27
views
Connecting metamask to custom networks returns `Could not fetch chain ID. Is your RPC URL correct?`
I'm playing Hack The Box blockchain challenges and trying to connect to the custom network chain on Metamask.
Network rpc URL: http://142.93.32.153:32281/rpc
I recovered the chain id using the cast ...
0
votes
0
answers
26
views
Upgrade to Web3 Library Version 4.1.x Causing Contract Function Transaction Failures via Metamask
I am facing a very strange error and I am still unable to figure out after spending more than 2 days. I am using truffle framework and latest version of Web3 library which is version 4.1.2.
I am ...
0
votes
0
answers
18
views
eth_estimateGas calling random function
I'm testing my Ethereum smart contract with Hardhat and Metamask. In Metamask if I try to send zero tokens it reverts, as expected (the transfer function reverts if token amount is zero).
If I look at ...
0
votes
0
answers
18
views
Error occure when deploy smart contract in Ganache blockchain simulator
Error
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
Returned error: {"jsonrpc":"2.0",&...
0
votes
1
answer
22
views
I'ma victim of a theft my Chromebook was stolen a couple years ago with ethereum and some other coins in my metamask account can I regain access
I was unfortunately a victim of theft. My Chromebook was stolen w/my metamask acct. It had ETH I purchased from matrixport & 700,000 Like Coins also. Is it anyway I can get access to it? Note that ...
0
votes
0
answers
56
views
Send transaction failed: Error: [number-to-bn] while converting number [] to BN.js instance
error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported. Given value: "" . if you use an injected provider, please check ...
0
votes
0
answers
97
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 ...
1
vote
1
answer
12
views
What are the risks in staking through my MM address?
Long story short my MM address is eligible for the Chainlink staking program that would lock my tokens into a smart contract on Ethereum for 1 year.
The concern I'm having is, because the address has ...
1
vote
2
answers
110
views
Can your Metamask get hacked by signing a message, no gas?
If I log into a new project with Metamask, and the operation costs no gas, can I get hacked?
Does no gas mean you are safe when signing with Metamask?
1
vote
0
answers
75
views
TransactionRevertedWithoutReasonError: Transaction has been reverted by the EVM when trying to mint an erc1155 token using web3
I deployed a solidity contract on polygon mumbai testnet using remix IDE and metamask as my Environment. I'm currently trying to call the mint function that mints an ERC1155 token in exchange for ...
0
votes
1
answer
31
views
How to import locally generated addresses on my Metamask? [closed]
Im currently creating a basic connect and fund contract where I will be able to fund an address using hardhat and ethers.js. I currently have a local mock created in my terminal with dummy accounts ...
0
votes
1
answer
26
views
What is the method to be able to use the mobile metamask app as a support for mobile chrome?
So this one is incredibly hard to search for because it returns so many generic posts about how to install MetaMask on a chrome browser and various other things.
My query is about how many dapps are ...
0
votes
0
answers
37
views
MetaMask app/browser SSL Error (local server HTTPS testing)
Creating a dApp using Vite; within the config file I've imported mkcert to produce SSL certs.
I've also installed these on my mobile device. I have no issues at all using the website/dApp in Chrome (...
0
votes
0
answers
31
views
Solidity query works in dev environment but not in production build (nextJS)
I am calling a function that queries the token balance of a user. The query works on a dev environment but not in production build. I am using metamask and ethers to interact with my contract on the ...
0
votes
0
answers
22
views
Missing transaction details in MetaMask (only showing gas fees) dApp testing
I'm building a presale dApp as an experiment, and when I hit the buyButton, MetaMask successfully opens for me to approve spending my USDT (labelled a contract interaction). However the transaction is ...
0
votes
0
answers
61
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
1
answer
38
views
ERC721 token image not showing in wallet
Hey everyone
I'm new to NFT development. I developed an ERC-721 token used for property ownership and I deployed and minted a token both on Anvil and sepolia. I can import the token on metamask but ...
0
votes
1
answer
23
views
How Can I find the right network of the transaction? - an emergency question for a newbie
I used 'Goerli faucet' and entered my MetaMask wallet address, but now I don't know which network I should use to see how much Ethereum I have because currently, my MetaMask wallet shows that I have ...
0
votes
1
answer
49
views
Why would my deploy.js return this? Error: factory runner does not support sending transactions (operation="sendTransaction"
I'm using Alchemy API with Hardhat and every time I run the deploy script I get the above error. I am also getting requests to my API every time I run this and the method is eth_accounts, in the ...
0
votes
1
answer
19
views
Using the Freeze functionality as a user in the BNB contract
In the BNB contract there is the Freeze and UnFreeze functionality.
As I have understood, this doesn't allow Binance to freeze users’ balances. Instead, it allows any user to freeze and unfreeze their ...
0
votes
0
answers
125
views
Viem wallet client method does not exist / is not available
I am trying to interact with a smart contract from a front-end web app using viem.
I am successfully creating a Wallet Client with my wallet address, but when I call some of its methods, I get the ...
0
votes
2
answers
44
views
Metamask is not showing my balance - emergency question for a newbie
I have been using Metamask for a few days now, and I'm experiencing an issue. The Ethereum balances in my Metamask account are not showing up and it says I have zero Ether. However, when I check on ...
0
votes
1
answer
28
views
Unable to Estimate Gas When Calling withdraw Function in Solidity Contract on Polygon Network
I've deployed a Solidity smart contract on the Polygon network, which includes a withdraw function. The contract code is based on Solidity version 0.8.16 and leverages the OpenZeppelin library for ...
0
votes
0
answers
15
views
Where can the ProviderRpcError type be imported from?
I am creating a WalletConnect function in typescript and React.
I want to process when window.ethereum.request returns an error, but I can't directly reference the error as being an unknown type.
It ...
1
vote
0
answers
35
views
"ProviderError: transaction would cause overdraft" with gasPrice of 1 wei
I have a hardhat deployment script that has been working for months.
But a few hours ago, it stopped working, and I keep getting gasPrice related errors.
I tried:
gasPrice: "auto"
gasPrice: ...
0
votes
1
answer
32
views
MetaMask - failed transaction, maximum gas rate suggested is to low
I recently bought a code for a coin flip game and I have been modifying it while I learn to program. I have reached the point of launching the website but when I play and approve the transaction I ...