Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

How to deploy smart contract using Remix 0.8.0 and MetaMask?

How do I deploy a contract on a test network using Remix 0.8.0 and MetaMask on a Firefox or Chrome browser?
0
votes
1answer
15 views

How to programatically change the current network with MetaMask

I would like to have a button that switches between main net and ropsten on my app, in order to do so I need to programatically change the current network with MetaMask. But I cannot find aby ...
0
votes
0answers
15 views

Prevent opening metamask on ethereum.enable/creating new web3 instance [closed]

How can I prevent initializing Metamsk on window.ethereum.enable() or on creating a new instance of Web3?
0
votes
0answers
8 views

Contract Interaction without nonce and without Transaction Hash >it blocks all in Metamask

I have a contract interaction in my meta-mask wallet without nonce and without transaction hash. I have no clue anymore what I did, but it blocks all. If I try to cancel, it just queues another ...
0
votes
1answer
31 views

ETH not showing up

To help me get started learning how to create contracts, I had 1 ETH sent from the Ropsten Ethereum Faucet to my MetaMask address. It arrived fine, but when I tried to send it to MyCrypto address it ...
-2
votes
0answers
7 views

ALERT: Transaction Error. Exception thrown in contract code [closed]

Please help!! https://github.com/Mahdi321/DCensus/issues/2 it happens when add a member using form
0
votes
0answers
18 views

How do I put an Ethereum address in an HTML link?

I'm sure I've seen this done, but I cannot for the life of me remember where. I'm writing a simple HTML page, and on it I'd like to have an Ethereum address as a clickable link, so people with Web3.0-...
1
vote
1answer
31 views

MetaMask won't send txs on local dev chain

I'm running a local dev chain for development using Etherlime. When trying to interact with the chain using MetaMask, I get the following error: MetaMask - RPC Error: Error: [ethjs-rpc] rpc error with ...
0
votes
0answers
19 views

Truffle console is hanging on function call

