Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
1
vote
1answer
157 views

What to do if Metamask doesn't show a deposit because it's an “internal transaction”?

This is a follow-up on the question "Do all transactions show in Metamask wallet?" from Sky Hayward, in which Sky asked about transactions that show up as successful on etherscan, yet the ...
0
votes
1answer
42 views

Transaction values exchanged even if transaction rejected, and double values exchanged if transaction confirmed

I'm trying to perform a function that exchanges one token for another, but I'm getting a very strange bug. If I call the function in web3, I get the standard metamask popup asking whether to confirm ...
0
votes
0answers
8 views

Browser tab keeps on reloading on account change

My browser tab keeps on reloading on account change from metamask for at least 15-20 times. async connectWallet() { const { ethereum } = window if (!ethereum) { this.ui.showError = ...
2
votes
1answer
36 views

Metamask display for signing data with eth_signTypedData_v4

I am using the latest implementation of EIP712 to ask for user to confirm some action: web3.currentProvider.sendAsync({ method: "eth_signTypedData_v4", params:...
1
vote
2answers
135 views

Help on recovering wallet through brute force or from extension data (Bounty on recovery)

I know 10 of 64 characters (hex) of my ethereum private key unencrypted and their positions. I also know the corresponding wallet address. Is a brute-force possible? What I am thinking of is ...
1
vote
1answer
34 views

What function/method does MetaMask use to generate the entropy for mnemonic keys?

I am trying to understand how exactly MetaMask is generating the initial entropy to create its mnemonic key. There are questions like this, MetaMask's documentation, or their GitHub but I can't find ...
0
votes
1answer
88 views

Wait a promise end before continue

i try to create a map with (address => bool) with web3js. I want to know if the address is a contract owner. So, i have to call "owners" function in my solidity contract. As you can see below : let ...
0
votes
1answer
32 views

Accounts with ether cannot execute transaction on private chain

According to Metamask my accounts have ether, one account can submit transactions and have them be executed by the network, the other two have their transactions left as Submitted transaction. Note, ...
0
votes
1answer
21 views

(MetaMask) Changing the default gas

I looked for a while on Google/here for if there's a way to manually set the default transaction gas fees, but couldn't find anything. Anyone know if this is possible in metamask? Basically I need ...
1
vote
1answer
16 views

sendTransaction to send tokens with Metamask and custom data

My question is similar to How to use sendTransaction to send ERC20 tokens through Metamask?. I have a contract, and currently I send a transaction to this contract through Metamask with this code: var ...
2
votes
1answer
256 views

Metamask not allowing any transaction by code

I am building an application using ethereum smart contracts. I am using Metamask Chrome extension to run my application on Chrome. But I am facing a little issue. When I try to make any transaction by ...
1
vote
1answer
18 views

Accepting transaction signature via web3 with metamask

I am using uniswap swap functions on web3 and I wanted to accept the transaction directly on code without using the pop up prompt on metamask. Is there a way to do this? or other alternative/...
0
votes
1answer
231 views

Error: [ethjs-query] while formatting outputs from RPC: “message”:“invalid sender”

I'm using MetaMask with an app I'm developing, and previously working functions are now returning a quite ferocious error. This error has been duplicated on a number of functions in the platform, so I ...
16
votes
10answers
12k views

TX doesn't have the correct nonce - Metamask

I'm trying to call the leafPicked() function in my contract from web3 which launches Metamask as intended. After pressing accept the transaction shows as failed along with the error message pictured ...
0
votes
1answer
204 views

Changed behaviour regarding web3.eth.accounts[0] in Metamask?

Some time ago, it was possible to get the selected account using sync methods on web3 0.2. https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md It always worked on our DAPP. But on Nov 8th in ...
0
votes
1answer
67 views

dApps being required to explicitly ask for access to web3(when using MetaMask)

Injecting web3 into the dapp is done automatically,when using MetaMask. Web pages get access to the Blockchain when using metamask in their browser, to read addresses for tranactions, and other ...
0
votes
2answers
32 views

ERROR: Provided address “6.963865902119903e+47” is invalid

Full error log: formatters.js:471 Uncaught Error: Provided address "6.963865902119903e+47" is invalid, the capitalization checksum test failed, or its an indrect IBAN address which can't be ...
2
votes
3answers
45 views

how is it possible to send 5 successful, consecutive transactions at the same time?

I just witnessed something amazing that I didn't think was possible before. I was under the assumption if that you try to submit consecutive transactions, the latest transaction with the highest nonce ...
2
votes
2answers
86 views

How to process Smart Contracts payable functions in batch?

I am aware that metamask will enable effective security for processing via the web browser a payable function action to a smart contract. What happens in batch? I have an API service which then ...
0
votes
0answers
12 views

Frontend for OpenZeppelin ERC20 token and Crowdsale

does anyone know if there are any resources online for a front-end app.js for a simple ERC20 token for a crowdsale? I am looking to build out a front end that will allow log-in with Metamask and buy ...
0
votes
2answers
165 views

how to write backend for contract if you use infura ropsten metamask and remix

i'm using metamask with ropsten. deployed my contract on ropsten using remix. for the backend i used infura to create instance of web3. ew Web3(new Web3.providers.HttpProvider('https://ropsten.infura....
0
votes
1answer
208 views

Metamask TestRPC shows 0 Ether while connecting to Ganache- CLI

I've gone through various Q/A(s) of the problem of ganache-cli and metamask not linking but after trying all the solutions, still doesn't work for me. As soon as I type ganache-cli in windows cmd ...
0
votes
0answers
11 views

how to inject web3 on webapp with “window.ethereum.enable()”

here is my code, i dont get any pop for permission to connect metamask with the site. for more clearity visit enter link description here connect ...
0
votes
1answer
36 views

Cannot set property 'defaultAccount' of undefined

I am trying to run a DApp with metamask enabled , but this error surfaces . <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-...
0
votes
1answer
17 views

how to use custom web3 provider for Dapp?

I used to use metamask for Dapp development..Everything works fine, but trust wallet(Dapp mobile browser) doesn't emit events comes of from contract..My Dapp is heavily rely on events..if they don't ...
1
vote
1answer
33 views

Where to define the MetaMask window.ethereum.on Listener

I have tried to include the window.ethereum.on listener to detect account changes in MetaMask, in my mounted () {} method. When the listener is triggered, it itself triggers the location.reload() ...
0
votes
0answers
16 views

Why is metamask so far off in it's gas prediction? [closed]

Metamask predicts the gas cost will be 475,138 gas - The actual cost and total used gas is 1.478 million gas. I am using local javascript based EVM with hardhat. Why is metamask so far off in it's gas ...
0
votes
1answer
70 views

Problem with loading my front end local host due to metamask

I have been trying this Dapp university tutorial online and after following it meticulously I've come across this problem. I suspect it's metamask as the video said if I get this loading message I ...
1
vote
1answer
107 views

How can i deploy compilled contract with node/web3 and metamask?

Does anybody knows how to deploy smart contract with node/web3 and using unlocked metamask account. I mean over internet it is advised to use HDWalletProvider with mnemonic but I want that user that ...
1
vote
1answer
633 views

How to recover/find metamask wallet file

So I had foolishly kept my metamask passphrase only on StickyNotes. This meant when my computer crashed, I had to reinstall all my programs, but all my files remained. For some reason my stickynotes ...
2
votes
1answer
98 views

Set method name for MetaMask history

I have a question about the Metamask UI. Is it possible to set custom transaction method name for metamask history to make it more user-friendly? I want to rename "Bid" (default method name) to "Made ...
0
votes
1answer
112 views

Internal transactions on Rinkeby - Metamask, ICO through wizard.oracles.org

I have tried to play with solidity and smart contracts. I created "ICO" through wizard.oracles.org on Rinkeby network. Then I tried to send ethereum there from 2nd account, I received tokens on that ...
4
votes
1answer
98 views

How to automatically get user's wallet info if they are connected but NOT show the metamask pop up if they are not?

I don't want metamask to pop up on page load forcing a user to connect, so we only connect via a button - but after a user is connected if they refresh the page - they need to press the button again ...
0
votes
0answers
14 views

Localhost3000 not recognizing Metamask walllet

I have run npm start and have connected my metamask wallet via a custom RPC ganache host: 127.0.0.1: 8545 with chainID 0x539 on metamask. The ChainID i am not sure about as when I entered the NewRPC ...
0
votes
0answers
14 views

trying to transfer HEX token from my mobile(android) metamask wallet to my laptop(chrome) metamask wallet

Didn't comprehend what a headache MetaMask (android) was going to be. Long story short, gave up trying to stake HEX tokens from my mobile device. I went to my laptop and discovered the android/chrome ...
0
votes
1answer
73 views

how to send parameters to smart contract while deploying using metamask

I am trying to deploy a smart contract using BrowserSolc and Metamask. and deployed successfully when the contract doesn't have constructor parameters but now I am trying to deploy with the ...
1
vote
1answer
232 views

by using truffle & metamask deployed my contracts, but a error occurred when sending a transaction on web

This is the err information. This is the web I built. Now the problem you see is that when I click the vote button, pay the gas, and send a transaction, but than error occurred. I write my program ...
0
votes
2answers
164 views

Why the Ropsten test net I created have old transactions?

I created Ropsten testnet account through Metamask. But in Etherscan, it seems that it is already used account, because it has some already made transactions. Why this happens?
1
vote
1answer
16 views

MetaMask - lost connection when page is loaded on browser launch

When launching a Chrome/Firefox Tab ethereum.send is never resolved. The following warnings occur: contentscript.js:1 MetamaskContentscript - lost connection to MetaMask Background Multiplex s @ ...
5
votes
1answer
277 views

Native mobile Dapp - Sign transactions with user wallet

I'm starting a new project that involves a mobile Dapp and I have a question regarding signing transactions. Every mobile Dapp post that I read about offered two solutions: Use a Dapp browser, such ...
0
votes
1answer
32 views

ERC20 tokens in Metamask suddenly not showing

I've been using Metamask in Chrome for a while and had a list of ERC20 tokens in Ropsten network already added in the Assets section through their contract addresses: DAI address: ...
1
vote
0answers
19 views

Get rid of MetaMask warning

I am using web3 with MetaMask. When injecting web3 I get the following warning: MetaMask: We will stop injecting web3 in Q4 2020. Please see this article for more information: https://medium.com/...
1
vote
1answer
21 views

Can the different accounts of a single Metamask user be linked to each other?

So you are a user in a single instance of Metamask with an email/pwd. If I create different addresses inside the MetaMask instance, is there a way that a third party can find out all of my Metamask ...
2
votes
1answer
78 views

Accessing non-active account on metamask

I want to transfer ownership of an already notarized file with a particular address. I am using smart contract and representing ownership by "msg.sender" i.e. selected account in metamask is the ...
3
votes
2answers
297 views

Signing transactions with Ledger Nano S on Ganache with Metamask

I am trying to sign transactions and move funds on a private Ethereum Blockchain with my Ledger Nano S on MetaMask. So far I have tried to do so in Ganache and via blockchain setup via custom RPC. ...
0
votes
1answer
12 views

Getting 0 holder on Etherscan testnet despite having token transactions through DAPP

Recently, I've created a token and it is pure ERC-20 Compliant...I've sent some token to another address but when I see it on rinkeby testnet etherscan web page it shows 0 holder despite having the ...
0
votes
0answers
25 views

window.ethereum.on event listener — disconnect metamask

Does anyone have any luck with the window.ethereum.on('disconnect', error => console.log(error)) event listener?? I have tried using it and check to see if window.ethereum is still connected after ...
1
vote
1answer
120 views

How to detect and replace the transaction details that stored in local when user retry the transaction with higher price using Metamask

For a web application i stored the transaction id of an activity. if the user retry the transaction with a higher gas price in metamask(in case of the transaction take too long, metamask gives this ...
0
votes
0answers
25 views

window.ethereum.request does not exist on type “isMetaMask, on, removeListener”

It might be a pretty simple question for most, but how do I use the request method on window.ethereum if it does not exist? I see all sorts of properties and methods in the metamask docs, but when I ...
1
vote
1answer
799 views

Transaction Failed but showing as Pending on Etherscan

So I just started using ether after the same was legalized in my country (India). I use Coinbase Wallet for my Storage of ether. I decided to shift to Metamask from Coinbase Wallet and as such ...

1
2 3 4 5
22