As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
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,775
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,258
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
533 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
501 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
  • 263
8 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
  • 356
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
2k 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
309 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
  • 284
2 votes
1 answer
419 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
  • 284
1 vote
2 answers
2k views

How do I connect to Remix in Mist or MetaMask?

If I use either Mist or MetaMask, I get the error message: Unable to connect to http://localhost:8545. Invalid JSON RPC response: "" How can I connect to the Remix localhost?
CBobRobison's user avatar
  • 1,225
6 votes
2 answers
12k views

Send transaction using MetaMask injected web 3

Metamasks injected web3 gives an error when using web3.eth.sendTransaction() web3.eth.sendTransaction({from:web3.eth.accounts[0], to:'', data: // hash to interact with contraact, gas:85000}); What ...
vera34's user avatar
  • 157
6 votes
2 answers
831 views

How a dapp can call contract functions without running a local full node?

I have developed a contract and a basic dapp. It works on my local environment with my local test node. Now I would like to understand how it can be distributed so that a user doesn't have to run a ...
Gyonder's user avatar
  • 295
4 votes
1 answer
2k views

What is 'the last add pending transaction' in web3 filter?

I run this code using MetaMask to inject web3 object: var filter = web3.eth.filter('pending'); filter.watch(function (error, log) { console.log(log); }); From web3 api docs: When using the "...
manidos's user avatar
  • 4,258
3 votes
1 answer
4k views

Is there a way to call a constant function asynchronously?

I'm trying to invoke a constant function test from a webpage. I've injected web3 object through MetaMask. contract A { function test(uint8 x) constant returns(uint8) { return x + 10; ...
manidos's user avatar
  • 4,258
17 votes
3 answers
20k views

How can I get my accounts into metamask or vice versa?

I need my accounts in Metamask to match my local machine so I can deploy from the machine (using truffle), and test in a browser. How can I either: Upload my local geth accounts to Metamask Bring ...
ZMitton's user avatar
  • 2,710
8 votes
2 answers
2k views

Are tools like metamask putting decentralization in danger?

Does a tool like metamask, which connects your browser to a public ethereum node to simplify running DApps, put the basic idea of decentralization and trustless blockchain verification in danger? Is ...
q9f's user avatar
  • 32.5k

1
39 40 41 42
43