I have a contract deployed to ropsten. It has a function called enter: function enter() public payable { assert(msg.value == MINIMUM); assert(OPEN == true); players.push(...
0
votes
1answer
16 views

Metamask export all acounts at once

Is there a way to export all metamask accounts at the same time and then load them in some other browser ? Say for eg I have around 20 accounts in metamask in firefox and then I want to load these ...
0
votes
1answer
36 views

“Migrations” — sender account not recognized

This is my truffle.js i've removed the credentials marked as * var HDWalletProvider = require('@truffle/hdwallet-provider'); var fs = require('fs'); var infura_apikey = "*" var mnemonic = &...
0
votes
1answer
30 views

MetaMask displaying wrong value when making RPC sendTransaction call

I have been trying to send a transaction using an RPC call with MetaMask's window.ethereum.request injected method. I have successfully sent a transaction before, by using the web3js method web3.eth....
0
votes
2answers
20 views

I had version uped my metamask on firefox. It makes my metamask account renewed. I want login my old metamask accout

I had version uped my metamask on firefox. this version up makes my metamask account renewed. I want to login my old metamask accout. I dont have my old acccunt private key or JSON for import old ...
1
vote
1answer
57 views

Metamask error - Denying load of chrome extension

I receive this error when trying to send ETH to my smart contract for tokens. I am able to whitelist Account 1 but when trying to buy tokens with my 2nd Account or whitelist the 2nd Account this error ...
0
votes
1answer
11 views

How to check the current MetaMask network?

How to check the current MetaMask network? For example, if the current network is Rinkeby, I need the string "rinkeby".
0
votes
1answer
22 views

How to make this interact with metamask

I've been trying to make my contract be callable by metamask (so a popup will occur telling the user to confirm) but it does not seem to work, heres what I have come up with so far. Can anyone give me ...
0
votes
0answers
14 views

unable to see the first address using web3.eth.getAddress()

I tried to see all address using web3.eth.getAccounts() It's run perfectly. Next I tried to see the first address using web3.eth.getAccounts().then(function(accounts) {return accounts[0]}) It's also ...
0
votes
1answer
51 views

All transaction pending a lot of time?

I wrote contract and deployed it on remix today but it takes over 5 min to confirm.And I tried to call function of deployed contract , but the transaction still takes several minutes and even I call ...
1
vote
1answer
24 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 ...
0
votes
1answer
31 views

Use web3.js without MetaMask

I have <script src="https://cdnjs.cloudflare.com/ajax/libs/web3/1.2.9/web3.min.js"></script> How to use this web3.js on browsers without MetaMask (for read-only Ethereum queries)...
0
votes
1answer
88 views

Transaction pending on Etherscan but not showing on Metamask

I tried to speed up and cancel from Metamask but it disappeared from the there and still showing on Etherscan like pending https://etherscan.io/tx/...
0
votes
1answer
27 views

Get current metamask account method not working anymore

I was using the following method to access the selected account on metamask through web3 v1: //metamask method that refresh the active account in the web this.web3.currentProvider....
0
votes
0answers
38 views

How to debug this metamsk error ? - Error: [ethjs-rpc] rpc error with payload:

I have a DApp integrated with metamask and ganache, front-end built on react. I am getting this error when I interact with the smart contract from front-end, contract send calls. Smart contract ...
0
votes
0answers
30 views

How to perform Web3 & MetaMask user sign in

I'm new to blockchain development and would like to build an app with node.js, express.js, next.js, web3, meta mask for user sign in. Are there any good docs that would help me out thank you.
2
votes
1answer
24 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?
0
votes
0answers
27 views

My Crowdsale contract wont transfer ERC20 tokens and all transactions fail

I have a crowdsale contract that recieves tokens directly from a mint function in my token contract.the function mints the tokens and sends its to the Crowdsale account address. when I run let token = ...
1
vote
1answer
33 views

Sign Function of web3.js for Authenticating users via MetaMask

I am trying to follow the example found at this site in order to authenticate users using the MetaMask functionality. Furthermore, the web3.js documentation at the following site, specifies this sign ...
0
votes
1answer
31 views

In MetaMask (web3.js 0.20.x) how to get events happened during a transaction?

In MetaMask (web3.js 0.20.7) I send a contract method with .sendTransaction(). Now I need to check the values of arguments of UpdateItem event created by this contract during the call of this method. ...
0
votes
0answers
63 views

How do i withdraw Eth from a contract i created

New to blockchain.. havent a clue.. I managed to create a new contract with Eth. I moved money from MyEtherum Wallet to Metamask and into a contract, somehow? I have no coding experience but need ...
1
vote
1answer
12 views

Security of Exclusively using MetaMask's Account as a Login Process

I am currently developing a Dapp in vue.js/node.js which will use MetaMask to interact with the Ethereum Network. I have the following code implemented in a JavaScript module. import web3 from 'web3';...
0
votes
0answers
33 views

How does MetaMask secure / store unlocked accounts?

I understand that MetaMask stores the encrypted vault somewhere like C:\Users\USER_NAME\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn ...
1
vote
1answer
27 views

Check if Metamask was just installed after asking the user to do so

In an effort to make my dApp more user-friendly, especially for onboarding, I'm trying to guide new users into installing Metamask. If no web3 provider is present, I show the user a "Create your ...
0
votes
0answers
15 views

Metamask not connecting with my account in ganache

I'm developing a project with truffle pet shop . when i connect my project to metamask using the private keys of a account , im not able to receive my account address on my code and though i connected ...
1
vote
1answer
148 views

How to get all kind of transactions happend to/from an address within a time range?

I'm trying to get all transactions that occured to an address within a specified time range. The transactions shall include all ethers as well as token transactions done to/from an ethereum address. I ...
1
vote
1answer
41 views

How can i create my own version of Metamask? (Wallet, provider and a signer)

I have done a lot of research regarding the working of web3 and the new library called ether.js, Also how the seed phase work in the creation of wallet and addresses and the Hierarchical Deterministic ...
0
votes
1answer
32 views

Transaction is stuck, how to unstuck it?

I'm using metamask to send a transaction. It sent a transaction with nonce 3, and it has high gas price. However, it's not getting mined at all, now waiting for a long time? Why is it not mined? I ...
0
votes
0answers
18 views

Specified HTTP/RPC port, yet Geth 1.9.15 will not map that port

I am trying to expose port 8545 on a local geth client for use with MetaMask on Chrome 83.0.4103.106 (x86_64), using a Windows host (10.0.18362.900). I store all my blockchain data on a separate drive,...
4
votes
1answer
118 views

What are the odds of getting same address or private-key or 12/24 set of mnemonic to 2 different people

Questions!! What are the chances that 2 people get the same set of those 12 or 24-word mnemonic?? In web3.js, there is a function ' web3.eth.accounts.wallet '... It spits out a set of accounts and ...
0
votes
0answers
31 views

Error: “Couldn't decode uint256 from ABI: 0x” Private Ethereum Network web3js MetaMask

I am trying to call the smart contract for data using this code and every time I am getting this error. I am using a Private Ethereum Network with MetaMask. The calling function is given below. ...
0
votes
0answers
18 views

Setting up WalletConnect

I'd like to implement WalletConnect on my site, so that users of a platform I'm trying to improve a lot (real estate tokenization) can connect their MetaMask wallet (and others eventually?!) to the ...
0
votes
0answers
29 views

Metamask wallet lost after Chrome Extension crashed

I installed Metamask a long time ago and sent 1 ETH to it for testing last month. Today the Chrome extension crashed and was disabled by Chrome. When I re-enable it, it asks me for my seed phrase ...
1
vote
2answers
39 views

Web3's eth_sign with metamask notification never closes and promise doesn't resolve!

I'm trying to call web3's eth_sign with metamask's provider, like so var signature = await web3.eth.sign(web3.utils.utf8ToHex(randomMsg),acc0) The metamask windows notification pops up and ...
0
votes
0answers
45 views

My is metamask returning RPC Error: Error: [ethjs-rpc] rpc error with payload, metamask shows failed [object, object]

My metamask shows ALERT: Transaction Error. Exception thrown in contract code. When I am about to transfer using truffle, open zeppelin and ganache on localhost:7545 after confirming the transaction ...
0
votes
1answer
24 views

How to import an account in Metamask browser on Android? [closed]

Questions. How to import an account in Metamask browser on Android? or How to use Metamask in Android? Description: I followed the link metamask.io I clicked Get Chrome Extension. The site ...
0
votes
0answers
12 views

How to import an account in FireFox on Android?

Questions. How to import an account in FireFox on Android? Description: According to the instructions, I downloaded the JSON file. I received an email code. I went to the "Import Account" page. I ...
0
votes
0answers
11 views

why can't we get the meta mask injected account using web3.py? [duplicate]

I am trying to get the current account from meta mask in my Dapp ,i am using web3.py. In web3.js ,web3.eth.getCoinbase() returns the current account of the metamask, but web3.eth.coinbasein web3.py ...
1
vote
1answer
69 views

How to install Metamask on Chrome in Android?

Questions. How to install Metamask on Chrome in Android? or How to use Metamask in Android? Description: I followed the link metamask.io I tried Get Chrome Extension. The site redirected me ...
0
votes
0answers
28 views

MetaMask - RPC Error: Error: [ethjs-rpc] rpc error with payload [obejct Object

I am trying to sign transactions using certify_send() function to a smart contract deployed to my private ethereum blockchain but I keep getting this error after I approve in MetaMask MetaMask - RPC ...
0
votes
0answers
15 views

TypeError: Different number of arguments in return statement than in returns declaration

function _execute(Proposal memory p, bytes memory transactionBytecode) internal returns (bool) { ProposalType proposalType = p.proposalType; uint childID = p.childID; ...
2
votes
2answers
77 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 ...

1
2 3 4 5
20