Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
9 views

Ether is not reflecting in my Metamask account

My friend has transferred me some ether to my Metamask account but the ether hasn't reflected in my wallet. But in the ether scan, it is showing that my transaction was successful. What can I do to ...
0
votes
0answers
22 views

Adding a timer to the Voting System. Ethereum (Solidity)

This is smart contract for decentrilized Election System. Currently it voters can vote, and each voter have one chance to vote. pragma solidity ^0.4.2; contract Election { // Model a Candidate ...
0
votes
0answers
18 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. ...
0
votes
0answers
41 views

ALERT: Trying to call a function on a non-contract address

I have a smart contract with a payable function. My project allows users with MetaMask to input a value in Ethereum on the front end, click on 'Enter' and send that value to the smart contract. As ...
0
votes
0answers
14 views

I did the registration but how do I add at least a dollar to start adding notes from Choon. [closed]

I trying to get started changing note's from my Choon account. How do I add money to Ethereum account?
1
vote
0answers
40 views

Metamask mapping calls receive inconsistent return

Below is my js function that takes an array of orderId and call them one by one - to get the creator address and go on. It is chained in a series of promises with similar Ethereum smart contract ...
0
votes
1answer
35 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 ...
0
votes
1answer
13 views

Metamask does not react on delivering gasPrice

I am using following code to generate a new transaction using web3.js & metamask: var web3dictdata = { gasPrice: web3.toHex(10), gasLimit: web3.toHex(210000), to: "...
1
vote
1answer
26 views

How to update value on ethereum blockchain without metamask?

pragma solidity 0.4.24; contract UniToken{ string value="Hello"; function set(string x) public { value = x; } function get() public view returns (string) { return ...
0
votes
0answers
11 views

error in WebSocket connection

error : browser-sync-client.js?v=2.26.3:15 WebSocket connection to 'ws://localhost:3000/browser-sync/socket.io/?EIO=3&transport=websocket&sid=mW3 please i need help on this. i was getting ...
1
vote
2answers
46 views

Why is browser taking so long to read blockchain data?

I have a dAPP and I use reactjs for the frontend. The application returns data from a smart contract (the balance) on the homepage. The main problem that I notice is that everytime I or any other ...
0
votes
0answers
19 views

steps to use web3js-quorum or web3j-quorum for DApp creation?

I'm trying to use web3 to interact with a Quorum Blockchain. Calls seem to work properly but I can't manage to execute a transaction from my dapp using web3 and metamask. I can execute a transaction ...
0
votes
0answers
23 views

Why is geth account list and eth.accounts different?

I am trying to sync Metamask accounts with a private geth installation. I imported the account from MM and that shows on geth list but on eth.accounts nothing for that account. Any reason for this ...
2
votes
0answers
31 views

Quorum :- metamask do not support privateFor feature of quorum

i got to know that metamask do not support privateFor because of which private transaction for quorum dapp was not behaving as expected. so, I can't use metamask for my quorum DApp to switch port and ...
0
votes
0answers
14 views

A way to get private key from Parity Signer? [duplicate]

Is there a way to get private key from Parity Signer? I want to import it to Metamask.
0
votes
1answer
45 views

How to connect web3.js 1.0.x to Metamsk

I am using web3.js 1.0.0-beta.36 to connect to the blockchain. But unfortunately this code cannot connect to Metamask, if it has been enabled. var metamask = false; if (typeof web3 !== 'undefined') {...
1
vote
1answer
25 views

Accessing non-active account on metamask

I want to transfer ownership of an already notarized file with a particular address. I am using smart contract and representing ownership by "msg.sender" i.e. selected account in metamask is the ...
1
vote
1answer
39 views

Launch MetaMask login window by JS

I have installed MetaMask extension for Chrome, then I saw ext icon at top toolbar. To login I will open it by click on the icon. There is a question... Is there a way to launch MetaMask window by ...
0
votes
1answer
67 views

Meta transaction with web3

iam just wondering. Are meta transactions not the same like raw transactions, which are signed by the user in frontend and send to a backend, where the transaction gets deployed?
0
votes
1answer
31 views

How to refund a wallet address from a contract with solidity and web3

I am building an app where I'd like a purchaser to be able to seek a refund from the contract. Essentially I am trying to transfer eth from a contract to a wallet. When I get to the point of issuing a ...
0
votes
1answer
30 views

Meta Mask - Breaking Change and Ganache

I have seen the announcement about the privacy changes that Meta Mask has made about no longer injecting Web3. And the article post they made gave a snip of code to include to request Web3 to be ...
1
vote
1answer
42 views

How to connect Quorum with Metamask?

I'm trying to deploy smart contract on Private blockchain(quorum). And run the dapp on private blockchain. But I'm unable to connect the metamask with quorum network. The quorum is currently running ...
0
votes
0answers
14 views

All contract deployments are dropped (Ethereum main net)

I'm attempting to deploy a very simple test contract on the Ethereum main net using Remix and Metamask. I compile the contract, click "deploy", set my gas price, and confirm the transaction through ...
0
votes
0answers
49 views

Is that normal? [duplicate]

I deployed my contract to an actual blockchain, the contract is about a game that at the end there is a function called play where it states the winner (W: 0) means a tie, (W: 1) means player1 won, (W:...
0
votes
2answers
39 views

How to use a metamask Wallet from web3,py?

I deployed contracts to Ropsten test net using truffle and a metamask wallet to pay for the transactions and Infura as a Hosted ethereum node. To do that in Truffle, I have to use the truffle-...
3
votes
1answer
47 views

Using metamask from a local html file?

I'm building a DAPP it works fine when I host it from a server, but when the HTML file is local MetaMask gives this error: MetaMask does not allow file:// protocol, use http(s):// Any ideas what ...
0
votes
2answers
36 views

web3 returns 0x0000000000000000000000000000000000000001 as an address

I'm trying to create an asset in a smart contract using MetaMask and web3.js: contract AssetTracker { struct Asset { string name; string description; string manufacturer; ...
1
vote
2answers
8 views

Will a transfer go through on a testnet transaction on meta mask to luno

What if you sent your ETH on the Ropsten testnet via Metamask to an ETH platform gateway like Luno (https://www.luno.com) ? Will you receive your Ether and will it reflect on that account? I've done ...
0
votes
1answer
33 views

Changed behaviour regarding web3.eth.accounts[0] in Metamask?

Some time ago, it was possible to get the selected account using sync methods on web3 0.2. https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md It always worked on our DAPP. But on Nov 8th in ...
1
vote
1answer
19 views

Translating Metamask Address to Alias

When using Metamask, the user can see transaction data before approve a transaction, like origin and destination. Users can define alias to their accounts, so the origin is in general easy. So, in ...
0
votes
0answers
55 views

“Uncaught Error: invalid address” AND “Internal JSON-RPC error” while working with MetaMask and quorum-maker

So I get this error: Uncaught Error: invalid address at c (inpage.js:1) at inputTransactionFormatter (inpage.js:1) at inpage.js:1 at Array.map (<anonymous>) at i....
2
votes
2answers
77 views

Metamask now longer interacts with PetShop Dapp

Since November the 4th - In order for MetaMask to interact with your webpage dapps, you need to implement the windows.ethereum.enable as part of your scripts I have run through the pet shop tutorial -...
0
votes
0answers
40 views

react-web3js-provider and metamask

I have a few questions, I want to ask a good person. Q1: Does react-web3-provider(https://github.com/hussy-io/react-web3-provider) integrate metamask internally? If it's integrated, I don't know how ...
0
votes
2answers
97 views

New web3 method to request account access from dapp browser, no request

Since metamask communicated that they will no longer inject web3 by default (https://medium.com/metamask/https-medium-com-metamask-breaking-change-injecting-web3-7722797916a8) I tried to use their new ...
0
votes
1answer
17 views

how to call function on Ropsten

I deployed a smart contract to Ropsten testnet I want to call its only public function to test it on the network. How can I do such a thing and where I will see the result? The TxHash is: ...
2
votes
0answers
27 views

How to listen for Metamasks “Taking too long? Resend with higher gas!” option from web3js?

Just ran in to an issue with Metamasks "Taking too long? Retry with higher gas!" option Basically, when I am sending a transaction to my contract, I are performing some db interaction upon receiving ...
2
votes
1answer
77 views

Metamask Warning

In an effort to improve user privacy, MetaMask will stop exposing user accounts to dapps by default beginning November 2nd, 2018. Dapps should call provider.enable() in order to view and use accounts. ...
0
votes
0answers
69 views

Deploying a contract from Remix IDE, using from Truffle

As I understand, if I compile a contract via truffle compile to have the Contract.json, and then deploy the contract from Remix IDE to, say, Ropsten, the dapp should work via MetaMask pointed to ...
0
votes
1answer
12 views

Manually specify extra gas amount required in solidity for apps such as metamask

I've had an issue with my first solidity contract whereby sometimes transactions will work and other times I'll get "out of gas" errors. I believe after much research I've pinpointed this problem to ...
1
vote
1answer
58 views

MetaMask breaking change - does ethereum.enable() prompt an Access signature every time it's called?

Does ethereum.enable() prompt an Access signature every time it's called? Or will access-granted status persist?
1
vote
3answers
40 views

What is Metamask?

I know it's a dApp web3 browser, a wallet. But which ethereum client is used in the back end to interact with block chain? How the same account is able to connect with all networks (mainnet,testnet, ...
1
vote
0answers
75 views

NetworkError when attempting to fetch resource. Resource URL: moz-extension://2…/contentscript.js Source Map URL: ../sourcemaps/contentscript.js.map

I get the following error message in Firefox Developer Tools Console following a successful sendTransaction: "Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: ...
0
votes
0answers
30 views

Getting better error messages from MetaMask on FireFox?

Currently, if a user denies the consent message or is not logged in to MetaMask and attempts a transaction between the dApp and MetaMask, Chrome provides a rather descriptive error message like: Error:...
2
votes
1answer
51 views

MetaMask expose accounts

From 2nd November MetaMask will not expose user accounts by default anymore and we must do it. I'm confused about how we are supposed to integrate that in our dapps. For example, I have a standard ...
0
votes
1answer
67 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
14 views

Metamask mysterious tx showed up

A tx appeared in my Metamask which looks like this: I don't understand what it's about. I noticed there is a 'Cancel' button and I clicked it, but nothing is happened. And now I have 2 txs in the ...
2
votes
0answers
37 views

Use React Dev Tool in developing MetaMask

I am new to MetaMask, and learning how MetaMask works. I found MetaMask UI was implemented with React, so I tried to use React Dev Tool, but I am not able get it working. Please help. I started stand ...
0
votes
1answer
31 views

Importing accounts into geth from metamask

I Have entered into my geth console geth eth.accounts ["0xf844f0d7acb0d01bf66ffd81809fb96b2236abce", "0xc8d94cb87173fc94c4b165e44a5fc0b047618044", "0x6a0ef1a429c3570cb342963d309dd5aaa9e49cd4", "...
1
vote
1answer
45 views

Set method name for MetaMask history

I have a question about the Metamask UI. Is it possible to set custom transaction method name for metamask history to make it more user-friendly? I want to rename "Bid" (default method name) to "Made ...
0
votes
1answer
45 views

Access private blockchain from another PC/Laptop?

I have private block chain on my PC.The private blockchain is configured and deployed using geth. I want to connect to that blockchain from another node(my laptop) to access the smart contract ...