Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

Which JSONRPC APIs are required by MetaMask?

This question is related to What RPC APIs are safe to expose? I want to run a Parity node not to have a wallet but only to have my own personal JSON RPC node for MetaMask. Parity will not be running ...
2
votes
2answers
651 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 --...
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?
2
votes
2answers
281 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 ...
2
votes
1answer
943 views

MetaMask + Truffle Invalid Address Error

I'm setting up a dApp (truffle framework) with an escrow contract that holds the money from the buyer of a product before it's released to the seller. When the user clicks "order", I am able to do an ...
2
votes
1answer
293 views

Can I transfer ether from a wallet to smart contract directly without invoking a payable function?

hey I was trying to pass some ether from my account to smart contract through metamask. Ive already given some ether from my contract to metamask account so it should be possible to do the same even ...
2
votes
2answers
6k views

How to transfer ether from Metamask to Myetherwallet

I have some Eth on Metamask. How Can i safely transfer it to myetherwallet? I have created a 'wallet' on myetherwallet, And I can clearly see an 'account address' on the right. Is this where I send ...
2
votes
1answer
2k 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 ...
2
votes
2answers
26 views

how is it possible to send 5 successful, consecutive transactions at the same time?

I just witnessed something amazing that I didn't think was possible before. I was under the assumption if that you try to submit consecutive transactions, the latest transaction with the highest nonce ...
2
votes
1answer
41 views

What is the right way to calculate gas price and limit for contract deployment?

I have tried several times and reached up to a gasPrice of 65 Gwei and a gasLimit of 500,000 which is $7.6 and still the deployment fails with error "Out of gas". After spending tens of USD ...
2
votes
2answers
96 views

Integrate Metamask in Electron

Hello guys, Is there any of you who have tried to add metamask to electron.js. I wasn't able to find any relevant sources. My goal is to create desktop dapp. If you have any articles or advices will ...
2
votes
3answers
837 views

How do I send a transaction using web3.py and Infura?

I am using Infura to interact with the Ropsten testnet. I would like to send a transaction from one account to another, but the following code does not work: w3 = Web3(Web3.HTTPProvider('InfuraUrl')) ...
2
votes
1answer
121 views

ecrecover in c++

can anyone spot what I am doing wrong? I am trying to recover the public address from data signed by web3.personal.sign in Metamask and with this code the public address comes out wrong. Hash and hex/...
2
votes
3answers
2k views

MetaMask - RPC Error: Internal JSON-RPC error

I am getting this error when i trying to use metamask on my local for a simple transaction from one account(say A) to another (say B). code: -32603 data: {originalError: {…}} message: "Internal ...
2
votes
2answers
74 views

Why can't I use a contract method in my Chrome console?

I am attempting to call a method from a smart contract from my chrome console. My dApps index.html file is deployed locally at http://127.0.0.1:5500. I set up web3 and instantiate a smart contract ...
2
votes
2answers
396 views

Gas required exceeds allowance when deploying a contract

I try to deploy a contract using truffle to my private ethereum network using geth and i get this error gas required exceeds allowance (6721975) or always failing transaction. I have create an ...
2
votes
1answer
529 views

ERC20 token balance is always zero

I'm writing a pre-minted ERC20 token contract derived from openzeppelin-solidity like: pragma solidity >=0.4.24; import "../node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; ...
2
votes
1answer
98 views

How to import account to metamask using private key through code?

I am trying to create an application where each user is assigned his own private key and he needs to manually import the account in Metamask extension and then he can proceed with the transaction. Is ...
2
votes
1answer
338 views

Generating passPhrase

Does anyone has idea how metamask generates the passPhrase. I was looking in github for related files but unable to figure out how exactly the things are done.
2
votes
1answer
603 views

RPC Error with Payload when using the Ropsten Test Network Faucet with MetaMask

I'm trying to obtain some test ether from the Ropsten Test Network with Metamask, but I keep on getting an "RPC Error with Payload", whenever I try to click on "request 1 ether from faucet". I ...
2
votes
1answer
719 views

How do you set an icon for Metamask “DApp Connect” popup prompt?

For example, here, how would someone get a logo to appear instead of the default "A" logo?
2
votes
1answer
1k views

Launch MetaMask login window by JS

I have installed MetaMask extension for Chrome, then I saw ext icon at top toolbar. To login I will open it by click on the icon. There is a question... Is there a way to launch MetaMask window by ...
2
votes
1answer
370 views

How to connect Quorum with Metamask?

I'm trying to deploy smart contract on Private blockchain(quorum). And run the dapp on private blockchain. But I'm unable to connect the metamask with quorum network. The quorum is currently running ...
2
votes
1answer
87 views

Dapp cannot fetch a string

