Questions tagged [metamask]
Question about the Metamask chrome's plugin.
2,226
questions
0
votes
0
answers
29
views
Restoring MetaMask wallet on new laptop
I bought a new laptop and was intending to install Metamask on it. Some background, I have my 12-seed recovery phrase, I know my password, and have ever only had 1 account ever. When installing I use ...
0
votes
1
answer
159
views
¿Can some one determine a full ETH public adress by just knowing the first 5 and last 4 digits of the public adress?
I'm just curious to know if addresses are determined by a pattern that only by knowing the first 5 and last 4 digits of and addresses you can complete the full missing address
Thanks!
0
votes
0
answers
29
views
Why did remix v0.33.0 prompt me to use coinbase unless I shortened the url? Then it allowed generic injected provider
This is surprising to find out. I googled and clicked the remix.ethereum.org link. I got on remix to do a quick deployment however it prompted me to use coinbase instead of a generic injected provider....
0
votes
2
answers
158
views
Withdraw Weth from etherscan goerli error
i would like to withdraw 0.1 WETH to ETH. I have 0.19 WETH on my wallet. i'm using etherscan goerli to do that with address: 0xCCB14936C2E000ED8393A571D15A2672537838Ad i've approve all WETH on my ...
2
votes
2
answers
375
views
How to retrieve 1 eth I send by mistake to my smart contract token?
This is the contract as you see there's one eth there https://etherscan.io/address/0x19d71f00354ad302e89ca47e59b68917f9a871d7#code.
I still have ownership of contract.
My eth stuck in smart contracts....
0
votes
0
answers
21
views
add faucet to metamask failed [duplicate]
I am using meta mask for the second time and I wanted to add some test ethers in my meta mask from test ether faucet in order to deploy my own smart contract implemented using remix. Unfortunately, ...
0
votes
0
answers
24
views
is there any way to get back the eth i send to my smart contract token? [duplicate]
thhis the contract as you see the one eth is there
contract https://etherscan.io/address/0x19d71f00354ad302e89ca47e59b68917f9a871d7#code
0
votes
1
answer
149
views
Is there anyway to retrieve tokens sent to a smart contract?
I used my wallet to create a smart contract for a trading bot. Unknowingly , the code for this smart contract was for malicious intent. Once i try to withdraw from the smart contract, my tokens will ...
0
votes
0
answers
12
views
Transaction failed on even transaction index solidity, double function call with one form submit
I try to push data into two struct with single call on front end app, it turns out the data that i push on even index of transaction failed on second struct
Struct
struct MakananPart1{
uint ...
0
votes
1
answer
530
views
Cancel pending transaction with Nonce 0
When I wanted to deploy a contract via Remix and Metamask, the transaction fees was too high for me ($500), so I reduced the Gas and reduced fees to $170
Since yesterday the transaction has been ...
0
votes
1
answer
287
views
Unsellable tokens bought on DEX: Smart contract to get back funds
I bought token via Uniswap which are not unseellable.
I read somewhere that we can deploy a contract on the same account of the token for swap the token in eth.
I wrote a code and before deploying it ...
0
votes
0
answers
102
views
Fulfilling order of seaport-js via WalletConnect returns 'invalid hash' error but the transaction goes through
I'm implementing an NFT swapping function with seaport-js. Eliminating gas related issues and under the same conditions, I have no problem swapping (fulfill order) via MetaMask(window.ethereum) but ...
0
votes
1
answer
57
views
How to connect metamask in another computerA(windows) to a private hyperledger besu in another computerB(ubuntu)
I have here a private hyperledger besu network running on my computerB(ubuntu). I wanna know how can I connect the metamask wallet on my computerA(windows) to the network in my computerB. I tried ...
1
vote
1
answer
6k
views
Metamask stuck loading on startup, solutions as of 2023?
I'm sure many have run into this issue. With Metamask stuck loading " Connecting to Ethereum Mainnet". This problem has persisted for many years. it's 2023 already, what are some of the best ...
1
vote
1
answer
241
views
I sent pepe from MetaMask to crypto.com
I sent pepe coin from my MetaMask address to my crypto.com eth address it’s showing as completed but the it’s not showing this on my balance or can’t see it. Yet on ethascan it’s showing as a token? ...
2
votes
0
answers
461
views
Programmatically importing NFT to Metamask
Is it possible to call browser JS to import an NFT to the user's wallet once it's been minted? I'm wondering if the following configuration can be set programmatically:
0
votes
0
answers
19
views
Can someone help with advice in regards to MetaMask?
MetaMask showing a token price 10-100x the current value of a token.
The token is a native token on a mainnet that currently has low liquidity as it’s in the auditing stage,
Now the community/future ...
0
votes
1
answer
3k
views
How can I remove custom spending cap on Metamask?
When I call the approve function of the ERC20 token standard, it asks me to set a custom spending cap, as shown below.
But I need to use the default value every time without clicking "use ...
0
votes
0
answers
110
views
MetaMask showing incorrect price. Could be a RPC error
MetaMask is showing fictitious $USD value displayed in MetaMask for $(sample)this was MetaMask support response:
This is out of scope for MetaMask Support; however, I can share with you our source ...
0
votes
0
answers
227
views
Using Ethers.js and Metamask SDK in mobile browser
I'm trying to avoid using Deep Linking from my app to Metamask mobile app to run my web dapp on the Built-In browser and keep the user on the native browser. In order to do this, I find out that await ...
0
votes
0
answers
34
views
Native Token Price Displayed wrong on Metamask
Mainnet native token is showing wrong price to all metamask useres for GOLDXCHAIN, it is new chain, token not even launched but looks like it is fetching ETH Price
1
vote
0
answers
32
views
React dapp using same previous account(from ganache) even though changed in metamask
I have tried to interact and call functions from ethereum contract deployed at local blockchain ganache in my react dapp. And I am using metamask. But even though I change the account in metamask the ...
0
votes
0
answers
441
views
window.ethereum.request({method: "eth_requestAccounts"}) automatically picks the connected account when making a transaction
I have multiple accounts on my Metamask wallet(Most of them are connected to the site). But my selected account is not connected to the Dapp. So, when I try to send a transaction it uses one of the ...
0
votes
0
answers
92
views
is it possible to give metamask a raw transaction to sign it and feed it back to us
am building Dapp based on microservice and am testing something , to make Dapp more easier to use i, i decided to let metamask only sign a raw transaction , so the user will only do the steps of ...
0
votes
1
answer
55
views
Logging user on web3.js is calling a function before web3 is assigned
I have a little weird problem. I'm creating the front-end of a blockchain app with react and web3. Everything is perfect and it connects fine, but when I reload the page and call the getNfts() ...
0
votes
0
answers
80
views
Transaction Stuck - Cannot Cancel or speed up
I did this transaction about two years ago trying to buy a Zed-Run horse on OpenSea. I never received the NFT to my Metamask wallet, nor did I ever receive my Eth back. It has been stuck in submitted ...
0
votes
0
answers
239
views
How to get the metamask wallet address connected to gnosis safe inside the Safe APP?
I am working on a Gnosis SAFE app. My requirement is that user should connect to the metamask wallet first, deploy a smart contract and then user should proceed with the other task.
I am using cra-...
0
votes
1
answer
21
views
The struct member's value is not updating
I am trying to make a voting system and I have come up with something but at the moment the vote count is not increasing. Can you check what is wrong? I am beginner and my code is below.
Contract Code
...
1
vote
0
answers
101
views
Storing my NFT image as SVG display properly on Opensea but shows a broken image on metamask
To store my NFT image on-chain i use the SVG format. As long as i base64 encoded them, they worked very well on any ERC721 compliant platform. But as Base64 encoding is very costly in term of ...
0
votes
2
answers
4k
views
We were not able to estimate gas. There might be an error in the contract and this transaction may fail
I cannot add a candidate as it shows there is an error in the contract, but the code does not show any error.
**// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.9.0;
contract Election{...
0
votes
0
answers
69
views
Error: Keys not exchanged when calling await ethereum.request({method: 'eth_requestAccounts'})
I am trying to connect my React Native app to MetaMask with
MetamaskSDK, but I am getting the error "Error: Keys not exchanged"
when calling await ethereum.request({method: '...
2
votes
2
answers
339
views
How does MetaMask know the name of the contract function you're calling?
When you interact with a smart contract and, instead of the name of the function you're calling, MetaMask only outputs "CONTRACT INTERACTION", is this because the contract you're interacting ...
3
votes
2
answers
486
views
Why can't MetaMask "verify" a contract?
When interacting with smart contracts via MetaMask, what does it mean when the wallet tells you "We cannot verify this contract. Make sure you trust this address"?
See an example of the ...
0
votes
0
answers
150
views
Can't derive an account from a mnemonic phrase like in metamask?
I wrote a script that derivate keys on a given derivate path. I tested it here, and the results are for the path m/44'/60'/0'/0/0 matched. My goal is to generate a mnemonic phrase, and then derive an ...
0
votes
2
answers
39
views
MATIC stuck in contract
I have a smart contract with some Matic balance on it. I can't pull out those matic balance on the contract... what did I miss?
function _forwardFunds() payable public {
require(msg.sender == ...
0
votes
0
answers
45
views
Why is EIP-712 necessary for readable transaction signing (MetaMask)?
I am implementing the EIP-712 for metatransactions and I was wondering, why is it necessary to implement such protocol in order to have a transparent signing method for the user?
Since MetaMask has ...
0
votes
0
answers
176
views
Alternatives to WalletConnect on React native - to connect MetaMask blockchain wallet to React native app
I’m building a blockchain app on react native, and working with the WalletConnect package to connect a MetaMask/CoinBase wallet to my app, this has proven very challenge due to inconsistent ...
1
vote
1
answer
166
views
Ethers.js provider error: non-configurable property '"provider"'
I'm using Metamask detect ethereum provider, and while the app is starting, I'm trying to create ethers signer and provider objects and store them in Vue Pinia store. However, when I use the stored ...
0
votes
1
answer
104
views
How is my wallet determined by the mnemonic phrase?
I have such a question after studying BIP44 path. The last parameter in it is address_index - the wallet number that can be obtained using the seed created from this phrase. Whereas the metamask opens ...
1
vote
0
answers
136
views
Transfer not showing up on either Etherscan or Metamask wallet Despite reflecting in Metamask balance
As I was going back through my (very few) Ethereum transactions, I noticed something odd... I transferred ETH twice from Coinbase to Metamask, but only one of the transfers is showing up on Metamask / ...
2
votes
2
answers
3k
views
I need a whole new MetaMask account, with a whole new seed phrase
No one can seem answer this for me. My old business has my seed phrase. this never bothered me b/c there was never more than a $100 in there. Now it does. How to set up a new account? Not a new wallet,...
1
vote
1
answer
637
views
How to keep wallet connection persistent when refreshing with Ethersjs
I am trying to figure out the best solution to keep a wallet connection persistent when a page refreshes on Ethers. So far, the only answers I've found have been through Web3-react and not Ethers.
...
1
vote
0
answers
350
views
Error data=0x when trying to send arguments to a function in smart contract
Unhandled Runtime Error
Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="verify(string,bytes)", data="0x", errorArgs=null, errorName=...
1
vote
0
answers
218
views
View: Root Error: Invalid character in NaN / View: Root TypeError: undefined is not an object (evaluating 'o.negative')
I've created one react web application which is simply pass token between two users using metamask wallet. The problem I'm facing is, It's perfectly working fine in web page but getting errors from ...
2
votes
2
answers
1k
views
How to detect the specific wallet provider used by the user in a web3 dapp when multiple wallet providers are installed?
I want to detect which wallet provider has been used to connect to a specific dApp.
right now what I'm doing is
const ethereum = window.ethereum;
const web3 = window.web3;
if (ethereum && ...
1
vote
0
answers
102
views
MetaMask + Unity iOS build crash on start
Unity 2022.2.12 with MetaMask 1.1.1;
Setup:
Bitcode - Disabled; Scriptable backend - IL2CPP; Code Generation - Faster Smaller Builds;
iOS build crashes on startup on the device.
XCode log:
2023-03-29 ...
0
votes
0
answers
120
views
How can i disconnect my connected wallet in metamask using Ethers.js?
I am trying to find a way to disconnect my wallet from metamask, How can i disconnect my connected wallet in metamask using Ethers.js??
2
votes
1
answer
414
views
ethereum.removeListener not working, how to fix?
I'm using etherum.on listeners and would like to remove them as advised by the documentation, however the ethereum.removeListener does not work.
I am using js not ts.
How to remove the event listener?...
1
vote
1
answer
545
views
Getting "contract is missing links for the following libraries" error even after adding as libraries while getting contract factory using ethers.js
I deployed a contract with an external library using hardhat. Now I am trying to do a write operation on the contract but it is throwing an error: contract is missing links for the following libraries ...
1
vote
1
answer
57
views
ERC721 Open Zeppelin (BUY NFT) : function buy(_tokenID) gives error: "Fail with error 'ERC721: approve to caller'" in Polygon
I hope you are doing well?
I am new to the world of web3 and to this forum and I hope to find some help in solving my problem.
I create an ERC721 contract that would initially allow me to be able to ...