Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
2
votes
1answer
15 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
19 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
25 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
0answers
26 views

Function call browser monitoring of Metamask [closed]

While working with different Dapp project, whenever we call some function or any transaction, Metamask automatically detects that call to the contract and provide an interface that builds the ...
0
votes
0answers
32 views

Metamask transactions stuck at pending [closed]

My Metamask transaction has been stuck pending for 2 days now, but I can't even cancel it on MyEtherWallet as it is showing up as "Transaction Not Found" on their check transaction page. All ...
0
votes
1answer
18 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
48 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
9 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
19 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
12 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
135 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
32 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
20 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
14 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
111 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
29 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
12 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
18 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
1answer
24 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
30 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
21 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
30 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
21 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
12 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
73 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
33 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
28 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
42 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
11 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 ...
0
votes
2answers
34 views

Unknown Accounts suddenly appearing in MetaMask wallet…?

My MetaMask wallet has multiple accounts which I did not create. I have no idea how they there. Is my MetaMask wallet compromised? Or is this normal that MetaMask creates new wallet addresses when ...
1
vote
0answers
32 views

Contract not returning error to React Interface

I have a contract which I've tested with Mocha and Remix and is working just fine. The problem is when I'm running it with my React Interface. When I call a function in my solidity contract that ...
0
votes
0answers
11 views

Transaction to contract from web3 not working but working from metamask

I have a method in contract to increase totalSupply and only owner can call it. function addTokenToTotalSupply(uint _value) onlyOwner public { require(_value > 0); balances[owner] = ...
0
votes
0answers
27 views

Accessing modifier of another smart contract - Role Based Access Control

I am trying to create a simple role based access control system for the contracts I have created. I have two smart contracts, one named Users that stores all of the users details as well as the type ...
0
votes
1answer
25 views

Couldn't get any accounts!, Ethereum client is not configured correctly

I'm running testrpc on the default port 7545. I run truffle console and test with: web3.eth.getAccounts().then( function (result) { return result[0] }); This works fine. According to docs the ...
1
vote
2answers
23 views

Non-interactive transactions with Web3 interface

would like to build a blockchain simulator with web3 interface. I use ganache and solidity. my simulator is a microgrid simulator (autonomous energy community) where a house is represented by an eth ...
0
votes
1answer
36 views

Can we upload Keystore file to Metamask?

I created a geth Full Node. Through this I created a new account and a Keystore file was created. Can I import this Keystore file to Metamask so that I can transfer funds?
0
votes
1answer
27 views

print the smart contract balance using web3

I am trying to print the balance of the smart contracts using web3 but it doesn't show any error but on the client-side application it appears as follows: Your Balance: [object Promise] /contracts/...
-2
votes
2answers
87 views

Got hacked on metamask - but how?

Got hacked on my metamask account. Call me a n00b, stupid, whatever. But I want to understand how that is even possible. I need to understand what has been compromised. I am even worried now to use ...
0
votes
2answers
70 views

“Migrations” could not deploy due to insufficient funds

I'm getting the error: "Migrations" could not deploy due to insufficient funds. Sender doesn't have enough funds to send tx. The upfront cost is: 45000000000000000 and the sender's account ...
2
votes
0answers
27 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?...
0
votes
1answer
20 views

Ganache, Truffle, Metamask, and Geth [closed]

Can someone please explain the uses of these things and how these things are different or similar to each other, and how and when they can be used interchangeably?
0
votes
2answers
52 views

Transactions not happening in Ropsten Test Network

I'm learning to set up a simple front-end website that executes smart contract methods in a testing environment, but even though MetaMask confirms the deployment of the contract, the transaction is ...
0
votes
1answer
39 views

Metamask not returning the current address

I am using web3.eth.getcoinbase() function to get the address of the current account but instead, it returns null. Can someone help me with this? This is the code web3.eth.getCoinbase(function(err, ...
0
votes
1answer
28 views

web3 does not find metamask accounts

I have a very strange bug in the code. When loading a page with a code, the current account in metamask should be determined. but this only happens on one local domain. in other domaines accounts are ...
0
votes
0answers
18 views

Best way to avoid transactions that create a new smart contract before submitting it

We are creating a permissioned network (using Besu) where anyone can create and submit transactions. In this context, the writer nodes need to verify that these transactions are not creating new ...
0
votes
2answers
66 views

window ethereum networkVersion undefined

I am developing a frontend of my smart contract using Angular 8 and web3 version 1.2.7. When I enter the view my web3 service gets created. In the constructor I check if the window.ethereum object ...
1
vote
1answer
23 views

API node js with call and send to a contract without metamask

I am new in Solidity. I'm trying to create a API in node js, which can be use without a navigator like chrome with MetaMask. I would like to test it with postman. But i have some problems with web to ...

1
2 3 4 5
20