Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
-2
votes
0answers
6 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
10 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-...
0
votes
1answer
24 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
18 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
0answers
12 views

Please Check Out My SIte [closed]

Ok, so I've launched my fist site which is based on the blockchain based. It currently only works on the Rinkeby network. I'd like you guys to give it a go before I launch on the Ethernet Mainnet. ...
0
votes
1answer
21 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
27 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
18 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
55 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
21 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
46 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
22 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
30 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
37 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
31 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
29 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
20 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
26 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
32 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
30 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
61 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
29 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
26 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
144 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
39 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
27 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
116 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
16 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
25 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
37 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
41 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
22 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
58 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
25 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
14 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
76 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 ...
0
votes
2answers
80 views

How to debug a “rpc error with payload”

Debugging smart contract errors can be surprisingly hard. There is one particular kind of error that annoys me the most: the infamous rpc error with payload. For instance, just a few hours ago, while ...
0
votes
0answers
30 views

Ethereum noob. Internal TX not reflecting in balance on metamask. “bad jump destination” error. Going crazy

New to the Ethereum environment. Using metamask, I initiated three transfers of STA for ETH. The STA was deduced from my wallet, however the ETH I was to get in return is not showing. The only new ...
1
vote
1answer
103 views

Transaction Failed but showing as Pending on Etherscan

So I just started using ether after the same was legalized in my country (India). I use Coinbase Wallet for my Storage of ether. I decided to shift to Metamask from Coinbase Wallet and as such ...
1
vote
0answers
12 views

Cannot query contract methods after upgrading to geth 1.9

We have been running a geth 1.8 based private PoA chain for a long time. We are trying to upgrade it to geth 1.9. After changing the command line arguments to reflect the new API and remove ...

1
2 3 4 5
20