Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

Sign Metamask message and verify with ethereumjs-utils 7.0.10

I'm trying without success to get signed Metamask message confirmed with ethereumjs-util in the backend. Metamask appears to the user, they can sign the message - but when the message is being ...
0
votes
0answers
6 views

What happens to the funds used in pending transactions?

I have a contract deployment that has been pending for a few days due to very low gas fees. But the amount spent on deployment is shown to be present in my wallet. Can this be used in other ...
0
votes
0answers
12 views

all remix read functions fail: call to X errored: [object Object]

I'm facing an issue with Remix IDE and MetaMask Kovan testnet interplay. All contracts, even a basic ERC20.sol contract returns following error i.e: "call to token.balanceOf errored: [object ...
0
votes
0answers
10 views

recovering wallet from ssd (metamask)

my laptop just broke, I can use ssd, the thing is, being stupid as iam , I'm not sure where I kept the seed phrase, I always used the wallet through the browser just entering the password, I have ...
0
votes
0answers
11 views

Connecting to Truffle local network through Metamask

After launching Truffle in the "(develop)" view, I've tried to connect to it through Metamask (via the "Custom RPC" option in the "Networks" menu, I've set the URI to &...
0
votes
0answers
8 views

WalletConnect Session Handling (with Metamsk) - No Metamask Confirm Dialog after first transaction

I have a web app using Wallet to send ERC20 transactions (contract interactions -> transfer). I am using Metamask (mainnet) to interact with the web app. For the login (connect) I get the confirm ...
0
votes
0answers
11 views

Why this error is coming Uncaught TypeError: Cannot read property 'on' of undefined?

