Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
2
votes
3answers
8k views

How To Connect Web3 With MetaMask?

No tutorial can help me, I have watched almost every major tutorial on Youtube and read a ton of results from Google... I have on my HTML file imported the web3.min.js (copied from Truffle pet-shop ...
2
votes
4answers
7k views

Ether in ropsten testnet using metamask

I have setup the metamask plugin on my browser successfully. Now i need some test ethers to test the things. I tried to get some from here : http://faucet.ropsten.be:3001/ and https://faucet.metamask....
2
votes
2answers
1k views

Issue with New version of Metamask: Remix cannot detect the Metamask address

I have just installed Metamask version: 6.3.1 Now in Remix, the address of my account in metamask is not detected. The account box in remix remains always blank now (see picture below). Note that I ...
2
votes
2answers
6k views

How to login with web3 without MetaMask?

Is it possible to sign a user in web3 without MetaMask? I am trying to execute a smart contract I created and I'm using Infura to connect to the Kovan test network, but web3.eth.accounts[0] is ...
2
votes
1answer
417 views

Metamask Warning

In an effort to improve user privacy, MetaMask will stop exposing user accounts to dapps by default beginning November 2nd, 2018. Dapps should call provider.enable() in order to view and use accounts. ...
2
votes
1answer
818 views

How does MetaMask save our mnemonic phrase? Is it safe enough?

How does MetaMask save our mnemonic phrase? Is it saved in browser local storage? Does it encrypt our mnemonic phrase?
2
votes
3answers
5k views

Signing message: Provided address is invalid, the capitalization checksum test failed, or its an indrect IBAN address which can't be converted

Provided address is invalid, the capitalization checksum test failed, or its an indrect IBAN address which can't be converted is not a dupe, this is about signing messages My code: const ...
2
votes
1answer
947 views

Is it secure to run public ethereum node? [duplicate]

I'm creating my first Ethereum contract with truffle. I want the web application to be usable without MetaMask so I was wondering if it is a good idea to run my own private node and to connect from ...
2
votes
2answers
3k views

web3.js can I call a smart contract function without knowing the ABI?

In a web3 JS dApp (eg.with Metamask), If I know just the address of a contract and the method name, how can I call that method ? I don't know the ABI.
2
votes
3answers
528 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
2answers
59 views

medalla testnet launchpad requires metamask or similar

Following the official Medalla launchpad at https://medalla.launchpad.ethereum.org, at some point you need to connect to a wallet and the only options are MetaMask, Portis and Fortmatic. Why is this ...
2
votes
2answers
353 views

Metamask now longer interacts with PetShop Dapp

Since November the 4th - In order for MetaMask to interact with your webpage dapps, you need to implement the windows.ethereum.enable as part of your scripts I have run through the pet shop tutorial -...
2
votes
1answer
11k views

what is a private key in an ethereum wallet like metamask? and how do I find it?

my question is about what a private key is? and where would I find it on an ewallet like metamask?
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 ...
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....
2
votes
1answer
6k views

Can't Find My Token on Metamask [closed]

I bought PAY tokens on etherdelta.github.io . They show on Etherscan under the "Token Transfers" tab, but they do not show on Metamask. Metamask reports "No Tokens Found" on its Tokens tab. I would ...
2
votes
1answer
124 views

i am new to this, can someone steal my erc20 token with the Function approve()

I have been using yield Farming (YFValue) and I noticed when I accept the contract via MetaMask. I set faming 500 USDT but in the contract the input was: Function: approve(address _spender, uint256 ...
2
votes
1answer
321 views

Refresh page upon MetaMask Confirmation. Web3js & React()

I would like to reload the React Web3 wallet's page upon MetaMask Confirmation. Meaning when the ERC-20 token send transaction is confirmed, the page should reload or state should update to display ...
2
votes
1answer
326 views

Total metamask balance

I am curious how to get the total current balance of my metamask wallet with as many "accounts" inside it as it bears in the moment? As I can understand metamask is the HD wallet and all my addresses ...
2
votes
2answers
902 views

How to use a metamask Wallet from web3,py?

I deployed contracts to Ropsten test net using truffle and a metamask wallet to pay for the transactions and Infura as a Hosted ethereum node. To do that in Truffle, I have to use the truffle-...
2
votes
1answer
2k views

Remix IDE: Cannot create an account: Not running in personal mode

I'm trying to create an account from Remix IDE on remix.ethereum.org. When I try to create an account it gives me an error Cannot create an account: Not running in personal mode What does this mean?...
2
votes
1answer
592 views

Fix MetaMask gas price estimate on Ropsten

Update: For some reason, just redeploying with truffle migrate --network ropsten --compile-all fixed the issue, and MetaMask now suggests Gwei. After deleting build/contracts dir, I deployed my Smart ...
2
votes
1answer
847 views

Detecting a Reverted Transaction with Web3

I am using Web3 to submit transactions and it seems as though whenever a transaction is successfully mined but reverted I don't get that error on my frontend. Is there anyway to detect when the ...
2
votes
2answers
555 views

web3 deprecated - web3/ethjs etc. difference

I am currently working with smart contracts and the implementation and communication to web apps using MetaMask. I am now confused about what to use and how to implement it. What exactly will be ...
2
votes
1answer
1k views

How to auto Reload dapp when Metamask is Unlocked or Locked by user

How can I auto-reload dapp base on Metamask account status? I wish to design a metamask based authentication (like the one used in Crypokitties), for which I am able to design code which identifies ...
2
votes
1answer
4k views

What are the web3 httpProvider options?

I'm not sure I fully understand how web3 interacts with the ethereum blockchain. When testing things out, I just use web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); And ...
2
votes
1answer
57 views

How is a contract settled when multiple wallets make the same transaction?

I'll use the DApp, CryptoKitties as an example: Let's say some sweet digital cat is released with a "buy now" button for 1 Ethereum and 3 people make the transaction via MetaMask. All 3 transactions ...
2
votes
1answer
963 views

What is the purpose of metamask if it does not support token purchases and I still need to use a token management service?

My question is about the purpose of metamask if it does not support token purchases and I still need to use a token management service?
2
votes
1answer
539 views

Web3 and MetaMask, receiving event from blockchain

Hey guys I'm terribly stuck with getting events to frontend. I'm using MetaMask. what am I missing? Solidity event: event enrolled(address payoutAddress, address sender, uint dateOfTransaction); ...
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 ...
2
votes
2answers
376 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 (...
2
votes
1answer
517 views

Can MetaMask be used as remote node for back end, and not require users to have plug in?

I am building a web app that would track events/transactions made by contracts on the chain. At this point I am considering hosting a geth node on AWS EC2 in order to use in my web3.js initialization ...
2
votes
1answer
889 views

Does MetaMask do caching? How to flush?

I'm running testrpc 3.0.5 locally on port 8454 Using Metamask 3.6.5 When I restart testrcp (and redeploy my contract) then my dapp still returns old values with Metamask. Without Metamask it works ...
2
votes
1answer
32 views

When MetaMask removes the Cancel button for a transaction?

When I start a transaction, MetaMask shows it with Cancel button. When does this Cancel button disappear? Maybe after one confirmation? After N (what is N?) confirmations?
2
votes
2answers
86 views

How do you normalize client-side web3 libraries?

In my web front-end, I need the ability to interact with the Ethereum blockchain. It's possible a user has MetaMask installed. It's possible a user is using the web without MetaMask installed. It's ...
2
votes
1answer
59 views

Someone sent me ethers in multiple transactions and took away my matic tokens nd those ethers

Someone (address: 0xc18842D634A683e6Ea5392e3f9f23a6966C88371) sent me Ether in multiple transactions and took away my Matic tokens and those Ether were sent to another account(address: ...
2
votes
1answer
336 views

how to build Dapp for Android using react-native

I have a ethereum Dapp for web application and have metamask extension installed in my chrome browser to make transactions. Now i want the same application to be developed in android using react-...
2
votes
1answer
534 views

MetaMask and it's “speed up transaction feature” — no callback

I'm using MetaMask to make Ethereum transactions from my website, as described here: https://metamask.github.io/metamask-docs/Main_Concepts/Sending_Transactions It works perfectly. I capture the ...
2
votes
1answer
118 views

generate unique mnemonic with password(only)

I am trying to create an exodus like wallet, where for the first time user just need to enter the password to register on wallet. The method I thought, running PBKDF2 on the password with empty salt ...
2
votes
1answer
2k views

Metamask transaction confirmed but “Internal JSON RPC error”

I am using getWeb3() to instantiate a contract and make calls with, the transaction says that is confirmed but when I open up developer tools there is the following error MetaMask - RPC Error: ...
2
votes
1answer
399 views

how can ethereum addresses are same between different networks (testnet & Main)?

I found, Wallet address are remain interchangeable if i switched between the different networks(Main Network , Ropsen Network & Rinkeby Network) is it assigned to particular machine IP, if not ...
2
votes
1answer
760 views

Result of calling web3.version.getNetwork() from browser-side code is always undefined?

I'm trying to get the network ID from the Web3 object on the client side (i.e. - while running Javascript code in the browser). I have code that confirms that the object exists and it does. I have ...
2
votes
1answer
256 views

Private Ethereum Node connection with Metamask

I am able to connect using metamask localhost 8545 option, as well as computer within the intranet. geth --identity "SK" --datadir data --networkid 18 console --rpc --rpcport 8545 --rpcaddr "0.0.0.0" ...
2
votes
1answer
2k views

How metamask restores account information using seed words?

Metamask don't store keys on any server. Metamask stores your private keys using your browser's data store. Then how can metamask restores accounts using seed words without storing it anywhere ?
2
votes
2answers
756 views

web3.js getGasPrice retuns null

I replace my MetaMask's web3 with web3.js 1.0.0-beta.34, and getGasPrice always returns null under every network -- window.web3 = new Web3(web3.currentProvider); console.log('web3.version = ' + web3....
2
votes
4answers
3k views

How to import account form geth console to metamask (private blockchain)

I want to import accounts from geth console(private network) but I can't. I have UTC file when I create account with geth but when I open file and copy mac and paste to metamask (private key) account ...
2
votes
1answer
2k views

Connect to ropsten network from Node.js

I need to connect to Ropsten network from my Node.js backend . I need to read logs and extract data from them and listen to changes in the network for my contract. The problem is that i don't know how ...
2
votes
1answer
1k views

how to set msg.value in metamask?

I am using MetaMask chrome extension, for my Dapp. I have a function which needs to transfer some amount to another account. This amount is of the order 200 to 800 wei. How do I set msg.value() ...
2
votes
2answers
1k views

How wallets and web3 find public key from private key? [duplicate]

How is it possible for wallets like MetaMask or libraries like web3js to find public key by only providing private key? AFAIK this is not possible generally in elliptic curve.
2
votes
1answer
527 views

How does MetaMask watch / filter events?

If MetaMask uses Infura as their backend, and Infura cannot watch for events, then how does MetaMask manage it?

1 2 3
4
5
22