Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

Can the Android Metamask Extension be used with DApps?

I've successfully downloaded the Metamask Firefox Add-on, and imported my wallet into it. However I'm failing to see how I can use this add-on from within my DApp like I do on Chrome, using the ...
0
votes
1answer
69 views

Not able to connect metamask account with remix

Error: - Cannot get account list: Error: The method personal_listAccounts does not exist/is not available. Pop containing above message appears again and again. Privacy Mode in metamask is disabled....
0
votes
0answers
34 views

MetaMask Calling Child Contract Methods?

I had created a contract(Organisation.sol) that create other contracts(Session.sol). When I call any method from(Organisation.sol) using web3js it work well. But If I ever tried to call any method ...
0
votes
0answers
11 views

Account & Block Polling not happening properly for the DApp in Trust Wallet Browser

my DApp works fine in desktop/laptop using metamask which polls the accounts and blocks (1500ms and 3000ms respectively), as set in the drizzle options. But the same DApp when I open in trust wallet ...
0
votes
0answers
15 views

Help needed: MetaMask crash reason?

I am experiencing an issue of MetaMask but I do not know how to track down if this is due to MetaMask itself or due to my dapp. Following problem: I load my webpage in Chromium on Linux and log in to ...
0
votes
0answers
22 views

Can't Connect Metamask to Ballot Dapp?

I want to connect Ballot Dapp to Metamask but it Shows "rpc error with payload" and "ALERT: Trying to call a function on a non-contract address".
1
vote
0answers
27 views

Where Metamask store Keys? [duplicate]

When a user enter his private key on metamask, where it store in metamask ? Can metamask access this key through any activity ?
2
votes
1answer
43 views

How to import account to metamask using private key through code?

I am trying to create an application where each user is assigned his own private key and he needs to manually import the account in Metamask extension and then he can proceed with the transaction. Is ...
0
votes
1answer
85 views

How to connect with Metamask and Smart contract?

I am ready with my frontend design. I have only 3 files HTML, CSS, and JAVASCRIPT. So, I didn't create any project or DAPP to have other files. Now next step is to connect with metamask and smart ...
2
votes
1answer
40 views

Metamas - Infura problem. Cannot read property 'currentProvider' of undefined

I got a problem. I am using code below to connect to the eth from node.js app. Everything works perfect as long as I have installed MetaMask in my browser. I can be logged in, logged out, all good ...
2
votes
1answer
81 views

Remix + Metamask: The method personal_sendTransaction does not exist

I'm trying to deploy a contract to the Rinkeby Test Network through Remix and Metamask. Metamask seems to be properly configured: However, at Remix Run tab, the address dropdown shows no accounts: ...
0
votes
1answer
51 views

how to send transaction from different account in metamask

I have two accounts in metamask, when I called the function, web3 always used my default account in the metamask, I want to send transaction to the smart contract I deployed with another account, so ...
0
votes
1answer
135 views

Web3js :interact with smart contract

I'm currently struggling to interact with my smart contract, I don't if it comes from the way I call the function or the way I connect to my smart contract. Here is the code const contractAddress = '...
0
votes
1answer
238 views

Why am I Getting: Transaction Error. Exception thrown in contract code in Real?

WE Had Create A Dapp Like POWHD, we Already Deployed It And Some Of Transactions Are Already Done well. But After Some Time The issue I'm encountering with my real contract (Dapp) is that trying to ...
0
votes
2answers
28 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
2answers
260 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
1answer
41 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
198 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
54 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 ...
1
vote
1answer
36 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
24 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
58 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
0answers
101 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
62 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....
1
vote
1answer
87 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 ...
3
votes
4answers
554 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
41 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
1answer
80 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
2answers
835 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
29 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
50 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
66 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 ...
1
vote
1answer
431 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
59 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
38 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
91 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
31 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
173 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
137 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 ...
2
votes
1answer
288 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
367 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
15 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
57 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
21 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
45 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
84 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
128 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
25 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 ...
1
vote
1answer
852 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
100 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....