Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
2 votes
1 answer
689 views

Cannot deploy contract in remix with my Metamask

I'm following a token contract tutorial on Youtube and everytime I try to deploy the contract on the Kovan testnet (in the remix solidity editor), it sends it off but then fails later. I have ...
Alex Boyle's user avatar
3 votes
1 answer
5k views

Can I do contract transactions with metamask?

In the metamask plug-in, when I click 'Send' there is a Transaction Data (Optional) blank at the bottom that I'm guessing I can put a hex string in that amounts to the {methodID:0xXXXXXXX, params:[X,A,...
Austin Fatheree's user avatar
5 votes
1 answer
2k views

How to deploy truffle contracts to Rinkebey?

What are the parameters that I have to specify to be able to deploy solidity contracts using Truffle in the config file? I am using Metamask to store test ether and have a unique mnemonic to define ...
NIHAR VIPUL DALAL's user avatar
1 vote
0 answers
143 views

How does MetaMask communicate with the blockchain? [duplicate]

I've looked over the source code and cannot for the life of me figure out how MetaMask is accessing the blockchain. When set to Mainnet, which RPC is it using?
Ether Dude's user avatar
1 vote
1 answer
2k views

weird error with metamask

While I am trying to call a function using metamask i've got this error : error: Error: TypeError: senderAddress.toLowerCase is not a function at chrome-extension://...
Etherkimist's user avatar
7 votes
2 answers
4k views

Metamask web3.eth.account[0] is undefined

I am facing some problem with metamask. I ve copied the code below from the metamask documentation to load the web3 but i get always web3.eth.accounts[0] returns undefined when i try to get the ...
Etherkimist's user avatar
0 votes
1 answer
162 views

ENS Registrar Initializing ...

I am trying to bid on a domain. However it says "Initializing ENS Registrar" ... So ... I check the JavaScript Console (as recommended) and here is what it says: However I don't know what to do now.....
Coffey's user avatar
  • 35
1 vote
1 answer
2k views

Long delay when sending ETH with MetaMask

I installed MetaMask (chrome) and added some ETH to my account. I then tried sending some ETH to an ICO. I sent 0.1 ETH and the transaction has been showing as "Contract Published" for the last few ...
Gadi's user avatar
  • 11
10 votes
4 answers
24k views

Export Metamask account to JSON file

I'm trying to use ethers-ens which requires an ethereum account in JSON format. How can I export or generate an account.json from my metamask account? Is there another way to use ethers-ens without ...
ProGirlXOXO's user avatar
2 votes
2 answers
765 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 ...
jbreezy's user avatar
  • 135
2 votes
1 answer
704 views

Remix (browser solidity) won't deploy my contract (through metamask)

I'm trying to deploy a new contract for testing on the ropsten network. I'm using remix and metamask, but for some reason I can't select injected Web3 (what used to be the standard setting) and thus ...
Olivier Rikken's user avatar
2 votes
1 answer
3k views

Does MetaMask do caching? How to flush?

I'm running testrpc 3.0.5 locally on port 8454 Using Metamask 3.6.5 When I restart testrcp (and redeploy my contract) then my dapp still returns old values with Metamask. Without Metamask it works ...
szerte's user avatar
  • 1,221
2 votes
1 answer
3k views

Deploying to testnet using Truffle and Metamask

Is it possible to deploy a smart contract developed using truffle to testnet using just Metamask (without a local eth client instance running)? I tried importing the private key of metamask wallet to ...
Parthasarathy Ramanujam's user avatar
3 votes
2 answers
1k views

Retrieving logs using filter is not working?

web3 has been connected to Infura node, can send signed transactions but web3.eth.filter is not working(405 error)?
Subhod I's user avatar
  • 927
3 votes
1 answer
935 views

I do not see my testnet transactions and Ether

I installed MetaMask, connected to Ropsten TestNet, clicked "Buy", then clicked "Ropsten Test Faucet". There, I clicked "request 1 ether from facuet", waited several seconds, and saw a transaction id ...
Erel Segal-Halevi's user avatar
3 votes
1 answer
8k views

MetaMask injected Web3 not working in HTML file

I am using chrome with the MetaMask plugin installed. When I launch the below HTML file and look at the JS console, MetaMask doesn't inject web3 ("MetaMask - injected web3") like it does on every ...
jbreezy's user avatar
  • 135
15 votes
4 answers
20k views

How to obtain all transaction of a contract?

I'm trying to obtain all the transactions of a contract, but in all cases I only obtained [] or undefined. I'm following this posts: Common useful JavaScript snippets for geth web3 filter option not ...
Gawey's user avatar
  • 804
1 vote
1 answer
2k views

Can I use Metamask with promise async calls instead of nested callbacks?

