Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
1
vote
1answer
302 views

Is there any recent problem with Chrome Metamask?

I was using MetaMask for google chrome. recently I realised when I send a transaction to a blockchain (e.g. private/local) all the transactions are pending. But if I do the same with Firefox metamask, ...
0
votes
1answer
113 views

While using MEW Error encountered during contract execution [Bad instruction]

I am facing some issue with the token transfer , when I am using REMIX with Metamask , the transfer of the tokens from a non owner account to another account works fine . However when using MEW or ...
0
votes
1answer
446 views

Truffle-Contract error with Metamask

It seems that on my computer/web browser Google Chrome is slow to inject meta-mask. Therefore I have to write something like this for my App to actually get the web3 instance instead of failing: ...
2
votes
2answers
633 views

How to connect a computer to a private chain using Wifi and MetaMask

I've set up a private chain on computer A. I'm using geth and the following two command lines: geth --identity "MyNodeName" --rpc --rpcport "8545" --rpccorsdomain "*" --datadir Users/TestChain --...
0
votes
1answer
694 views

Can I use multiple Ethereum mnemonics in Metamask

When I first installed Metamask and each time I start testrpc, I get a new mnemonic section of words to use for that testrpc. I've already configured my MetaMask with four accounts from a prior run ...
1
vote
2answers
392 views

Is there any other way of creating an Ethereum account than using Ethereum full node?

In Ethereum full node, we can create an account by using something like: geth account new or personal.newAccount();// in web3 I wondered if there are any other online tools, like MyEtherWallet or ...
0
votes
1answer
225 views

How to create accounts using a light client tool?

My question is related to this: MetaMask and Ethereum Private Chain (for test) The difference is that here I want to use a light client who can create its address, public and secret keys; and store ...
2
votes
2answers
5k views

MetaMask and Access Ethereum Private Chain from other PC in the same network (for test)

My goal: To simulate the Ethereum blockchain with different clients. So, they create their own accounts, i.e. public/private keys, and store them locally. So all are for testing. Assume, I have set ...
4
votes
1answer
406 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?
2
votes
3answers
501 views

Why shouldn't my application handle private keys for my users?

I'm in the early stages of planning the architecture of our Dapp, and one of my concerns is the barrier to entry of requiring the user to already be using Metamask or Mist. My understanding so far is ...
2
votes
1answer
7k views

How to transfer tokens from metamask to myetherwallet

Can't seem to find a "send tokens" button on metamask. Does anyone know how to do it?
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 ...
4
votes
1answer
3k views

Verifying personal.sign signature with pyethereum

I'm trying to verify a signed message from Metamask with pyethereum. I can not seem to recover the correct address from the signature. Lack of documentation isn't helping matters. On the client ...
2
votes
2answers
6k views

Send wei to payable function with web3 async

I want to send 100wei to a payable function in my deployed contract. But i don't want to sign the transaction because of to much effort to get this going. I just want to submit the transaction with ...
2
votes
2answers
2k views

Gas limit dangerously high

When I tried to send ether to my contract, I get this error. Even if try to change the value of Gas Limit and Gas Price the transaction still fails. What could be the possible reason? What I ...
4
votes
1answer
3k views

How can I check if a user is logged in to Metamask?

I tried a very simple example of web3, it works if you Log In to Metamask and try to send some ETH. However if I'm not logged in to Metamask no errors and no tips are shown. How can I check if a ...
5
votes
2answers
4k views

How does MetaMask inject Web3?

