Questions tagged [metamask]
Question about the Metamask chrome's plugin.
2,131
questions
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!)
...
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] ...
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 ...
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.
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 ...
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#...
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 ...
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 ...
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 ...
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?
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....
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 ...
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/...
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 */
...
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 ...
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) {
...
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 ...
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 ...
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,...
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 ...
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....
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 ...
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 = ...
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" +...
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?
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 ...
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 ...
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 "...
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;
...
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 ...
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 ...