I'm trying to use promises instead of nested callbacks for better readabilty. When I use this code: balanceUpdate: function() { MyWallet.deployed().then(function(instance) { return web3....
szerte's user avatar
  • 1,221
0 votes
1 answer
706 views

Web application for remote users to create Ethereum account

Say that a machine is running an Ethereum client (geth or Parity), and it also has a web application (running as a NodeJS server, say) that provides a front-end to users and communicates with the ...
Ajoy Bhatia's user avatar
  • 1,446
1 vote
1 answer
357 views

MetaMask rewriting web pages?

I am working on a web application backend (completely unrelated to Ethereum) that returns XML in response to certain queries. I have just set up the environment again and came across something weird: ...
comodoro's user avatar
  • 1,202
1 vote
4 answers
1k views

Truffle sample Dapp doesn't show Metacoin balance when Metamask is active

The sample Truffle Dapp doesn't work when Metamask active. I'm running testrpc, I imported the tesrpc account's private key to Metamask and Metamask is connecting to the local testrpc according to ...
szerte's user avatar
  • 1,221
1 vote
3 answers
466 views

When creating a new contract I receive a "contract code couldn't be stored" error but the contract is still created

Sale.new({ from: state.account, value: value, gas: 4000000 }).then((instance) => { // do something with instance }).catch((err) => { alert(err) }) When the above code runs I sometimes ...
Wilfred's user avatar
  • 123
1 vote
1 answer
3k 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....
Avinash Vazratkar's user avatar
3 votes
3 answers
2k views

Invalid sender error in MetaMask with private network in Azure ethereum BaaS

I had implemented Ethereum Blockchain as a service from Microsot azure. The client i am using is from Metamask. I am not able to send ether from one wallet to other and i get an error Invalid sender . ...
Phani Dhar's user avatar
3 votes
1 answer
942 views

Error contract code couldn't be stored, please check your gas amount

I get an error: Error contract code couldn't be stored, please check your gas amount. I know this error has been reported several times already. Strange thing is, until this morning, my dApp just ...
Olivier Rikken's user avatar
13 votes
2 answers
47k views

How to get tokens out of a metamask account

I transferred tokens (GNT) from an exchange to a metamask account but I can't figure out how to get them out. They do not show up in metamask, but etherscan shows them. I tried to import the account ...
user7659's user avatar
  • 131
3 votes
2 answers
2k views

Best way for web3 to receive data from function return?

Now I'm trying to delelop my first Dapp (using Metamask plugin). everything is going to be all right, but I can't get one thing: Is it possible to receive return from function, using Web3 (not JS VM!) ...
Sergey Potekhin's user avatar
0 votes
1 answer
2k views

Contract Not sending ether to other account

I have created a contract which store the address of the users and i want to send 1 ether all the users stored in array. Here is my code contract project{ address public user; bytes32[10] ...
Anurag Verma's user avatar
5 votes
1 answer
1k views

Geth not synchronizing to MetaMask

I want to import my account of MetaMask(testnet) to the geth accounts list. First I copied the private key from MetaMask and saved to a txt file. After that I run this command : geth account ...
ahmed's user avatar
  • 144
4 votes
4 answers
7k views

Injected Web3 is not working in Browser-Solidity

I am using Metamask for ethereum testnet. And when i deploy my contract it run in my memory. And when I select the Injected Web3. It is not selected. Now what to do?? Please help me.
Anurag Verma's user avatar
0 votes
1 answer
1k views

Waiting for transaction to be mined

When calling any method on a contract https://testnet.etherscan.io/address/0xabc7a3a72af1f94ff6029ef01bc0f7c49e2ed637 using Browser Solidity https://ethereum.github.io/browser-solidity/ on Ropsten ...
Juan Ignacio Pérez Sacristán's user avatar
3 votes
1 answer
3k views

Using Metamask Injected Web3 with React

Having trouble accessing Metamask's web3 object. Following the recommended guidelines for using Metamask's injected web3 object https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md#...
Zach_is_my_name's user avatar
17 votes
2 answers
9k views

To which remote ethereum nodes does Metamask plugin send signed transactions? and are they exposed to denial of service attacks?

So Metamask allows in it UI to connect to different ethereum nw (public/ testnet) right. Do who is maintaining these peers? Can I trust these peers?. If so, can I setup similar service on my machine ...
siddesh sangodkar's user avatar
1 vote
1 answer
3k views

When a transaction has insufficient gas, how long does it take for the funds to be returned to the original wallet?

I've sent a few transactions from the MetaMask plugin. It appears that the default gas setting is far too low because none of my transactions have gone through. (It has been 12 hours) The question is ...
Thomas's user avatar
  • 11
0 votes
1 answer
2k views

From Metamask to Ethereum Wallet

I've created an Account on Ropsten Testnet with MetaMask, and I've on some test-ether and developed some smartcontracts. Now I want to export my account on Ethereum Wallet, so I've exported the ...
user5688's user avatar
1 vote
1 answer
130 views

How does Ether-Pudding/Truffle handle Metamask and Mist browser?

Is there anything different with how the accounts are managed?
ethereal's user avatar
  • 1,805
6 votes
1 answer
6k views

Solidity/Web3.js Cannot send value to non-payable constructor

I have a simple contract that I built a small webapplication with. The contract is as follows: contract MyContract { address public creator; function MyContract() { creator = msg....
Arko Elsenaar's user avatar
7 votes
1 answer
6k views

Sign message with Metamask and verify with ethereumjs-utils

Client side: web3.eth.sign(address, hash); // generates signature Server side: const ethutils = require('ethereumjs-util'); const extractAddress = function(signature, hash){ //signature and hash ...
manidos's user avatar
  • 4,278
7 votes
3 answers
5k views

Out of gas when calling contract method - Browser Solidity & Metamask

Trying to call sendFundsToFriend() method on the testnet contract https://testnet.etherscan.io/address/0xce8efd03766a309af57ddeb9c79f3e7cd23da0df (contract code at https://gist.github.com/anonymous/...
Juan Ignacio Pérez Sacristán's user avatar
2 votes
1 answer
540 views

"Callback contain no result" and "Bad jump destination" errors

When calling testnet contract ( https://testnet.etherscan.io/address/0xc03db39c18b6056f8c3a3a5495a1e11f3ff8885a ) method sendFundsToFriend: /* Faucet: Send funds, 1 Ether, to a new contact/friend */ ...
Juan Ignacio Pérez Sacristán's user avatar
6 votes
1 answer
3k views

Sending value with transaction using Metamask and Browser-Solidity

Using browser-solidity in combination with metamask I am testing a new contract on testnet https://testnet.etherscan.io/address/0xc03db39c18b6056f8c3a3a5495a1e11f3ff8885a but when trying to call ...
Juan Ignacio Pérez Sacristán's user avatar
1 vote
0 answers
509 views

Truffle overwrite MetaMask web3 wrong msg.sender address

Considering this contract : pragma solidity ^0.4.7; contract Test { function Test() { // constructor } function getMsgSender() constant returns (address account) { ...
onepix's user avatar
  • 283
9 votes
2 answers
10k views

Sign a raw transaction with Metamask or Mist

Is there a way to use the private key from my Metamask or Mist account to sign a raw transaction? I cannot use ethereumjs-tx without the private key, but I want to be able to use injected Web3 and ...
simonDos's user avatar
  • 366
13 votes
1 answer
7k views

Is an Account in MetaMask the same as an Ethereum Account (EOA)?

First, my setup: I use the Azure Ethereum Consortium Template, which creates one transaction node and two mining nodes in my configuration. I use MetaMask Chrome plugin to accept transactions, which I ...
Kai Wähner's user avatar
3 votes
2 answers
3k views

MetaMask: how can I access the web3 object locally and use my own node?

I am new to Ethereum and was looking for a way to run my dApp in Chrome instead of Mist. I encountered Metamask, which would in theory fit my needs perfectly. However, from a basic web point of view,...
Standaa - Remember Monica's user avatar
3 votes
2 answers
312 views

Solidity stuck at mining transaction

I am trying to deploy a contract in the ethereum blockchain with solidity. When i press the create button directly under it, a message saying "Waiting for transaction to be mined..." shows up ...
user5285's user avatar
10 votes
2 answers
2k views

Solidity Browser - Issue with every example => Error: Type "address" not supported for state variable

I am very new to blockchain and Ethereum. I want to get started with a BaaS cloud service and develop / execute some smart contracts. I successfully set up the Azure Ethereum template (https://github....
Kai Wähner's user avatar
3 votes
1 answer
95 views

Gnosis.js will not perform createEvent request when initialized using Metamask's web3

I'm trying to create an event on the Morden testnet via the gnosis api but gnosis.createEvent will not make the necessary request. I am able to load metamask's web3 into the config object I use to ...
rocketas's user avatar
  • 151
4 votes
1 answer
1k views

How deploy a smart contract with meteor and metamask?

I will deploy a smart contract with meteor and matamask. My code in main.js : var inactivityTime = 1000; var continuityContract = web3.eth.contract(Continuity.abi); var continuity = ...
n1c01a5's user avatar
  • 294
2 votes
1 answer
425 views

Compile smart contract in the console browser

I use metamask with chrome. In console browser when I run this code var source = "" + "contract test {\n" + " function multiply(uint a) returns(uint d) {\n" + " return a * 7;\n" +...
n1c01a5's user avatar
  • 294