Questions tagged [metamask]

Question about the Metamask chrome's plugin.

305 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
238 views

Sign a transaction locally and send it

I'm using Infura as my web3 provider, and have MetaMask installed to connect to the blockchain. I'm trying to send a transaction, but have learned that Infura is read-only, and doesn't support the ...
0
votes
0answers
68 views

Why is not Metamask invoked in my user interface?

I'm running a private Ethereum blockchain on my computer. I've installed Metamask on my chrome as well. I can create an account on metamask, and then interact with my smart contract deployed on my ...
0
votes
1answer
91 views

approve() and sendFrom()

Im trying to run the code below in a smart contract to use as an escrow. calling approve first and calling send from later does nothing to get the tokens into the smart contract, what am I missing ...
0
votes
0answers
69 views

Balance from ethereum accounts on geth disappears

I have geth private network with 3 accounts A, B and C. each account has 100, 200 and 300 ether balance I connected to this network from Metamask and Transferred the balance of 50 eth from account A ...
0
votes
0answers
61 views

How to generate sign to pass to transferPreSigned(), contract is not asking for sign while transfer()

I'm creating ERC865 token so that users can send tokens without having ether. I followed 1 and 2. As per 1, sender will sign transaction object while calling transfer() but I'm unable to see any "...
0
votes
1answer
57 views

i have erorr when sendTransaction web3

file javascript //smartcontract window.onload = function() { if (typeof web3 === 'undefined') { document.getElementById('metamask').innerHTML = 'Instal metamask dulu' ...
0
votes
0answers
51 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 ...
0
votes
1answer
172 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 ...
0
votes
1answer
266 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
1answer
274 views

Importing accounts into geth from metamask