Somehow i cannot get any result from my backend solidity. i have asimple dapp that takes firstName from input field save in blockchain and then fetch it back and display it on the screen. state={ ...
2
votes
1answer
183 views

Expose securely your network to make possible anyone can hit your smart contract

Im implementing a ethereum PoA network using go-ethereum I have deployed a ERC20 Token on the network, and the idea is that the network must be accessed from any wallet on the internet (i.e metamask, ...
2
votes
1answer
1k views

How to use recovery mnemonic in metamask to import account instead of private key?

We can import account by importing private key of the account. While creating a new account we give passphrase to encrypt the private key. How to import an account in metamask using the mnemonic?
2
votes
1answer
890 views

Transfer ERC20 token using Web3 and angular

I'm trying to make a simple token transfer app using Web3.js and Angular all i want is to transfer some tokens from an address A to an address B. So, I made two functions in an angular service , the ...
2
votes
1answer
2k views

Web3 not being detected - google chrome extension

I am working on a google chrome extension that operates when a user opens up a new tab. Upon opening a new tab, my dapp should connect to the user's web3 provider. However, no web3 is being detected. ...
2
votes
1answer
266 views

How do I implement ERC20 token transfers with a button while not being the contract owner

Using web3 and setting metamask as the provider I want to be able to build a deposit function that takes a user's current metamask balance for a defined ERC20 contract and allows them to send that off ...
2
votes
2answers
3k views

Authenticating a user via MetaMask (like Cryptokitties)? [duplicate]

I'm trying to understand how a user could be authenticated (like a sign in) using MetaMask, similar to how Cryptokitties makes you sign up/login? From what I understand, we need to have the user sign ...
2
votes
1answer
344 views

Metamask with React

I currently have my app set up with testrpc and I'm trying to set the current provider to Rinkeby (or whatever testnet I'm on in MetaMask). However, when I run the following code, nothing shows up. I'...
2
votes
1answer
347 views

How are state channels being implemented (MetaMask?)

I've been trying to get MetaMask to produce a signature for a sha3 hash that I can verify in solidity. I've tried eth_sign, personal_sign, eth_signTypedData, and I've had 0 success. My test suite ...
2
votes
3answers
453 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 ...
2
votes
2answers
312 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 ...
2
votes
1answer
241 views

MetaMask/Web3js ERR_CONTENT_LENGTH_MISMATCH issue

I've deployed my contract with a UI to Ropsten via truffle and ran npm run build and npm run dev to start the server. As soon as I launch localhost (with the account in MetaMask selected) in the ...
2
votes
1answer
54 views

Metamask “Unknown props error”?

I am using Metamask on Chrome. While I was clicking to send ETH on Private Network (localhost: 8545), I have been getting an error about "Unknown props network, identities, addressBook on tag. Remove ...
2
votes
1answer
408 views

Calling a contract from another contract - nothing happens

I'm trying to call a contract from another contract. When I use a simple example, like below, it just works fine, no problem, the counter in contract A adds up when I trigger function in contract B: ...
2
votes
1answer
822 views

Metamask injected web3 unreliable

I am using node with express to serve HTML and JS files to port 3000. Sometimes the injected web3 get's recognised and things work fine and other times it does not. Strange things is that after page ...
2
votes
3answers
10k views

Running out of gas when sending ETH from MetaMask to Poloniex

I tried making a eth transaction to poloniex. However, I keep getting the error that I ran out of gas. How can I avoid this? Do I have to keep increasing the GWEI? Until what number? Here a ...
2
votes
1answer
542 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 ...
2
votes
1answer
663 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 ...
2
votes
1answer
502 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 */ ...
2
votes
1answer
355 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" +...
2
votes
1answer
767 views

Fast way of checking if my ethereum addresses can claim UNI tokens from uniswap? [closed]

I have quite a number of addresses in eth and is there a way to check if my address can claim uni without having to sign in with each individual account using uniswap?
2
votes
0answers
515 views

How to select a different Metamask address when using Uniswap?

I want to use Uniswap with my hardware wallet. So I go into my Metamask wallet, connect to my hardware wallet, I see my coin balance, then I open Uniswap. The trouble is that Uniswap is showing an ...
2
votes
0answers
86 views

No “from” address specified in neither the given options, nor the default options [closed]

Uncaught (in promise) Error: No "from" address specified in neither the given options, nor the default options. at Object._executeMethod (index.js?2fac3b5:942) at CampaignNew._callee$ (new.js?...
2
votes
0answers
218 views

MetaMask - RPC Error: invalid argument 0: json: cannot unmarshal non-string into Go value of type common.Hash

I am using this code below and I got an error: await web3.eth.getTransactionReceipt(this.state.transactionHash, (err, txReceipt)=>{ console.log(err,txReceipt); this.setState({...
2
votes
0answers
27 views

Loader when confirm clicked in metamask

I want to add a loader to UI when there is a click on confirm transaction popup on metamask. When user clicks on confirm I want to show the loader until the transaction is confirmed. Is there a way to ...
2
votes
1answer
1k views

Sending an ethereum transaction with ethers.js and metamask

I've tried two different ways, and have looked through ethers.js documentation, and I just haven't been able to figure it out. Does anyone have any suggestions? This is in a browser. trans(web3,...
2
votes
1answer
239 views

Ethereum wallets that support “Custom RPC URL” like Metamask

I'm running a private blockchain and I've been using Metamask connected to my custom RPC URL with no issues.. I'm curious if there's any other Ethereum wallet that let's you add and connect to a ...

1
3 4
5
6 7
22