Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
1
vote
1answer
175 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
434 views

Can't get the func in `web3.eth.getAccounts` to run

I'm trying to perform a simple balance check, but the code inside web3.eth.getAccounts doesn't run. I'm trying to get web3 from the instance injected by Metamask. myWeb3.eth.getAccounts(function(err,...
0
votes
1answer
178 views

How can I show on web3j a list of all the instructors added on my blockchain?

I need to show on an html a list of all the instructors that are set up on the list pragma solidity ^0.4.18; contract Owned { address owner; function Owned() public { owner = msg.sender; } ...
13
votes
9answers
15k views

Invalid Address Error when interacting with a smart contract with metamask

I want to call the methods with metamask of this simple contract: contract AssetPrices { mapping (uint => uint) public prices; uint public data; function EnterPrice(uint _time, uint _price){...
1
vote
1answer
744 views

Web3 Solidity events do not work any more in Chrome?

Ok, it seems like this issue is only present in chrome browser I am working with Version 64.0.3282.140 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit) Actually I had some ...
0
votes
1answer
29 views

cannot be able to connect to private blockchain hosted at local VM

I want to use remix IDE and want to connect web3provider which needs to be connected to private blockchain running on VM locally. My system is running on Windows 10 and I am running the VM on my local ...
0
votes
0answers
15 views

Developing a dapp using Truffle. Metamask will sometime throw this error when interacting with a simple contract

Trying to setup my development environment to start a personal dapp project. I am starting off the project with the React truffle box. 1) I start by running truffle develop which launches a local ...
0
votes
1answer
14 views

View sendTransaction implementation

I'd like to see code that implements getAccounts and sendTransaction in a provider. I tried digging into the Metamask source code and found the line where Metamask supplies the Web3 provider, but I ...
1
vote
1answer
296 views

CONNECTION ERROR: Couldn't connect to node when trying to connect to ropsten

I have Metamask installed on chrome and am connected to the Ropsten test network through there. However, whenever I try running my Javascript, I get the following error: CONNECTION ERROR: Couldn't ...
0
votes
1answer
53 views

Web3-core-helpers error: Uncaught (in promise) Error: Provided address “undefined” is invalid,

When I launch the app with with react.. this error occur when my exchange contract is loaded.. Here is the code i wrote to talk to the blockchain: export const loadBalances = async (dispatch, web3, ...
2
votes
1answer
35 views

ecrecover in c++

can anyone spot what I am doing wrong? I am trying to recover the public address from data signed by web3.personal.sign in Metamask and with this code the public address comes out wrong. Hash and hex/...
2
votes
3answers
1k views

MetaMask verification on a server with web3.personal.sign

How to verify MetaMask account holder is the real owner of the address? I recently saw this post and tried it immediately, unfortunately, I am not getting the right result from the server. I think it ...
0
votes
0answers
23 views

send().catch() doesn't give me the error message anymore

I'm using Truffle/Drizzle/MetaMask and calling methods with send() and using .then() and .catch() and I rely on getting the error message send to .catch() e.g. contract.methods['hello'](arg).send({ ...
0
votes
2answers
575 views

Deploying on Rinkeby with Truffle using infura

If I want to use HDWalletProvider to deploy my contract on a specific address, what should I do? rinkeby: { provider: () => { return new HDWalletProvider("Mnemnoic", "https://ropsten.infura....
0
votes
1answer
76 views

How do I create a MetaMask Connect request to auth a wallet with MetaMask

I am looking for how to authenticate completely in the browser with MetaMask, presumably by having it sign with some private keys and prove that the user owns a wallet that lists the corresponding ...
0
votes
1answer
16 views

How DApp actually talks to Ganache ethereum node?

Both Metamask and web3.js seems to be enabling a DApp communicates to a remote ethereum node. There are a few different aspects to developing blockchain applications with Ethereum: Smart ...
0
votes
1answer
327 views

Metamask won't display correct balance after creating customrpc for ganache accounts

I made a customrpc network on metamask using the correct server and imported a private key from ganache, which worked but the eth balance is displaying 0 when I expected it to display 100. According ...
1
vote
1answer
14 views

Forks of Metamask

Are there forks of metamask to be used to end-users in a permissioned network? In other words, I would like to: - hide public networks (to avoid confusion) - pre-configure that the user should use the ...
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
59 views

MetaMask - RPC Error: Internal JSON-RPC error

I am getting this error when i trying to use metamask on my local for a simple transaction from one account(say A) to another (say B). code: -32603 data: {originalError: {…}} message: "Internal ...
0
votes
1answer
32 views

Fallback function fails when ethers sent from metamask

This is my code snippet for fallback function, If I use it by explicity using "fallback" function on Remix, then equivalent no of tokens do come in my wallet but if I send ethers via metamask directly ...
2
votes
3answers
186 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 ...
2
votes
1answer
33 views

Ethereum wallets that support “Custom RPC URL” like Metamask

I'm running a private blockchain and I've been using Metamask connected to my custom RPC URL with no issues.. I'm curious if there's any other Ethereum wallet that let's you add and connect to a ...
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 ...
0
votes
1answer
829 views

metamask token transfer

I am trying to transfer several tokens from my metamask using MEW, and I have eth to cover the gas, and I followed all instructions many times, but every time it fails to transfer. Anyone have any ...
0
votes
1answer
20 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....
1
vote
1answer
40 views

Metamask connection with private node with rpc

i am trying to connect metamask with private node but its fails to connect geth --rpc --rpcaddr 127.0.0.1 --rpcport 8545 --rpccorsdomain "*" --rpcapi admin,db,eth,debug,miner,net,ssh,tapool,personal,...
1
vote
1answer
59 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 ...
0
votes
0answers
26 views

Getting Metamask Error Message into web3.js DApp after user rejects transaction

I'm building a simple HTML/JavaScript front-end to interact with a Smart Contract using web3.js and MetaMask. I have a function to call one of the methods in order to send a contribution to the Smart ...
1
vote
2answers
457 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 ...
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?
4
votes
1answer
391 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?
0
votes
0answers
26 views

web3 update monitoring

Inside a DAPP, I have been using web3.currentProvider.publicConfigStore.on('update',... to monitoring Metamask activity. But in the new metamask-mobile such method does not exists. There is a ...
0
votes
0answers
28 views

How to connect to MetaMask via web3js

I'm trying to recreate this site TenThousandSu And this is the smart contract I'm trying to call https://rinkeby.etherscan.io/address/0x7e338acfb7a5d7e99f4225cc12dc884f49c00f6a#code I'm using "1.0....
0
votes
2answers
805 views

Cannot connect ganache-cli to metamask

I am trying to follow the truffle pet shop tutorial. But failed to connect metamask with ganache-cli I ran ganache-cli in the console and changed the rpc url to http://127.0.0.1:8545 But the addresses ...
0
votes
1answer
796 views

How to track a transaction? (exchanger -> MetaMask)

Yesterday i sent some ether from my bitstamp account to an address I've created on MetaMask/Chrome. Bitstamp tells transaction done: Transaction ID (TXID): ...
1
vote
1answer
759 views

call to smart contract function from express project using web3

I'm trying to create a API fo my smart contract functions like following: router.get('/',function (req,res) { var web3 = new Web3(new Web3.providers.HttpProvider('https://ropsten.infura.io/key'));...
0
votes
1answer
44 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 ...
0
votes
2answers
1k views

Unable to connect to metamask using web3

I have tried everything but just can't get the web3.currentProvider to work. I have metamask installed and working and somehow want to connect the website on the test network. Has there been some ...
0
votes
1answer
26 views

Gas estimation errored using ERC20 in REMIX

I'm trying to test making some smart-contract that uses DAI ERC20 tokens on Kovan testnet (DAI contract on kovan is 0xc4375b7de8af5a38a93548eb8453a498222c4ff2). I developed this very simple contract ...
3
votes
3answers
2k views

How to verify MetaMask account holder is the real owner of the address?

I'm making a dapp that will make calls to a Node.js server. I expect the user to have MetaMask installed and I want to verify that he is the real owner of the current address on MetaMask (i.e. ...
0
votes
2answers
1k views

ALERT: [ethjs-rpc] rpc error with payload

I am trying to create transaction local blockchain using ganache on When i confirm the transaction i get the error as "{"id":4818399857527,"jsonrpc":"2.0","params":..", please refer screenshot for ...
1
vote
1answer
439 views

Why are the sent time of these transactions constantly reset and why are they still pending after 14 hours?

Why are the sent time of these transactions constantly reset and why are they still pending after 14 hours? Hello, Yesterday I tried to send some test transactions from Metamask. One with 0.01 Gwei ...
0
votes
1answer
124 views

html:82 Uncaught ReferenceError: App is not defined at HTMLButtonElement.onclick (html:82)

It's showing me uncaught reference error in my index.html file <div id="candidate-box"></div> <button class="btn btn-primary" onclick="App.vote()">Vote</button> ...
4
votes
2answers
3k 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 ...
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
2answers
365 views

Having trouble sending eth from Metamask

I'm trying to withdraw some eth from Metamask into my GDAX account. I select the amount and add my GDAX eth address. I've tried using up to 25 gas. After that nothing happens - it just shows the ...
1
vote
1answer
50 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 ...
1
vote
1answer
497 views

return msg.sender.balance not acting as expected

I'm using MetaMask to connect to Rinkeby and I'm deploying the contracts via Remix. When I call the function returnsenderbalance it returns ...
0
votes
1answer
55 views

Deploy smart contract on Ropsten with Truffle without truffle-hdwallet-provider

Here is my truffle-config.js networks: { ropsten: { network_id: 3, host: '127.0.0.1', port: 8545, gas: 4000000, from: "address_in_metamask" }, I ran a geth node using the command: geth --...