Questions tagged [metamask]

Question about the Metamask chrome's plugin.

1
vote
0answers
8 views

Where can one get token fee calculations instead of it keep eating up my ETH for gas for guessing the gas limit?

This is kind of ridiculous, every time I try to send out tokens to another address from metamask, it fails. I doubled my GAS limit from 20K to 70K and it still fails. Where can one even find the ...
2
votes
2answers
41 views

Metamask injects one account in web3, but calls contracts using another account

Building a React app, MetaMask injects web3, I get accounts[0] from getAccounts(), then pass it to my contract functions together with other parameters. I want my modifiers to lock incoming function ...
0
votes
1answer
13 views

What is the difference between web3 and window.web3

I'm very used to using web3 = new Web3(web3.currentProvider) and I saw here that MetaMask sample code is using window.web3 = new Web3(web3.currentProvider) What's the difference between using and not ...
0
votes
2answers
14 views

Can't get MetaMask wallet address on Firefox but Chrome is fine

I'm trying to get the current wallet address of MetaMask on my Firefox 67 but I keep getting nothing (empty array), except it says my MetMask is locked. But on Chrome 74 it works. FYI, my MetaMask is ...
0
votes
1answer
19 views

MetaMask - RPC Error: Error: WalletMiddleware - Invalid “from” address

I'm trying to create a simple Dapp (via tutorial) which would allow me to send Ether from sender to receiver (via a contract with an address that automatically approves the transaction). The truffle ...
0
votes
1answer
158 views

ERC20 token with expiration date

I would like to create a ERC20 token with an expiration date to represent for example a ticket or a gift card. I've created a contract which overrides the open-zeppelin ERC20 contract methods. ...
-2
votes
0answers
17 views

how to solve this error

> (node:23560) UnhandledPromiseRejectionWarning: ReferenceError: > ethereum is not defined > at connector.start.then (C:\Users\Vishal\Desktop\metamask\metamask.js:12:3) > at ...
0
votes
0answers
12 views

Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Window'

let web3Provider = web3.currentProvider; let ethersProvider = new ethers.providers.Web3Provider(web3Provider); Using the web3 current provider for creating the ethers provider causes a uncaught DOM ...
-2
votes
2answers
17 views

Can't seem to find MetaMask

I've opened Chrome extension and downloaded the Brave search engine. However, even though I've selected to show MetaMask in my tool bar it's not showing anywhere and I don't know how to access it. So, ...
1
vote
1answer
20 views

How to export mnemonics for a specific account in MetaMask

How can I get the mnemonics from a specific account in Metamask? I found the reveal seed words in the settings-dialog, but this seems to be something global. Instead of this I want to export the 12 ...
0
votes
0answers
22 views

Metamask transactions keep stack at the txpool of a Quorum Private Network

System information Geth version: 1.7.2-stable-0905eda4 OS & Version: Ubuntu 16.04 Branch, Commit Hash or Release: HEAD detached at v2.2.1 Actual behaviour and Steps to reproduce the behaviour ...
1
vote
1answer
30 views

where does the metamask fits in Dapps architecture?

i am learning building Dapps. And i got to know to know about metamask. I've read about metamask is an ethereum wallet which we can use to sign Tx's without running a full node and inject web3 to ...
2
votes
1answer
58 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: ...
2
votes
1answer
96 views

Ether balance on Metamask doesn't change after selling tokens

I create a smart contract successfully using Remix IDE , Metamask and Ropsten for testing. I want to sell some tokens using Sell function, so I specified the value "20" for Sell function ,my initial ...
0
votes
1answer
100 views

Sending Ether from private Geth node to Mist Account

I have Sended Ether from my private geth node to an another account created by metamask. I have choosed custum RPC to metamsk, with the valide IP and Port, Also i have activated rpc in my geth node. ...
0
votes
0answers
19 views

How to import account of metamask in js? [closed]

