Questions tagged [metamask]

Question about the Metamask chrome's plugin.

881 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 votes
3 answers
1k views

TestRPC and Metamask: hanging on pending transactions

I'm using Remix and connecting to Testrpc via Metamask. I can successfully launch contracts to testrpc, but then it hangs on the subsequent calls that Remix makes to the public methods (Remix says "9 ...
will_durant's user avatar
  • 1,154
9 votes
2 answers
647 views

Parity-like Solution for using Ledger Nano Anywhere

I'm looking for a "Parity-like" solution so that I'm able to use my Ledger Nano on any Ethereum-powered website that doesn't support a Nano natively (something like Radar Relay). I know I can do this ...
RBizzle's user avatar
  • 145
9 votes
2 answers
394 views

Error importing transaction: Transaction(InvalidChainId) in Private POA

Problem I am trying to send some transactions to my private chain, and all transactions are getting failed. I am receiving this error: Error importing transaction: Transaction(InvalidChainId) ...
Ayushya's user avatar
  • 1,698
7 votes
2 answers
603 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 ...
rGonzalez's user avatar
  • 111
6 votes
0 answers
4k views

Can gas price and amount of gas be automatically set by metamask, or are they required to be set via code in web3.js (EIP-1559)?

I am using web3.eth.Contract to deploy a smart contract to the ropsten testnet. To interact with metamask I am using window.ethereum. I deploy the contract via the code below that I found on https://...
Slaven Tojić's user avatar
5 votes
0 answers
151 views

Retrieve MetaMask version in web3.js

Is there a way to determine the version of the currently installed MetaMask extension from web3.js? I can't find it by inspecting the Web3 instance.
pors's user avatar
  • 433
4 votes
2 answers
815 views

How do I put an Ethereum address in an HTML link?

I'm sure I've seen this done, but I cannot for the life of me remember where. I'm writing a simple HTML page, and on it I'd like to have an Ethereum address as a clickable link, so people with Web3.0-...
ccconforti's user avatar
4 votes
0 answers
525 views

Is it possible to access MetaMask functionality for integration testing?

I'd like to be able to access MetaMask to test potential user actions. I doubt it's possible to directly simulate sending transactions, but what I hope I can at least confirm is that transactions are ...
SuperCodeBrah's user avatar
4 votes
0 answers
12k views

Get RPC URL / IP of Metamask's current provider

Suppose I have multiple copies of the same dapp running on different servers which do not directly communicate with each other, for testing purposes, and can manually interact with different dapp ...
WBT's user avatar
  • 565
4 votes
0 answers
941 views

How to export extended (master) public key from MetaMask

I want to export extended public key for watch-only access to all ethereum addresses in the MetaMask HD wallet at once. It's very usefull for tracking of all portfolio/wallets in one place, especially ...
Artyom Krivolapov's user avatar
4 votes
1 answer
486 views

How can I use swarm with metamask or parity node?

I want to use swarm, but I wan't to download the all blockchain data. Is it possible to use metamask or parity node instead?
dingdang's user avatar
  • 175
4 votes
2 answers
8k views

MetaMask transaction rejected

Why transactions are rejected in MetaMask after conforming it? When a transaction is carried out in metamask it first get approved. after sometime it shows rejected. metamask is showing something like ...
user8106215's user avatar
4 votes
2 answers
6k views

Send Multiple transactions in ethereum from an eth address

I don't know if this question was already answered but my question is about a normal wallet address and not a smartcontract. So what I want to do is to launch multiple transactions with small gaz ...
rsabir's user avatar
  • 141
4 votes
1 answer
1k views

How deploy a smart contract with meteor and metamask?

I will deploy a smart contract with meteor and matamask. My code in main.js : var inactivityTime = 1000; var continuityContract = web3.eth.contract(Continuity.abi); var continuity = ...
n1c01a5's user avatar
  • 294
3 votes
0 answers
116 views

Metamask Token Balance

When Metamask gets the balance of an erc20 token, does it call the balanceOf(...) function on the token contract? Context: I am trying to implement a token with lockable functionality. With this token,...
Daniel's user avatar
  • 31
3 votes
0 answers
542 views

Bypassing metamask notice about "Insufficient funds for gas"

I wish to make a transfer of the remaining ETH from one wallet to an other. Trying to do it from metamask, it prevents me to do so with the "Insufficient funds for gas" error. Event though ...
challet's user avatar
  • 131
3 votes
2 answers
2k views

How do I wait for confirmation in metamask/ethers before proceeding