I Have entered into my geth console geth eth.accounts ["0xf844f0d7acb0d01bf66ffd81809fb96b2236abce", "0xc8d94cb87173fc94c4b165e44a5fc0b047618044", "0x6a0ef1a429c3570cb342963d309dd5aaa9e49cd4", "...
0
votes
2answers
694 views

Deploying on Rinkeby with Truffle using infura

If I want to use HDWalletProvider to deploy my contract on a specific address, what should I do? rinkeby: { provider: () => { return new HDWalletProvider("Mnemnoic", "https://ropsten.infura....
0
votes
1answer
24 views

how do I make users sign different strings with their private key separatelly

Here is the the scenario. Users come to my website and register(by using email and password). Then they login. After that, They add a new item(which has name and quantity fields). After Clicking ...
0
votes
2answers
800 views

metamask custom rpc problem

I use metamask custom RPC and set it to be http://myip:8545, and it looks like keep trying connecting, but always not finish, actually I am using private ethereum network, whether I must mine on my ...
0
votes
1answer
59 views

dApps being required to explicitly ask for access to web3(when using MetaMask)

Injecting web3 into the dapp is done automatically,when using MetaMask. Web pages get access to the Blockchain when using metamask in their browser, to read addresses for tranactions, and other ...
0
votes
2answers
356 views

DApp using IPFS Ganache and MetaMask

I am following a tutorial (hosted by dappuniversity) on youtube regarding DApps using IPFS. I have done exactly everything as mentioned in the tutorial but i get this errors: GET https://ipfs.io/ipfs/...
0
votes
1answer
201 views

Metamask stuck at Unknown network ID

I'm getting unknown network ID error on transferring a token in meta mask as in the image below. I'm using local network with ganache. I can transfer from metamask account to another after ...
0
votes
0answers
252 views

Transaction pending on Ropsten

I deployed a contract on JavaScript VM using remix online IDE. Here is the contract: pragma solidity ^0.4.17; contract FileDetail { struct File{ string fileName; string fileHash; } File[...
0
votes
1answer
478 views

Can't get the func in `web3.eth.getAccounts` to run

I'm trying to perform a simple balance check, but the code inside web3.eth.getAccounts doesn't run. I'm trying to get web3 from the instance injected by Metamask. myWeb3.eth.getAccounts(function(err,...
0
votes
0answers
245 views

Error transferring ERC20 tokens from a contract to an user account

I am calling a method in smart contract, which transfers tokens from sender account to holder account. the transferFrom is failing with error MetaMask - RPC Error: Error: Error: [ethjs-rpc] rpc ...
0
votes
1answer
82 views

Internal transactions on Rinkeby - Metamask, ICO through wizard.oracles.org

I have tried to play with solidity and smart contracts. I created "ICO" through wizard.oracles.org on Rinkeby network. Then I tried to send ethereum there from 2nd account, I received tokens on that ...
0
votes
1answer
218 views

value.forEach is not a function on web3 send

I try to call a smart contract method in my web page, this is my following code: this.miniVaultContract.methods.addDocument("0x00aaff","0x00aaff","0x00aaff",["0x00aaff", "0x00aaff", "0x00aaff"],[1, 2,...
0
votes
2answers
247 views

Can I deploy a smartcontract with web3 1.0, without the metamask popup?

I'm using web3 1.0 to programmatically deploy smartcontracts and make transactions, and metamask to sign those transactions, since i don't want to have hardcoded fragile things. I would like metamask ...
0
votes
1answer
183 views

What is the equivalent of solidity to perform ethereumjs-abi.soliditySHA3?

I am trying to tightly pack some typed-data (array of structs or nested JSON) and generate SHA3 hash from it. In JS, I can use ethereumjs-abi.soliditySHA3() method, ethAbi.soliditySHA3( ['...
0
votes
1answer
193 views

Calling contracts on server side with metamask

My application is in nodejs platform. I'm calling the contracts on server side by setting up provider as web3.setProvider(new web3.providers.HttpProvider("http://localhost:8545")); Is it ...
0
votes
1answer
861 views

metamask token transfer

I am trying to transfer several tokens from my metamask using MEW, and I have eth to cover the gas, and I followed all instructions many times, but every time it fails to transfer. Anyone have any ...
0
votes
0answers
47 views

Sending .send requests in loop only sets the last value of the loop i amount of times

setCountries (e){ Object.keys(countries).forEach((key) => { const country = countries[key]; const attDef = Math.round(countryProps.POP_EST / 1000); const price = ...
0
votes
2answers
2k views

How to connect metamask private network node on VM

Hello i'm currently I have my chain running inside my virtual machine (with Ubuntu 16.04) and my PC (running Windows 10). NodeJS is running a server which i can access from http://192.168.0.108:3000/. ...
0
votes
0answers
45 views

How to detect if the node is down?

Is there any function inside MetaMask or Web3JS to detect if the node is down? For example, let say the private node that the user is connected to is down, how my app can know about it? Steps to ...
0
votes
1answer
197 views

How can I show on web3j a list of all the instructors added on my blockchain?

I need to show on an html a list of all the instructors that are set up on the list pragma solidity ^0.4.18; contract Owned { address owner; function Owned() public { owner = msg.sender; } ...
0
votes
0answers
86 views

Customer token amount not shown in Metamask

I deploy standard ERC20 test token called BEERS ( by copy and paste the standard ERC20 code ) onto Rinkeby network. Then I transferred some BEERS token to my Metamask account[0] through Remix. I can ...
0
votes
0answers
115 views

MetaMask sometimes infinite loading

my MetaMask does sometimes load infinitely. It then says "Connecting to Main Network" until I click on "Ropsten" and then back to "Main Network". That normally is no problem for me. But as I am a ...
0
votes
0answers
394 views

How to use MetaMask Web3 with Truffle promises

My project uses the react truffle box, and I use the getWeb3 method that comes with it. After calling that method, I store the web3 object on Redux's state tree via the action creator storeWeb3. ...
0
votes
1answer
61 views

ENS Long lost bids

A year ago I made some bids for ENS names over at ens.domains but never revealed. Those bids and domains have now expired or passed on to other hands. I have about 0.25 ETH still locked away there. ...
0
votes
1answer
196 views

web3 contract call does nothing

I'm trying to call a function contract from web3. The web3 provider is metamask and the metamask popup opens up when it should however when I click confirm I just see a loader and nothing happens. ...
0
votes
0answers
105 views

When using MEW to deploy a contrct the gas limit goes to -1 when I paste in the bytecode

The gas limit that should set automatically to an estimate just goes to -1 and when I change it manually to the max allowed integer the transaction still fails to deploy the contract (and the gas is ...
0
votes
1answer
177 views

A question related to Metamask and ERC20 token

Currently I am trying to send out my ERC20 token TRX to binance exchange, however any time I did that the metamask is pointing insufficient balance for transaction. I did research and I am wondering ...
0
votes
0answers
221 views

How to deploy a Smart Contract in Ethereum on Azure?

Iam trying to deploy a smart contract in Azure's Ethereum on Azure. I have created a blockchain in that but now I need to deploy a smart contract and design a UI for the same. I want to use Remix to ...
0
votes
1answer
249 views

Browser integration testing with web3.js for dApps

What are the practices to test web3.js codebase in a wwv browser using testrpc chain? Basically emulating Metamask and having Selenium automation to sign the transactions.
0
votes
1answer
441 views

missing ether after uninstalling metamask

Lost my ether from Metamask when I uninstalled it and it did not show up when reinstalled...but it is showing on Etherdelta with the no private key error in red. How do I recover it please? I'm leery ...
0
votes
1answer
129 views

Sending Ether from private Geth node to Mist Account

I have Sended Ether from my private geth node to an another account created by metamask. I have choosed custum RPC to metamsk, with the valide IP and Port, Also i have activated rpc in my geth node. ...
0
votes
1answer
140 views

How blocks are verified in a private blockchain?

I have created a private blockchain in my machine and deployed a smart contract in the same. Then I have created a UI using web3. I could add peers to that network and all the peers could get the data ...
0
votes
1answer
171 views

Withdraw from EtherDelta to Metamask

Why cant I transfer my Ethereum to my Metamask, each time I try it tells me I have insufficient balance for transaction. I put in the exact balance to transfer? Thanks.
0
votes
2answers
377 views

Having trouble sending eth from Metamask

I'm trying to withdraw some eth from Metamask into my GDAX account. I select the amount and add my GDAX eth address. I've tried using up to 25 gas. After that nothing happens - it just shows the ...
0
votes
3answers
55 views

Restricting payment from one account only

I am a beginner in ethereum DApp development and I am testing my Contracts in Remix IDE. My question is that can I restrict only one account to pay for all the transactions happening on my application ...
0
votes
1answer
155 views

Metmask injection local client standalone

It is too confusing for me. I tried everything. If I run the code in node.js with browserfy.. everything works fine. No I want to run it on my webserver. As MetaMask states it will not inject the ...
0
votes
1answer
828 views

How to track a transaction? (exchanger -> MetaMask)

Yesterday i sent some ether from my bitstamp account to an address I've created on MetaMask/Chrome. Bitstamp tells transaction done: Transaction ID (TXID): ...
0
votes
2answers
5k views

Transaction has been pending for long time

I send funds using MetaMask. But,maybe I didn't put enough gas. So it's stuck with other payments that I made after first payment. Transaction is.. ...
0
votes
1answer
454 views

Default account is not reflected in Web3 instance created from injected current provider

According to the MetaMask docs the recommended way to access the web3 is by creating a new instance of the Web3 class by passing the window.web3.currentProvider, which is injected by the MetaMask ...
0
votes
2answers
158 views

Why the Ropsten test net I created have old transactions?

I created Ropsten testnet account through Metamask. But in Etherscan, it seems that it is already used account, because it has some already made transactions. Why this happens?
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.

1
3 4 5
6
7