Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

0
votes
1answer
10 views

connect users to the sidechain SKALE

SKALE is Ethereum Dapps to run high speed, Low cost smart contract layer. I wish to connect users to the sidechain SKALE,from their browser. automatically without the manual change as necessary for ...
0
votes
1answer
15 views

Metamask not returning current account address with web3js and ganache

How to return the address of my current account from Metamask? I have tried with web3.eth.getCoinbase() but this and metamask has two different address. web3.eth.getCoinbase() returns me the first ...
0
votes
0answers
21 views

How long does a smart contract typically take to complete?

I have been developing an application using a smart contract, the application is similar to this one: https://www.ethereum.org/crowdsale I went ahead and initiated a request, below is the codebase ...
0
votes
0answers
15 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 ...
0
votes
1answer
14 views

How does the MetaMask work with gas?

I have some web application based on Ethereum. This is how I call some function from a contract: contract.doSomething.sendTransaction(data, {gasPrice: web3.toWei(10, 'Gwei')}, callback...); This ...
0
votes
0answers
19 views

ALERT: Transaction Error. Exception thrown in contract code in Metamask [on hold]

I have deployed the contract in ropsten, when is put the package id from front end UI its showing the metamask error, i have increased the gas to fix this but even its showing the same error: ...
1
vote
1answer
11 views

Return each struct value from a key inside a mapping, where the key is also a value from array inside another mapping

I have a project that I'm working on and I'm trying to figure out a way to do as the title says. I'm looking for the easiest and/or cheapest way(gas wise) and since I'm stuck I'm open to better ways ...
0
votes
0answers
14 views

Send ether from one wallet to another

I have two metamask accounts and what I want to do is send ether between those accounts. For the interaction between those accounts, use infura, I give the address of both accounts but in the end the ...
0
votes
0answers
25 views

I keep getting this error on my metamask extension “Transaction Error. Exception thrown in contract code.” [on hold]

Here's my code pragma solidity ^0.4.6; contract CampaignFactory { address[] public deployedCampaigns; function createCampaign(uint minimumAmount) public { address newCampaign = new ...
0
votes
0answers
17 views

My MetaMask is not loading token data, what is a mobile app that can import the MetaMask Private Key?

It's not loading any of my tokens for some reason for Metamask. I can extract the private key from this address. But what is a mobile app that can import a ETH private key? And is there one for ...
0
votes
1answer
21 views

Issue when trying to start a private chain on aws

I am getting this error since today. Till yesterday everything was working fine but now when i use the same command to start a node im getting this weird error "flag provided but not defined: -...
0
votes
0answers
25 views

MetaMask - Multiple transactions confirmation

Is it possible to somehow make one pop-up window with one group confirmation for multiple transactions in MetaMask? I need to send to the blockchain multiple pieces of data, 1 piece of data = 1 ...
0
votes
0answers
15 views

Solidity, Web3 - Invalid number of arguments to Solidity function when I have correct number

I created smart contract and I deployed it on Ropsten network using Truffle. I tested it from Remix and it works. I have there 2 view with a same name checkInputData but different number of parameters....
0
votes
0answers
8 views

Metamask window position [on hold]

Is there a way to change the position of metamask popup window? When I interact with a dapp in a browser on the third monitor metamask appears on the first monitor. This is a very irritable behavior.
1
vote
1answer
14 views

Metamask Error messages shows only revert

I have a little problem with the error messages I receive from MetaMask. In my dApp I have a modifiers which should throw an error with an error message. However, in MetaMask I only receive the RPC ...
1
vote
2answers
20 views

etherum.enable() not opening Metamask

Is there any reason why ethereum.enable() would not open the metamask console? It was working briefly and now I cannot get any response from it.
0
votes
0answers
35 views

Smart contract hanging in react

I'm trying to make a call to my smart contract and write data to my blockchain, which is successful. However, after that completes I want to make an entry in a firebase database. The code appears to ...
0
votes
0answers
7 views

Logout of MetaMask with API

Is there a way to logout of MetaMask from my own frontend, allowing the user to logout with a button rather going up to the Metamask extension and logging out through the traditional manner?
2
votes
1answer
231 views

Issue with New version of Metamask: Remix cannot detect the Metamask address

I have just installed Metamask version: 6.3.1 Now in Remix, the address of my account in metamask is not detected. The account box in remix remains always blank now (see picture below). Note that I ...
0
votes
2answers
23 views

Is it possible to use MetaMask for a private consortium on Ethereum?

Assuming we create a private consortium chain over Ethereum and we want to use MetaMask for storing the keys and signing transactions to send the tokens belonging to this private consortium. ...
0
votes
0answers
31 views

Metamask is not injecting account into remix IDE [duplicate]

I am working on remix and I have logged into metamask, but seems metamask is not injecting account into remix IDE. screenshot is attached. I have tried re-installing the metamask. I have tried re-...
0
votes
1answer
19 views

No “from” address specified in neither the specified in neither the given options nor the default options

So I already went through this query, but I still couldn't get my doubt solved. Be it any Blockchain Dapp, the same error is coming for me. I used the marriage certificate and kickstart examples. Can ...
0
votes
1answer
167 views

Metamask address not detected on remix-ide