I'm just getting started with Solidity and Truffle, and I'm quite confused regarding this example code: App = { web3Provider: null, contracts: {}, ... initWeb3: function() { // Is there an ...
2
votes
3answers
431 views

Can a dapp support metamask as well as other means for keystore?

I am using Metamask for key storage in my dapp. My understanding is that the Metamask app injects a web3 object and handles all the signing functions where needed by itself. But Metamask currently ...
1
vote
1answer
276 views

Why is my MetaMask's account address same for both Kovan and Main network?

Aren't they created randomly and separately on each network?
3
votes
1answer
775 views

Is possible accept/confirm transactions with a webapp like metamask?

I have a webapp for test, in this web i can do transactions with my smart contracts fro pay and change the states of this contracts. But for confirm the transactions, i'm using metamask with a ...
1
vote
2answers
2k views

geth: Failed to unlock account

I exported the private key from Metamask and wants to import it into geth. geth is running on Windows 10. geth is started using geth --rinkeby --rpc --rpcapi="personal,eth,network,net,web3" --...
0
votes
3answers
734 views

Send a transaction with Meteor in the JS file without click “submit” in metamask

I'm deploying a dapp with Meteor and Metamask. I would like to send a transaction to the blockchain that is scheduled everyday and sends ETHER to a contract. This function works but when I use web3....
0
votes
1answer
302 views

Why does Remix / Metamask sometimes fail to publish a contract

When I paste my contract into Remix and try to Create it, I occasionally get: callback contain no result Error: SyntaxError: Unexpected token < in JSON at position 0 If I click create a few more ...
0
votes
2answers
175 views

Using different Ethereum network in Metamask in different tabs

Is there any way to have Metamask use, for instance, the mainnet in one Chrome tab and Kovan in another? Thanks!
2
votes
2answers
373 views

Is it possible to deploy a contract from browser-solidity for the Mainnet?

I really have more than one doubt on what's the best way to deploy a smart contract. First I thought was good enough paste the code directly inside Mist/Ethereum Wallet than I saw so many warnings (...
0
votes
1answer
199 views

How do I go from truffle testrpc to mainnet?

I've been teaching myself ethereum via the stack solidity/truffle/truffle-contract/testrpc/metamask. I built a small dApp that runs on testrpc with proper unit tests which work great. I've written a ...
0
votes
1answer
685 views

web3.js doesn't return all accounts

I'm trying to put together a simple application using Truffle, Metamask and ASP.NET. I've created a bunch of test accounts in Metamask, I then start testrpc explicitly specifying a couple of those ...
0
votes
1answer
90 views

The “+” token button is not showing in the “Tokens Tab” on my "MetaMask'

The "+" token button is not showing in the "Tokens Tab" on my "MetaMask'. It says :There was a problem loading your token balances." Any and all help is appreciated.
2
votes
1answer
1k views

Uncaught TypeError: web3.personal.sign is not a function while using a dapp built using truffle

I'm running Metamask on Chrome. When I run the following in the developer console on a random page or even Etherdelta Metamask prompts me to sign a message and this is the expected behaviour. web3....
0
votes
1answer
1k views

Please provide example for web3.currentProvider

The following document states that "MetaMask is going to continue to inject the ethereum provider as web3.currentProvider for the forseeable future.": https://github.com/MetaMask/faq/blob/master/...
0
votes
1answer
1k views

Can transfer ether from a contract to an account, but not to another contract [duplicate]

Here are two contract functions. The first works fine, the second displays the following error: "Warning! Error encountered during contract execution [Bad instruction]" function DoTransferToAccount()...
0
votes
3answers
493 views

Unable to transfer ether from one contract to another

Here is my contract function: function DoTransfer() payable { address objAddress = 0x29662dA5D870FFb39201A8320214421eE9fE9D25; objAddress.transfer(.05 ether); } Here is the Javascript that ...
0
votes
3answers
113 views

Crowdsale tokens count is not reducing even user gets the tokens to his account

I had created 100 million tokens and created a contract for crowdsale in test network If user sends a 1 ether using contract address i am able to receive 1 ether and send 1000 tokens to user who send ...
3
votes
1answer
971 views

msg.sender returns 0x0000000000000000000000000000000000000000

This contract should return the sender's address: contract SimpleExample { function getSender() constant returns (address) { return msg.sender; } } The following Javascript calls ...
0
votes
3answers
828 views

How to design a GUI/webpage that can interact with my deployed contract?

At the moment I'm using MyEthereumWallet, testrpc and MetaMask to interact with my contract deployed on testrpc. So, I'm using only "contract" tab of "MyEthereumWallet", but I'd like to change the ...
5
votes
3answers
4k views

What is the MetaMask workaround if Web3 is deprecated

While using MetaMask, adding Web3 to a Javascript program displays the following message in the Chrome console: "MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider" ...
2
votes
0answers
536 views

how to hook up web3 injected by metamask in angularjs

i need to connect to ropsten testnet through metamask but the problem is i wrote the code in node js and it works fine . but how to hook up the web3 into the angularjs 1.
0
votes
1answer
337 views

Not able to receive ether onto MetaMask account

I've installed MetaMask, connected to Ethereum Main Net and created an account. Then I copied the address of the account (did "Copy address to clipboard") and sent it to the person who was going to ...
13
votes
3answers
11k views

Metamask: How to access/call deployed contract's functions using Metamask

I'm learning Solidity. I've set up Metamask, truffle and testrpc. I can send ether from one account to another via metamask. But I want to Metamask to access my deployed contract, and call my ...
0
votes
2answers
510 views

Unable to use wallet.ethereum.org with my own node

I'm running my own ethereum node on my LAN with command line: nohup geth --rpc --rpccorsdomain "https://wallet.ethereum.org" --rpcaddr <ip> & When running a curl command on a git bash ...
5
votes
3answers
2k views

How to use metamask for etheruem dapp

I am trying to create an application using ethereum ,where node.js has used to call methods of smart contract and angular as frontend . I want to use the metamask wallet so my apication can ...
3
votes
2answers
465 views

Cannot send transactions with MetaMask Chrome plugin

I am trying to send an ETH transaction with the MetaMask Chrome addon, and have done so successfully in the past. However now, there is no "Send" button visible in the window, as shown in the image. I ...
1
vote
1answer
348 views

Contract Creation Transaction

I was trying to send eth through metamask and it ended up sending my ETH to this address called 'Contract Creation' can anyone please help me with this? Thanks in advance. https://etherscan.io/tx/...
2
votes
2answers
273 views

Difference of behavior between Metamask and direct connection to testrpc

I’m guessing there is an obvious answer to this question but I’m just completely missing the point. I have a very simple contract with 2 functions: a setter that changes a bunch of fields, and a ...
12
votes
5answers
5k views

Elegant way to detect current provider int web3.js

I want to know what provider the user is using (Metamaks, Mist...)so I can give better user experience. E.g. Give tips on how to unlock an account I'm currently doing this, but is far from elegant. ...
2
votes
2answers
297 views

How does metamask choose the msg.sender?

When coding an application that looks to be metamask compatible how are multiple account handled by meta mask ? how can i make sure that metamask / my app are in sync account-wise ? does metamask ...
3
votes
0answers
134 views

Not able to successfully do transactions of default MetaCoins(from Truffle) on local testnet on MetaMask

I have installed truffle and ran the default contract provided by truffle. I successfully compiled,migrate and put the default dapp on local testnet http://localhost:8080/.I am able to see the dapp ...
1
vote
1answer
975 views

truffle migrate hanging on Deploying Migrations

I am deploying a contract on Ropsten Network,These are my settings 2_deploy_contracts.js var SafeMath = artifacts.require("./SafeMath.sol"); var TahaCoin = artifacts.require("./TahaCoin.sol"); var ...
4
votes
2answers
987 views

Testing in ropsten network with truffle.js gives me this error

root@ubuntu-4gb-nyc3-01:~# truffle migrate --network ropsten (node:14686) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: this.provider.sendAsync is not a ...
4
votes
2answers
803 views

callback contain no result Error: Error: [ethjs-query] while formatting outputs from RPC

Recently, every time I tried to interact with a contract function, using MetaMask (version 3.9.4) and Remix - Solidity IDE, I get this error callback contain no result Error: Error: [ethjs-query] ...