Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

How can a smart contract payable based function returns value against any purchase

I am trying to get a return value from the payable function, the idea is a user must pay the fees and in return, he will get his special code. My JS test code is as follow it('get special code ...
0
votes
0answers
11 views

Trying to send ERC20 token with Javascript button without success

I am trying to send an ERC20 token with the following code via web3.js. It was working until a week ago and then it stopped. Am I doing something wrong? Upon clicking it no longer interacts with ...
1
vote
1answer
146 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
167 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
0answers
8 views

How can I change the text message on connection request window of metamask?

I want to change the message in connection request window using web3js. I have attached screenshot here. kindly check it.
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
22 views

MetaMask listed as “web wallet” on official Ethereum website

MetaMask is listed only in the "web wallets" section of the official Ethereum wallet guide. Obviously, MetaMask is written in Javascript and runs in a web browser. But this is also true of the ...
0
votes
1answer
55 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 ...
0
votes
1answer
37 views

how can i count how many buyers made request to my smart contract and get earnedEther

I am using a factory contract for selling and buying goods. how can retrieve how many buyers bought and calculate how much ether earned by selling goods? here is my source code. I am new on smart ...
0
votes
1answer
133 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( ['...
0
votes
1answer
22 views

How do I deposit an Ether amount to the smart contract function, namely deposit ? (Metamask version 0.20.7)

I have a problem with using the deposit () function on a smart contract. How do you use metamask 0.20.7 ? const contractInstance = web3.eth.contract(contractAbi).at(contractAddress); contractInstance....
2
votes
1answer
1k views

Using ether.js with metamask

I am considering using ether.js instead of web3js. One of the factors I am considering is the integration with metamask. Is there any support in ether.js to use metamask as wallet? If there isn't, ...
1
vote
2answers
123 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
0answers
16 views

How to connect Remix desktop to connect to MetaMask?

I downloaded the desktop version of Remix, and am trying to connect it to the main network. I can do this in the web version of Remix easily, opening up MetaMask on my browser. However, in the desktop ...
0
votes
1answer
90 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?
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....
1
vote
1answer
125 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 = ...
0
votes
0answers
7 views

How to simulate 2 accounts on the same Ropsten network using MetaMask and Remix?

I was able to deploy to the contract and everything but I wanted to see another account interacting with the contract, but on Remix only one account at a time
0
votes
1answer
228 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-...
0
votes
0answers
23 views

JSON RPC error on Angular Truffle Box

I use angular-truffle-box to create a dapp and when i tried to create a method getAge() and deploy the contract it shows me this error: Error: Returned error: {"id":12,"jsonrpc":"2.0","error":{"code":...
0
votes
1answer
19 views

Altcoin transfers

I sent a number of ERC20 tokens to Metamask. They are not showing in the MM wallet, but I do see them in Etherscan. I now want to sent them to a different address but I don't see how to do that. When ...
1
vote
2answers
460 views

Gas Price Must Be Greater Than Or Equal To 0.1 GWEI in Metamask

I have setup a private quorum network, connected the metamask with my quorum network and it is connecting but when am trying to do transaction getting an alert Gas Price Must Be Greater Than Or Equal ...
1
vote
1answer
124 views

Issue with Ganche and Truffle with Metamask. Can't load token balance

I'm testing to create a token in Truffle; it compiles fine, but it won't load the balance of the token in to Metamask. I've set the connection correct: it does load the ETH balances of the Ganache ...
2
votes
3answers
2k views

How to import account form geth console to metamask (private blockchain)

I want to import accounts from geth console(private network) but I can't. I have UTC file when I create account with geth but when I open file and copy mac and paste to metamask (private key) account ...
0
votes
1answer
74 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
130 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 ...
1
vote
2answers
213 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 ...
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

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. ...
0
votes
1answer
150 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
14 views

Metamask from web to mobile

I have use my PC to manage MetaMask (ie. chrome extend). compound.finance also connect to my metamask wallet. I want to manage my account by mobile and at PC that I install metamask mobile in andriod....
0
votes
0answers
29 views

Issues with metamask in my project

Please look at images: The first images is what i get when logged in to metamask and the second image is what i get when not logged in to metamask When im logged in to metamask i can buy sell ...
3
votes
1answer
357 views

Passing Web3 & Contracts Between Components - React Redux & MetaMask

Curious what's the best way to access and pass a web3 contract instance provided by MetaMask between components when using react-redux. At this point, I'm tempted to do the following for both web3 ...
0
votes
1answer
182 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
3answers
48 views

how to send transaction in web3 and infura providers

I have Ropsten testnet, and infura provider. I would like send transaction from one to another account w3 = Web3(Web3.HTTPProvider('InfuraUrl')) transaction = { 'from': 'accountAddress', 'to': '...
0
votes
1answer
189 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
160 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.
1
vote
2answers
497 views

Remix IDE getting VM error invalid opcode

I am attempting to deploy a test contract on javascriptVM using Remix IDE in chrome. However when I try to execute the contract I receive this message in the status section. "transact to Notes....
0
votes
2answers
269 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
638 views

metamask custom rpc problem

I use metamask custom RPC and set it to be http://myip:8545, and it looks like keep trying connecting, but always not finish, actually I am using private ethereum network, whether I must mine on my ...
1
vote
2answers
46 views

How to get transaction status (programatically, not etherscan)?

I have a problem when I interact with an Smart Contract, from a javascript webapp. I can execute the transaction correctly when the status is confirmed, but I cannot get any error response when it ...
0
votes
1answer
170 views

A question related to Metamask and ERC20 token

Currently I am trying to send out my ERC20 token TRX to binance exchange, however any time I did that the metamask is pointing insufficient balance for transaction. I did research and I am wondering ...
2
votes
1answer
36 views

MetaMask and it's “speed up transaction feature” — no callback

I'm using MetaMask to make Ethereum transactions from my website, as described here: https://metamask.github.io/metamask-docs/Main_Concepts/Sending_Transactions It works perfectly. I capture the ...
0
votes
1answer
10 views

Connect Metmask to ( local host ) port other than 8545

How to connect metmask to genach-GUI having port : 7545 instead of 8545 . Only network localhost :8545 is available on metamask Is it done through custom RPC network ? If yes, then how should ...
0
votes
0answers
29 views

getAccounts undefined recently

I've been using web3 v 0.20 and I recently noticed that getting accounts from web3.eth.getAccounts(function(error, accounts) { returns undefined. Is Metamask 7.2.1 forcing it to be undefined for ...
0
votes
1answer
170 views

Metamask stuck at Unknown network ID

I'm getting unknown network ID error on transferring a token in meta mask as in the image below. I'm using local network with ganache. I can transfer from metamask account to another after ...
0
votes
2answers
5k views

Transaction has been pending for long time

I send funds using MetaMask. But,maybe I didn't put enough gas. So it's stuck with other payments that I made after first payment. Transaction is.. ...
0
votes
0answers
26 views

Metamask error: Transaction error. exception thrown in contract code

I've been successfully compiled and deployed my smart contract Campaign.sol. All the functions in my contract can run successfully but as I use my javascript file RequestRow.js to call my function ...
0
votes
2answers
224 views

Can I deploy a smartcontract with web3 1.0, without the metamask popup?

I'm using web3 1.0 to programmatically deploy smartcontracts and make transactions, and metamask to sign those transactions, since i don't want to have hardcoded fragile things. I would like metamask ...
1
vote
1answer
184 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. ...