The following function happens when a user clicks a "withdraw" button in my dapp: const canUserWithdraw = async () => { if (b <= a) { alert("You can ...
ComicBookGuy's user avatar
3 votes
0 answers
426 views

How can I do contract call transaction from Metamask qr code scan?

I have a payable function in the smart contract that takes some ether from the sender and does some tasks. I want to generate QR code for this contract call transaction so that user can scan and ...
Abishek Bashyal's user avatar
3 votes
0 answers
481 views

Import NFTs data from Metamask

Goal: Sign in to the server with Metamask (done), import information to the server about NFTs from a wallet (not done) to our platform (trading platform similar to Opensea). Problem: Metamask uses ...
Dmytro Nasyrov's user avatar
3 votes
1 answer
2k views

How to get a list of all token holders using ethers.js + metamask

Is there any way, using ethers.js and metamask, to build an array of all current token holders? I would need this to my project which I'm currently working at. I know I can download the entire ...
Radek_pl's user avatar
  • 761
3 votes
1 answer
208 views

Which Wallets Support Login With MetaMask Concept?

I'm building an exchange service where I have all users deposit ETH and ECR20 tokens to a single Ethereum address (In order to avoid complications of having to consolidate funds & paying extra gas ...
S.O.S's user avatar
  • 181
3 votes
1 answer
682 views

Loader when confirm clicked in metamask

I want to add a loader to UI when there is a click on confirm transaction popup on metamask. When user clicks on confirm I want to show the loader until the transaction is confirmed. Is there a way to ...
yash vadhvani's user avatar
3 votes
0 answers
129 views

Parity Ethereum Metamask

I have setup one test node on my machine. When trying to connect to Metamask, I keep on receiving below messages on the node console and am unable to connect with node using Metamask. 2019-06-14 14:48:...
Siddharth's user avatar
  • 105
3 votes
0 answers
253 views

How to get v,r,s parameters from transaction receipt in remix ide?

I am trying to get v,r,s parameters of a transaction so that I can use them to verify the signature. I am not sure but I think previously remix used to give these parameters in transaction receipt. I ...
Shubham Chadokar's user avatar
3 votes
0 answers
232 views

how to use getPublicEncryptionKey from eth-sig-util in a Dapp

The metamask repo includes small collection of ethereum signing functions: https://github.com/MetaMask/eth-sig-util There is a function (not exposed in readme section) named getEncryptionPublicKey ...
Marty's user avatar
  • 31
3 votes
2 answers
1k views

Ether is not reflecting in my Metamask account

My friend has transferred me some ether to my Metamask account but the ether hasn't reflected in my wallet. But in the ether scan, it is showing that my transaction was successful. What can I do to ...
Mani Chandra Teja Gaddam's user avatar
3 votes
0 answers
164 views

Quorum :- metamask do not support privateFor feature of quorum

i got to know that metamask do not support privateFor because of which private transaction for quorum dapp was not behaving as expected. so, I can't use metamask for my quorum DApp to switch port and ...
Surbhi Audichya's user avatar
3 votes
0 answers
1k views

NetworkError when attempting to fetch resource. Resource URL: moz-extension://2.../contentscript.js Source Map URL: ../sourcemaps/contentscript.js.map

I get the following error message in Firefox Developer Tools Console following a successful sendTransaction: "Source map error: TypeError: NetworkError when attempting to fetch resource. ...
trymriverman's user avatar
3 votes
0 answers
258 views

Where is the latest MetaMask hello world dapp example?

MetaMask recently added a new permissions check. I'd like a copy-pasteable hello world dapp that includes all best practices and can check the balance of the current user's ERC20 balance for some ...
William Entriken's user avatar
3 votes
1 answer
263 views

Remix + Metamask not fetching any values

I have a simple test contract that stores a hash and I deployed it via Remix and Metamask pragma solidity 0.4.25; contract Hash { bytes32 hash; constructor(bytes32 _hash) public { ...
Daniel Gretzke's user avatar
3 votes
1 answer
243 views

Function to return tuples throws error on frontend

I have similar functions like this and they work fine: function getBarsOfParticipant() external view returns (uint256[], uint16[], bool[]) { uint256[] barIds = participantToBarIds[msg.sender];...
Mindful's user avatar
  • 393
3 votes
0 answers
926 views

How to sign transactions using metamask while developing in nodejs?

I am developing an application in nodejs. I need to interact with my smart contract and also want to sign the transaction using metamask as I don't want to manage they keys. I copied the following ...
Nikhil Yadav's user avatar
3 votes
0 answers
1k views

Cannot read property 'EIP712Domain' of undefined

I get this when trying to recover the address using eth-sig-util as described here. The code is very simple and this is all it contains: var sigUtil = require('eth-sig-util') var recovered = sigUtil....
shaharsol's user avatar
  • 529
3 votes
1 answer
1k views

Metamask Cannot Open (loading white screen)

I just tried opening Metamask, but it is not opening and displaying whitescreen with below errors in console : Error : MetamaskContentscript - lost connection to MetaMask Contentscript Forwarding ...
BTC Everyone's user avatar
3 votes
0 answers
4k views

Does MetaMask provide access to acount's keystore file?

I am looking for my account's keystore file. I know usually this is only available through geth. MetaMask already provides the private key, but I'm not looking for the the private key, I'm looking ...
Nicholas Porter's user avatar
3 votes
0 answers
149 views

Not able to successfully do transactions of default MetaCoins(from Truffle) on local testnet on MetaMask

I have installed truffle and ran the default contract provided by truffle. I successfully compiled,migrate and put the default dapp on local testnet http://localhost:8080/.I am able to see the dapp ...
sauravs24's user avatar
2 votes
0 answers
351 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:
Emanegux's user avatar
  • 123
2 votes
1 answer
128 views

react ethersjs metamask with Custom RPC provider

in my react app i want to use alchemy/someother-provider RPC and i want to use metamask as singer ( window.ethereum ) how to i set that ? my current code : var provider = new ethers.providers....
heelowyou's user avatar
2 votes
2 answers
107 views

Best way to programmatically get an eth address

I am wondering what the best practice is to get an eth address and send it to an API. Ideally, I am looking for a simple interface to grab the eth address and send it to the API and then send that eth ...
AAMCODE's user avatar
  • 133
2 votes
1 answer
2k views

"gas estimation failed" error using Uniswap. Can't fix it, please help

I can't sell alt-tokens back into ETH. This is an issue with multiple tokens, not just one and they all have very high liquidity ($Kabosu and $OHMI). I immediately get the error 'gas estimation failed'...
UniSwapper's user avatar
2 votes
1 answer
602 views

Deploy smart contract with metamask ethers.js and ganache

I want to deploy smart contracts on front-end with metamask address as deployer. To do that, I first compile the smart contract with Remix and put the json output on my React project (I use Ganache to ...
Silta's user avatar
  • 31
2 votes
0 answers
3k views

Where do I find my public key in Metamask?

The official guides suggest this, but it's the address. Where should I be looking?
Boris K's user avatar
  • 197
2 votes
0 answers
428 views

How to get balance on metamask all network [bsc , eth, cro, etc] using web3modal

how to display the balance for metamask using web3modal with various networks, for example I am on the mainet bsc network I display the bnb balance, and if I use the ether network what appears is the ...
Changemind's user avatar
2 votes
0 answers
363 views

MetaMask RPC API 'This message cannot be decrypted' using eth_decrypt

I am attempting to encrypt an image, post to IPFS, get the image back from IPFS and decrypt. I have successfully achieved this with string data with no issues. When I try to do the same with image ...
Amber's user avatar
  • 21
2 votes
0 answers
204 views

Prompting Metamask window if user is not logged in?

I am trying to get user wallet address. The problem is that if Metamask is not logged in, it won't show any message. The below code will log 3 but not 4 if user is not logged In. So no error or ...
user1324762's user avatar
2 votes
2 answers
3k views

disconnect wallet from metamask using ethers js

I've created a website on WIX (a web editor) and thought that I could add my code to engage with metamask and the smart contract that I've created, turnes out that wix doesn't support web3 so I ...
Shalev David's user avatar
2 votes
2 answers
1k views

ERC20 Token deployed to Ganache not seen on Metamask

I connected my truffle project to the ganache network. Also I added ganache network into the metamask. After deploying erc20 contract to ganache, I can see my account's token balance on truffle ...
Salih Cemil Cetin's user avatar
2 votes
0 answers
348 views

Metamask Error Cannot set properties of undefined (setting 'loadingDefaults')

For the past few days I am below error from metamask. It occurs sometimes and sometimes the transaction is successful. It occurs when I try to transfer tokens from one account to another. The approve ...
Usama's user avatar
  • 65
2 votes
0 answers
589 views

How can i show the icons to connect my wallet from my mobile?

My code works very well on desktop, but when i tried on mobile (open console for developers click on cellphone and reload) does not appear the buttons to connect to metamask or fortmatik, or coinbase ...
react1's user avatar
  • 25
2 votes
3 answers
1k views

What is the Chain ID for Metamask associated with truffle develop?

I was following a tutorial but found out that it is outdated. Inputting 'truffle develop' in bash states that it started on "http://127.0.0.1:9545/." However, when I try to connect Truffle ...
Cheetah's user avatar
  • 53

1
2 3 4 5
18