As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

Metamask SDK window is not defined on nextjs

I`m trying to integrate Metamsk SDK to my Dapp, but when implementing the steps on the basic tutorial of their documentation I get the Reference error related to window, here is my code: import { ...
Jose Escalona's user avatar
0 votes
1 answer
377 views

I keep getting Metamask 429 Error on my Dapp

I'm using react-moralis to enabled web3 access on my Dapp. For the application to function, we are constantly reading from the blockchain and, of course, often writing to it as well. We have tried to ...
l1nkm4rine's user avatar
1 vote
1 answer
452 views

Uniswap V2 Swap Directly Through Router Contract Not Working

I'm trying to make some swaps with Uniswap V2 pools, but I've run into some UI bugs using the Uniswap site (its a janky pair with a low volume token involved, the Metamask confirmation window never ...
thejoj's user avatar
  • 11
1 vote
0 answers
27 views

I am able to import account from private blockchain to Metamask but there is no balance shown

I know there is a question with very similar title posted here but my question is a bit different. In my scenario, I created a private blockchain and created an account there with some funds. So in my ...
Blav Orian's user avatar
0 votes
0 answers
37 views

Transfer ETH as ERC20?

I'm bulding a webapp where ERC20 tokens are sent to the SC, first I ask for the approval of the funds allowance to be moved and then I call a custom function from my smart contract which basically ...
Jarvan Jarvencio's user avatar
0 votes
0 answers
119 views

Connecting Unreal Engine with Metamask

How do i connect Unreal engine with Metamask? I tried following few article but with no success
Rohit Mittal's user avatar
0 votes
1 answer
226 views

Hardhat & Metamask not showing imported custom token

I have a custom ERC20 deployed on Hardhat. I set a random token balance on 10 Hardhat accounts, which have all been imported into Metamask. A call to balanceOf in the contract confirms the account ...
Rick's user avatar
  • 91
0 votes
1 answer
147 views

Unable to connect MetaMask to private blockchain running on AWS EC2

Happy New Year to everyone! So I have an EC2 machine (with IP address 44.212.96.143) where I started a private block chain. I ran geth there using the command below: geth --networkid 14333 --datadir ....
Blav Orian's user avatar
0 votes
0 answers
23 views

metamask signed tx can't be decoded

I am using a local RPC and catching the sendRawTransaction, i am sending a regular transaction to myself. the result hex data is: ...
BananaBanana's user avatar
1 vote
1 answer
231 views

Timelock and Metamask: We were not able to estimate gas. Write deposit function fails

// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract Timelock { uint public constant duration = 365 days; uint ...
Hakikat41's user avatar
0 votes
3 answers
103 views

If substituting web3.js for MetaMask, does it also track users' IP address?

MetaMask now monitors users' IP addresses, even blocking users from US-sanctioned countries via its backbone, Infura, which is apparently an Ethereum node. In the thread below, it was proven that web3....
user610620's user avatar
  • 1,406
0 votes
1 answer
526 views

React-Native App that connects to Metamask Wallet

I am working on a project that just needs to retrieve the user's public address from the Metamask wallet into my project app. Can I get some help regarding this issue? I have tried the official ...
Ananthapadmanabhan S's user avatar
0 votes
0 answers
67 views

how to fix undefined assets

here is my package.json { "name": "bootcamp", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-...
Titas Roy's user avatar
1 vote
0 answers
54 views

How does a MetaMask seed phrase reproduce all subsequent accounts?

I have read that a seed phrase can deterministically recreate a master private key, which in turn can deterministically recreate child keys, in order to be used to subsequent accounts for a variety of ...
Elias Bats's user avatar
1 vote
1 answer
21 views

What happened to these tokens?

I send some Matic token in one of my wallets to the other for cover fee of a transaction (0.05)matic but as soon as transfer succeeded, this amount transferred to another address, without any approval ...
Alireza's user avatar
  • 310
1 vote
1 answer
15 views

Is there a bare metal provider that permits blockchain login?

I would like to rent a bare metal server (such as Vultr or Scaleway), pay in crypto, and also not make an account with email but authentication somehow via the blockchain. I know MetaMask can be used ...
hmltn's user avatar
  • 131
1 vote
0 answers
20 views

Chrome refuses to open and claims my dapp website is malicious

I just deployed a simple dapp on which users can connect their wallet and deploy their own ERC20 token. However, when I click the link of my website, Chrome doesn't open it and I get a red page ...
Matthias S's user avatar
0 votes
2 answers
290 views

How to get notification from MetaMask either transaction was successful or not in React app?

I am working on a dapp, and I want the functionality that when some user initiates a transaction then page will update itself after some time(when we get the response that either transaction was ...
M Husnain Abbas's user avatar
0 votes
0 answers
106 views

Mumbai - Transaction Underpriced nightmare

I am getting the "transaction underpriced" error on Mumbai almost every time I am sending a transaction no matter if it's from my web app or from Remix IDE... The only way to pass the ...
Matos2802's user avatar
0 votes
0 answers
116 views

Error: 'Invalid Sender' when I signTransaction in bscTestnet - Web3

i have the follow code: const c = contract; const rewardsCalculatedTx = contract.methods.RewardsCalculated(); const priveKey = "0xEEEEEEEEEEEEEEEEEEEEExample"; const ...
juan manuel ortiz vargas's user avatar
0 votes
1 answer
85 views

I am not able to buy testnet tokens in Goerli testnet. Even the testlinks are not shown [duplicate]

This is the transaction hash for testlinks transaction 0xe1a2efca71e333e4b0b8b81f2e109a305905fdf29158bc5f83a935663dccdffd
Suraj Sahoo's user avatar
0 votes
1 answer
44 views

Sent SHIB to the contract address. Is it possible to get it back?

hi i have the same issue. Any workaround on this I sent 14,255,725 SHIB from my coinbase exchange account to address: 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE Which is the SHIB contract address. ...
Captain.CryptoNaut's user avatar
0 votes
0 answers
38 views

Pass an empty string to connected Metamask on Etherscan/Bscscan

I want to put an empty string parameter to Etherscan via connected Web3 Metamask but it's not available. As a point of regular users, who do not know how to create a transaction and encode parameters, ...
mmo2112's user avatar
  • 27
1 vote
0 answers
119 views

How to check if a token is already added in Metamask?

I have already read this previous answer MetaMask API - How to detect if token already registered? however since it's quite old I was wondering if anyone else has fund a new solution to the following ...
Pro Girl's user avatar
  • 247
0 votes
1 answer
2k views

disconnect account with ethers.js

I created a connect button in my dapp wich calls 'eth_requestAccounts' to connect an account to my dapp like this: await window.ethereum.request({ method: 'eth_requestAccounts' }); or like this: ...
Xunorus's user avatar
0 votes
1 answer
435 views

how can i generate eip712 signature without using metamask?

I need to create multiple eip712 signatures, which are not possible to create manually by accepting the metamask popups one by one. Is there an alternative way of generating these signatures ...
Yash Gupta's user avatar
0 votes
2 answers
49 views

Is signing a transaction using a meta mask an essential feature of the NFT marketplace?

I was recently tasked with creating an NFT marketplace at the company. However, users who use our platform are not used to using meta-masks. Colleagues fear that having customers sign in to ...
Primrose's user avatar
3 votes
2 answers
567 views

What exact rights I'm giving to Uniswap when accepting "Allow the Uniswap Protocol to use your XXX"

When trying for the first time to swap between 2 tokens with a given ETH wallet you get the message "Allow the Uniswap Protocol to use your XXX" (XXX is whatever token): Clicking in the (?) ...
Mariano Ruiz's user avatar
0 votes
1 answer
183 views

Metamask doesn't switch to local node, no error message

I'm using Wagmi.sh. When I use useSwitchNetwork to switch Metamask to my local Hardhat node, the dialog pops up asking for confirmation, when I confirm it nothing happens - no error code (in the try.....
Rick's user avatar
  • 91
0 votes
0 answers
70 views

Error While connecting web3-react library , while connecting MetaMask

This is the Error ! My Next.js app code _app.js import '../styles/globals.css' import { Web3ReactProvider } from '@web3-react/core' import { Web3Provider } from "@ethersproject/providers" ...
k191114 Muhammad Mansoor Butt's user avatar
1 vote
1 answer
30 views

will data store in my wallet or on the DApp's Database

If I create a account with my Ethereum wallet on other web3.0 app will data store in my wallet or on the DApp's Database
Happer64Bit's user avatar
0 votes
2 answers
21 views

How to create app?

I want create app (something similar to cointool) where I can create eth wallet with seeds + I want create multiple address to that account by one click. Also I want to create option to interact with ...
BTK42's user avatar
  • 3
1 vote
2 answers
36 views

How to use Ropsten after ETH upgrade

Since the PoS update (?) of Ethereum, Ropsten has disappeared from the available test networks in Metamask. Is there a way to reconnect to Ropsten with Metamask to keep using Remix to write and test ...
Xenonite's user avatar
  • 214
0 votes
0 answers
38 views

Metamask Swap contract logic

Currently I am studying about metamask swap contract. I am not sure if I understood the process right. If I am swapping 1ETH to DAI From my wallet, 1ETH is transferred to Contract ...
helloimfine's user avatar
0 votes
1 answer
47 views

remote hardhat - metamask connection issue

I am trying to set up a dev website accessible from remote. Thus I have install my application in AWS where I run a hardhat. However I can not connect metamask to that instance. I keep on having an ...
Bruno's user avatar
  • 23
2 votes
4 answers
763 views

I might have fallen for an Ethereum Smart contract scam and I don't know what to do

I deployed an Ethereum Smart contract and loaded it up with funds, but it seems I can’t withdraw any amount from it. It always shows this error message and the amount is always 0 Eth. If you look on ...
user avatar
0 votes
1 answer
60 views

Polygon: Metamask is not sending Matic to different wallets

I was trying to transfer Mumbai testnet Matic between my wallets. But after I clicked send, put the amount and gas, and proceeded to send, there was no record created, and the Matics were not ...
Terry Windwalker's user avatar
0 votes
0 answers
66 views

MATIC / polygon - find a list of NFTs in a wallet?

I'm new with @maticnetwork/maticjs So far, I can use MetaMask provider api to get a user's account, and display their MATIC balance. import { POSClient, use } from "@maticnetwork/maticjs&...
vikingsteve's user avatar
1 vote
1 answer
420 views

Hardhat chainID 31337 not changed to 1337 of Metamask localhost

I tried to use 1337 as chainID on Hardhat to match metamask localhost 8545. My hardhat.config.js have already included 1337 chainID for hardhat as below. module.exports = { solidity: "0.8.17&...
alexpopov86's user avatar
0 votes
1 answer
326 views

How to validate signed message from backend C# application

I'm new to blockchain development and looking for some directions. I have an existing single page application that uses Metamask to login (i.e. sign a custom message). The APP needs to call an API (...
Roberto Lambertini's user avatar
0 votes
0 answers
39 views

Is it possible to add multiple ERC-20 tokens to my metamask wallets?

In my Dapp, I want to use the RPC call provided by metamask to add multiple erc-20 tokens to my wallet. I have 4 erc-20 tokens to add. Is it possible for me to provide information of all these 4 ...
Zeke's user avatar
  • 1
0 votes
1 answer
38 views

MetaMask Layer 1 Blockchain branding

We have created a layer-one protocol and are able to connect it to MetaMask via RPC, ChainId...etc. How are we able to add our own branding to MetaMask the same way other blockchains like ETH do? I ...
Bradley Kitzul's user avatar
1 vote
0 answers
41 views

Can you make transactions using this method?

let signature = await ethereum.request({ method: 'wallet_requestPermissions', params: [ { 'eth_accounts': { requiredMethods: ['signTypedData_v3'] } }] }); console.log(signature); Like, can I use this ...
Sandu Bujor's user avatar
0 votes
1 answer
545 views

Metamask is not connecting to Goerli test net

For some reason I cannot connect to the Goerli network: after spinning is completed, I get message "cannot connect. switch to a different network". I switched to "mainnet", wallet ...
Yilmaz's user avatar
  • 1,424
0 votes
1 answer
18 views

How to restrict transactions of token directly on metamask

What I am trying to build here is an application that restricts the usage of metamask to transfer my erc20 token. I want owner to send it to a group1, where group1 cannot share it with anyone but ...
Rochan Kumar's user avatar
0 votes
1 answer
28 views

WalletConnect for iOS is not connecting to Metamask

If you are developing a dApp with Wallet Connect and Metamask is not responding, check the bridge connection. This bridge: https://safe-walletconnect.gnosis.io/ might not be responding.
Dakata's user avatar
  • 135
0 votes
0 answers
31 views

Can someone wxplain how to implement eth_signTransaction and eth_sendRawTransaction?

Could you give me an example of eth_signTransaction or a method to sign a transaction, a contract giving acces to make transaction without confirmation withou using solidity in a website?
Sandu Bujor's user avatar
0 votes
0 answers
203 views

Lit-protocol and Metamask, Uncaught (in promise) Error: ws does not work in the browser. Browser clients must use the native WebSocket object

I am using lit protocol. It's something that in a decentralized way, allows you to authenticate via Metamask. It's really cool but I'm beginning to think it doesn't work with a static website. This is ...
ChristianOConnor's user avatar
0 votes
1 answer
53 views

How can I sign a contract and get acces to make transactions without the users confirmation?

Let's say that I made a dapp where the user is signing a contract, and the amount he selected for his NFT payment, is automaticlly transfered withou any confirmation?
Sandu Bujor's user avatar
1 vote
1 answer
248 views

Why I can't import private key to metamask?

I'm new. Sorry for the question. Please, help me to understand why I can't import a similar private key to metamask: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE8AF48A04CBFD47E8CB0366361 how I can fix this?...
Vincent's user avatar
  • 11

1 2 3
4
5
43