Here is my code in which error is coming please help me out. initContract: function () { $.getJSON('Election.json', function (data) { // Get the necessary contract artifact file and ...
2
votes
0answers
17 views

Capture that a listener dismissed the MetaMask popup

I'm using ethers.js and I'm writing code to connect to MetaMask when the user clicks a "connect" button on my site. The problem I'm having is that I'm unable to determine if the user ...
0
votes
0answers
38 views

Capturing accounts on metamask with Ethers.js

On this code, the private_key is the key that the user entered. My goal here is to get the private_key from the user and log in with whichever public key it matches among the accounts that I have ...
0
votes
1answer
10 views

How to prevent user to change recipient address when MetaMask transaction window pops up?

I want to integrate MetaMask as one of payment methods on my website. The idea is to lock my content, when user made a successful ETH payment so the content will be revealed. This is the source code: &...
0
votes
1answer
13 views

I sent ERC20 to Ethereum wallet that doesn't accept tokens. Is there any way I can recover it? [duplicate]

So after creating the smart chain bnb network on metamas I swapped my BNB to ETH and sent it to a casino account. apparently those were ETH tokens and they don't accept them. Are there any ways I can ...
0
votes
0answers
14 views

Metamask won't display balance on Ropsten test network

Going over first chapters Mastering Ethereum book, I've obtained some ether from a faucet on Ropsten Test network, but Metamask (after 2 days and 18K confirmations) still shows the balance of 0 ETH, ...
0
votes
1answer
20 views

restore a deleted imported metamask account

i had my metamask wallet stoled, and my first reaction was delete the stole account. But this account has some pools os pancakeswap, and i need to restore it to save my tokens. I have the seed phrase ...
0
votes
0answers
23 views

MetaMask total USD balance including all coins

I wonder if it's possible to show total USD balance of MetaMask wallet, including every single coin added there as custom token. I don't see that option in MetaMask, it doesn't even show me BNB or ETH ...
0
votes
1answer
22 views

How to connect Metamask with Web3.y

I know Meta Mask is a frontend Google Chrome extension. I want to know how my DApp can find the client's current wallet. Should I check if web3.js is enabled and check the availability of Meta Mask ...
-1
votes
0answers
40 views

Uncaught (in promise) Error: invalid address

I am a newbie coder, I am currently working on a DAPP using Ethereum. I tried to create a task on the JS console and it did not work. App = { loading: false, contracts: {}, load: async () ...
0
votes
1answer
23 views

How do I set up MetaMask in a new browser on the same machine without having to dig up contract addresses for all my tokens?

I'm trying to switch the browser I use for MetaMask, though staying on the same machine. I can't find any documentation on how to do this although I would think connecting MetaMask to an existing ...
0
votes
2answers
45 views

Reinstalled Metamask, Accounts Gone!

I've installed metamask on new PC. Used my 13 words seed phase to recover my account but Accounts didn't recovered. I've tried all 3 methods that people talked about. 1-I've tried to add 30 accounts ...
0
votes
1answer
18 views

Web3.eth.abi.encodeFunctionCall Is not working

I'm creating a dapp that charges users a specific amount of eth depending on their input. Whenever I attempt to create the transaction, I specify the amount of Eth in Wei. It throws an Error with no ...
0
votes
0answers
4 views

Eth Not add in my meta mask from test ether faucet? [duplicate]

For the first time i am using meta mask and test ether faucet.and I want to add some test eth in my meta mask from test ether faucet but eth are not add In my meta mask.?
0
votes
1answer
18 views

How to distingih between a dApp and a webapp?

Is there a simpler and automatic way to check if a website or web address is a dApp? Should I check for the web3.js component on the webpage? I can check for web3 component on chrome which has ...
0
votes
1answer
15 views

How to sign transaction from frontend with metamask and then send that signed data to rest api for submitting the transaction?

I have a front end connected with metamask wallet and a rest API layer. My requirement is to sign the transaction from metamask and then to send the signed transaction to rest api to submit the ...
1
vote
0answers
13 views

web3.eth.personal.ecRecover return wrong address

I'm signing EIP712 message in my front-end app. But when I use web3js.ecrecover to verify address signer it return a wrong address (random). Data to sign (EIP712) : msgParams = { domain: { ...
-1
votes
0answers
14 views

why my my transactions are not showing on etherscan

My transaction is not showing on Etherscan I send some crypto with nonce of 2 ,I tried searching about that transaction but I never got any details on Etherscan
1
vote
1answer
273 views

MetaMask: Internal JSON-RPC error with Ledger with Chrome 91

Since Chrome 91 update, MetaMask and Ledger stopped working.
2
votes
1answer
71 views

Does exposing a MetaMask private key mean the seed phrase is compromised?

Say I have two MetaMask accounts generated from the same seed phrase. If I accidentally expose one account's private key, could an attacker reconstruct the wallet's seed phrase and therefore the other ...
0
votes
0answers
26 views

Send ERC20 Token to Contract address using web3.js

I am trying to send custom ERC20 TestToken to a contract address but somehow Web3 just fetch ether detail from metamask account async function runApprove() { const web3 = window.web3; const ...
0
votes
0answers
12 views

Using an ethereum address for centralized service authentication

I am building an app that interacts with a centralized backend. Let's say your typical java spring boot application. However, as this centralized app is sort of in the blockchain space I was wondering ...
0
votes
0answers
11 views

Web3 sign promise won't resolve

I'm trying to build a login system using MetaMask. Everything is working thus far except for sending a signed message. The signed message goes through to MetaMask but then it gets stuck resolving the ...
0
votes
0answers
7 views

Any acc with eth is accessing my contrct restricted methods on rpstn ntwrk.It should give err but its not giving. On ganache its working as expected

I created one project, which is working perfectly on ganache. But whenever I deploy it on ropsten it is doing anything. I will explain in brief after opening my web app on browser if i try to call any ...
0
votes
1answer
23 views

Transaction out of gas with Remix and Metamask

I'm trying to deploy a contract with Remix and Metamask but I get this error every time I'm trying to do it. creation of ICODeployer errored: Error: [ethjs-query] while formatting outputs from RPC '{&...
0
votes
1answer
12 views

How can I detect with Web3.js a NET change in Metamask navigator plugin?

How can I detect with Web3.js a NET change in Metamask navigator plugin ?
0
votes
1answer
28 views

Contract constructor parameter which is also a contract

I have contract in solidity MasterChef.sol which can be seen at the link below https://github.com/pancakeswap/pancake-farm/tree/master/contracts I want to deploy it using truffle on the Binance smart ...
0
votes
1answer
42 views

Metamask is not showing the balance

I use rinkeby faucet to get some ether, when I check the Etherscan it successfully deposit to my account(0x0E2a77b). I have two question to ask. First question is, When I go to Metamask it doesn't ...
0
votes
1answer
22 views

Coding a smart contract for people to easily start a trustless bet online. How to improve my smart contract?

so I really want to create a smart contract for the community to use - one where two people can easily and trustlessly make a bet between each other. V1 of the smart contract would be where two people ...
1
vote
0answers
24 views

Basic Authentication with Metamask

We are evaluating the option to include an Nginx script with authentication in front of a blockchain node. One option is to use Basic Authentication in the path of the network URL in Metamask. Is ...
0
votes
0answers
8 views

Not able to connect to metamask using ethereum.enable()

I actually tried building a simple Decentralized application using the truffle pet-box. There's some issue in the App.js part of my project. I'm not able connect it to the MetaMask. I used this to ...
0
votes
0answers
19 views

how can i show the value(uint256) in contract

I made a webapp by modifying it from https://github.com/RedSquirrelTech/hoscdev/tree/master/chapter-10%2B11 for newFundraiser.js I have it sent in monetary value, it will be msg.value and saved as ...
0
votes
0answers
8 views

ALERT: Transaction Error. Exception thrown in contract code while using Safemoon fork [duplicate]

I'm currently trying to use dxlock to lock my tokens, but whenever I try to lock them, it gives me ALERT: Transaction Error. Exception thrown in contract code. Anyone has any idea what's going on? ...
3
votes
1answer
131 views

How to automatically add a custom token to MetaMask with ethers.js

I was playing around with creating BEP-20 tokens on cointool.app and noticed that whenever you generate a new token and pay the gas fee to mint it, the website automatically prompts you to add this ...
1
vote
0answers
35 views

How do I add a wallet to web3-react without using an injected browser extension?

So essentially I am not using the Metamask browser extension for my usecase and instead, I'm initializing a wallet using web3.eth.accounts.wallet.add(private-key) to add the wallet. I'm also using ...
0
votes
0answers
17 views

when call solidity token approve method via web3js, my metamask is locking

i have got code like following; when i call that code, my metamask is locking and didn't respond. what can you suggest? thank you var MyContractToken = new web3.eth.Contract(abiToken,'...
0
votes
0answers
13 views

Error when connecting metamask mobile to ganache RPC Server

So i'm running a ganache server using the ganache GUI, for the host name I'm using the Wi-fi ip and the port is: 7545. Connecting to this rpc server with the metamask browser extension works just fine,...
0
votes
0answers
52 views

METAMASK ERROR - ALERT: Transaction Error. Exception thrown in contract code

I've currently working a basic NFT auction marketplace. The application works with two contracts: (1) - NFT Minting/Repository Contract: that mints the NFT and provides verification to the Auction ...
1
vote
1answer
48 views

Save Tokens from Metamask with Stolen Seed Phrase

I got phished into sending my Seed Words to a hacker. I already lost some ETH I had there. I will be getting some tokens on the 29th of May, and I fear the hacker might also steal them. I was thinking ...
0
votes
0answers
20 views

Web3 and Metamask : how to get signed data?

I'm trying to sign data with web3 + metamask and get that signed data to my server. I ask to sign data, metamask prompt pop, I accept but then nothing happens? Html : <button class="button is-...
0
votes
0answers
24 views

it diesnt take the address as an argiesment and returns an uncaught promise

I keep running it this error. i can't get it to work. i need some help. Unhandled Rejection (Error): invalid address (argument="address", value="", code=INVALID_ARGUMENT, version=...
0
votes
0answers
81 views

Remix Ethereum: Sorry, We are unable to locate this TxnHash

I want to deploy a contract, a very simple ECR20 standard. Im using Remix/solidity and when I test with the Ropsten test network it works well. I'm using MetaMask I then tried to deploy to the main ...
0
votes
0answers
19 views

Is this the correct way to deploy a mock, for a Token farm?

I'm wanting to create a token/farm and yield, but confused about a few things and I can't find an answer anywhere in the documentation. Firstly I have my original token which is ERC20, "moore&...
0
votes
0answers
16 views

Metamask Ethereum Problem

I had $200 worth of Ethereum and randomly, it got sent to a random account. I didn't noticed this a week after, I was wondering if it is suppose to take some Ethereum, but not all?

1
2 3 4 5
27