ethWeb3.eth.getAccounts((error, accounts) => { console.log(accounts[0]); $('#currentAcntDisplayID').text(accounts[0]); ethWeb3.eth.defaultAccount = ...
0
votes
0answers
30 views

Why this error occurring when i running my dapp?

I create a dapp using Solidity,Web3Js,Javascript and Html with metamask i always getting this error when i am trying to submit my transition i am getting this error at c (inpage.js:1) at ...
0
votes
1answer
30 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 ...
0
votes
3answers
104 views

Crowdsale tokens count is not reducing even user gets the tokens to his account

I had created 100 million tokens and created a contract for crowdsale in test network If user sends a 1 ether using contract address i am able to receive 1 ether and send 1000 tokens to user who send ...
1
vote
1answer
54 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
2answers
43 views

Why web3.version.api shows undefined for web3 1.0 and not undefined for web3 0.20.3?

I'm trying to use MetaMask and web3js to talk to my smart contract. Below are my test codes. This is without defining a web3 js file and I get the result "0.20.3" at console. <script> window....
0
votes
2answers
2k views

How to connect metamask private network node on VM

Hello i'm currently I have my chain running inside my virtual machine (with Ubuntu 16.04) and my PC (running Windows 10). NodeJS is running a server which i can access from http://192.168.0.108:3000/. ...
0
votes
1answer
115 views

What is the equivalent of solidity to perform ethereumjs-abi.soliditySHA3?

I am trying to tightly pack some typed-data (array of structs or nested JSON) and generate SHA3 hash from it. In JS, I can use ethereumjs-abi.soliditySHA3() method, ethAbi.soliditySHA3( ['...
1
vote
1answer
44 views

How to measure size of stored data in the blockchain?

I know that remix can measure the execution cost and transaction cost. I want to measure the storage overhead ( Size of data in Bytes) on creating a contract on the etherum blockchain or calling a ...
0
votes
1answer
35 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
3answers
660 views

Send Transaction failed : invalid address

Trying to execute a transaction on Remix IDE which is connected to the Ethereum blockchain via Metamask.io Google Chrome extension. Send transaction failed: invalid address . if you use an injected ...
0
votes
1answer
40 views

metamask and web3: Invalid number of arguments to Solidity function

my function has only one input string description : function createProposal(string description) { Proposal memory p; p.description = description; proposals.push(p); } and ...
1
vote
1answer
1k views

Getting “Error: unknown account at Object.InvalidResponse” when appication is connected to private network using metamask

My Contract is: pragma solidity ^0.4.8; contract Awards { address public owner; string  public name1; string  public name2; string  public name3; function Awards() {   owner = msg....
0
votes
1answer
191 views

Unable to interact with DApp deployed on quorum

I am unable to interact with contract using Dapp deployed on Quorum blockchain (using metamask). I am following "https://truffleframework.com/tutorials/building-dapps-for-quorum-private-enterprise-...
1
vote
1answer
118 views

Interacting with trade/order function which require sha3 hash

I'm currently building a dapp that use both of theses functions : function order(address tokenGet, uint amountGet, address tokenGive, uint amountGive, uint expires, uint nonce) { bytes32 hash = ...
2
votes
1answer
33 views

Balance may be outdated, Metamask

Metamask is showing an asterisk near the account balance, and the message "Balance may be outdated". Indeed the balance is outdated. This is true an all networks (Main, Ropsten, etc.) and different ...
3
votes
2answers
105 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 ...
5
votes
2answers
582 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 ...
0
votes
2answers
27 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
56 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
1answer
33 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 ...
1
vote
2answers
177 views

Error: gas required exceeds allowance or always failing transaction at chrome-extension

I'm using Remix, Metamask, ROPSTEN and can not deploy any contract...always getting the same message...it used to work...not working any more...happens in different machines, happens with Chrome or ...
0
votes
2answers
67 views

Uncaught TypeError: e is not a function from getAccounts() + web3 1.0.0-beta.37 + truffle + React Dapp

I am creating my first Dapp by using web3 1.0.0-beta.37 and trufflfe While getting the accounts in app.js by using ganache-CLI and Metamask, I am getting following error. Uncaught TypeError: e is ...
0
votes
1answer
122 views

How blocks are verified in a private blockchain?

I have created a private blockchain in my machine and deployed a smart contract in the same. Then I have created a UI using web3. I could add peers to that network and all the peers could get the data ...
0
votes
0answers
29 views

Expressjs backend (truffle box) with metamask

I use truffle to unbox the express-js box (https://truffleframework.com/boxes/express-box). The code loads the web3 instance in server side which connects directly to ganache. Now I want to be able to ...
0
votes
0answers
31 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 ...
0
votes
1answer
135 views

Metmask injection local client standalone

It is too confusing for me. I tried everything. If I run the code in node.js with browserfy.. everything works fine. No I want to run it on my webserver. As MetaMask states it will not inject the ...
0
votes
1answer
151 views

Withdraw from EtherDelta to Metamask

Why cant I transfer my Ethereum to my Metamask, each time I try it tells me I have insufficient balance for transaction. I put in the exact balance to transfer? Thanks.
3
votes
2answers
440 views

Cannot send transactions with MetaMask Chrome plugin

I am trying to send an ETH transaction with the MetaMask Chrome addon, and have done so successfully in the past. However now, there is no "Send" button visible in the window, as shown in the image. I ...
0
votes
1answer
171 views

value.forEach is not a function on web3 send

I try to call a smart contract method in my web page, this is my following code: this.miniVaultContract.methods.addDocument("0x00aaff","0x00aaff","0x00aaff",["0x00aaff", "0x00aaff", "0x00aaff"],[1, 2,...
0
votes
1answer
169 views

web3 contract call does nothing

I'm trying to call a function contract from web3. The web3 provider is metamask and the metamask popup opens up when it should however when I click confirm I just see a loader and nothing happens. ...
1
vote
2answers
1k views

geth: Failed to unlock account

I exported the private key from Metamask and wants to import it into geth. geth is running on Windows 10. geth is started using geth --rinkeby --rpc --rpcapi="personal,eth,network,net,web3" --...
0
votes
1answer
182 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
1answer
168 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
0answers
9 views

isListening returns an error when false is expected

I'm attempting to verify the status of the network provided by metamask with web3.js by using web3.eth.net.isListening().then(console.log) The method works when I'm connected. However, console ...