My Metamask address wont show up on remix-ide either run on localhost and remix.ethereum.org I also have tried it on brave and chrome, none of them show the address. please help me :(
0
votes
1answer
16 views

Request user to sign state changing transaction with metamask using Infura and web3js

Can't seem to find the right function to ask the user to sign a transaction via metamask, this is my code so far: const bet = '102500000000000010' const account = '...
0
votes
1answer
13 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 ...
0
votes
1answer
19 views

How to prompt and create Smart Contract using React

Weird question, so I have created a smart contract, verified that it works, even deployed it using Web3, Metamask and HTML/Javascript. I understand that worked. Now I am trying to integrate it into ...
0
votes
0answers
22 views

ETH send to contract fails, probably fallback() function fails to call

I deployed the following piece of contract on testnet and everything works fine.But, when I send test ETH for the contract address, transaction fails. I tried with higher gas as well but failed as ...
0
votes
0answers
28 views

prompt for metamask unlock

Is there a way to automatically open metamask unlock prompt ? Since I am able to detect metamask is available, instead of redirecting user to unlock.html I would prefer to try automatically prompt ...
0
votes
1answer
24 views

Mobile android app that can import a Metamask private key?

I'm having some issues sending out from metamask and getting failed transactions. I think maybe I should use another app on android if possible. What android wallet apps can import a Metamask private ...
1
vote
1answer
29 views

Metamask Failed transaction when sending out BAT tokens

I've been trying to send some BAT tokens out of my metamask wallet for quite awhile and it keeps eating up all my eth gas fees. I even increased the gwei fee to 100 and paid .50 USD as the fee. And it ...
1
vote
2answers
32 views

How to add an address for which I have the corresponding private key into MEW?

I'm quite new to Ethereum, so, pls, forgive me if I say something wrong. How can I see the balance of one already existing address, for which I have the corresponding private key, in MyEthereumWallet?...
0
votes
0answers
7 views

How to get Metamask return the rawTransaction from the JSON transaction?

I am in the process of exposing a web interface to interact with a back-end Web3 Json Rpc compatible node, but it is necessary that I add additional parameters in the jsonrpc request before submitting ...
0
votes
1answer
40 views

Cannot read property 'sendEth' of undefined, 'sendEth' is function in smart contract

Hi I'm trying to interact with an Ethereum smart contract but it is always showing "TypeError : Cannot read property 'sendEth' of undefined" where 'sendEth' is a function in my smart contract Here is ...
0
votes
1answer
19 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, ...
1
vote
0answers
23 views

scatter confirmation for sign a transaction?

I have built an dapp. It's almost like twitter where the user can tweet and also use as a microblogging site in blockchain.I have used scatter as transaction signer for using my dapp. The real problem ...
0
votes
0answers
37 views

How to keep user's selected account and network from MetaMask updated.?

So the question is pretty straight-forward. I can setup the web3 provider no problem (currently using Metamask + local ganache), i can access the acount the user selected in the first place, and i can ...
1
vote
0answers
46 views

metamask and infura - Managing and signing with private keys

I am using Infura as a node for my DApp so I need to send raw transactions by signing them. These transactions can come from multiple users of an application so each user must sign and send a raw ...
0
votes
0answers
12 views

Can I avoid metamask popups with calls to a server-side js script in order to pay for transactions?

I have a dapp that allows a user to input some info via the GUI, and this info is stored to the blockchain(testnet for now) when the user presses a button. This naturally incurs a cost, which causes ...
0
votes
1answer
114 views

Difference between window.ethereum and window.web3?

If I log the two functions, I get two objects, that both contain for example selectedAddress, but the structure of the objects seem different. I couldn't find a comparison in the documentation. I ...
0
votes
0answers
33 views

Metamask not connected with web3.js

if (typeof window.web3 !== 'undefined') { web3 = new Web3(web3.currentProvider); } else { // set the provider you want from Web3.providers window.web3 = new Web3(new Web3....
0
votes
1answer
18 views

how to connect my html form that is username and password to blockchin and taking the username as metamask key?

I am developing a decentralized cloud web application, when the user will login into the application he/she will generate password from blockchain, I am not getting how to connect my html form that is ...
1
vote
1answer
28 views

Token real synchronization from my website

I like to integrate a real token synchronization (From distributer wallet account to user's wallet address the token need to transfer) in my website. My website needs to interact with the blockchain ...
0
votes
0answers
8 views

Metamask browser apps reusing Truffle tests?

After reading the documentation about metamask (https://github.com/trufflesuite/trufflesuite.com/blob/master/src/docs/truffle/getting-started/truffle-with-metamask.md) is not clear to me whether it's ...
1
vote
0answers
176 views

The object could not be cloned. && DOMException: Failed to execute 'postMessage' on 'Window'

When I try to sign a message with this simple function const signatue = await window.web3.eth.sign(hash, userAddress) I get an error. In firefox I get Unhandled promise rejection DOMException: "The ...
1
vote
1answer
33 views

Can't sign data with personal.sign

I requested active account address from Metamask and received it successfully. After that I tried to authenticate user by signing data with eth.personal.sign, but getting errors unfortunately. ...
0
votes
1answer
31 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 ...
1
vote
1answer
24 views

Is it possible to show multisig wallet transactions on metamask?

I am trying to implement multisig wallet, where one contract address is set as a wallet with multiple owners. I want to show multisig transactions on MetaMask. Is it possible to do that? My contract ...
0
votes
3answers
327 views

Metamask – Trying to call a function on a non-contract address

I am receiving the following alert from Metamask. ALERT: Trying to call a function on a non-contract address. The address is most certainly a contract address, I can interact with it perfectly ...
1
vote
1answer
74 views

How to use local Metamask account with Infura Node [duplicate]

I'm building a DApp using web3js that sends ERC20 Tokens from a browser Metamask account to an escrow contract on the Rinkeby testnet. I'm using a Rinkeby node from Infura, and when I call web3.eth....
2
votes
1answer
43 views

Generating passPhrase

Does anyone has idea how metamask generates the passPhrase. I was looking in github for related files but unable to figure out how exactly the things are done.