Questions tagged [metamask]
Question about the Metamask chrome's plugin.
2,253
questions
0
votes
0
answers
25
views
Unable to understand how I'm supposed to gas optimize this cuz it keeps saying the gas fees is too high and likely to fail. How do I fix this?
pragma solidity ^0.8.20;
import "./Errors.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus....
0
votes
0
answers
15
views
Why some transaction need tracing to be possible to saw them?
Native ETH transfers, unlike ERC20 or wrapped ETH (WETH) transactions, often need specialized tracing methods to be fully visible in transaction. This raises the question: why does tracing become ...
0
votes
0
answers
8
views
I can't get Sepolia Ethereum from the testnet site, it gives this error [duplicate]
▲ We require wallets to have a more established transaction history, your wallet does not currently meet this
I need to have at least a few transactions to fix this problem.
0
votes
0
answers
14
views
Disconnected button state doesn't update when disconnecting, so Metamask doesn't pop-up when trying to connect back again
Context:
NFT Smart Contract/
React App/
State Managed with Redux store
Issue Description: When pressing "Disconnect" button state does not reset to initial state and Metamask connection ...
0
votes
0
answers
21
views
The most popular ways to scam on crypto EVM
I want to describe the methodologies in my bachelor's thesis, but I don't know what kind of crypto scams there are and which ones are used most effectively
Thanks
0
votes
0
answers
17
views
not able to verify my smart contract on zkSync Era Testnet using Remix and MetaMask
I am trying to deploy my smart contract on L2 but the "verify contract" button is disabled and even after deploying my smart contract is not visible on sepolia.explorer.zksync.io, any idea ...
1
vote
0
answers
30
views
bip_utils and metamask
I am trying to learn to use the python package named bip_utils.
Here is the code
from bip_utils import Bip39MnemonicGenerator, Bip39SeedGenerator, Bip44
mnemonic = Bip39MnemonicGenerator()....
0
votes
1
answer
63
views
Data not fetching from smart contract for the same code in different versions of "ethers"
I am trying to make a dApp for real estate marketplace. I was using "ethers" 5.7.2. Everything was perfectly fine. In the various categories screen, the properties data of various properties ...
1
vote
0
answers
18
views
Ethereum desktop or mobile wallets for privacy
Are there any Ethereum wallets or forks designed for user privacy?
A desktop or mobile wallet that only makes calls to a local node, and has logging disabled by default?
Is there a fork of MetaMask ...
1
vote
0
answers
21
views
How can I avoid my ERC-721 token to be added to hidden/suspicious NFTs by Metamask?
I have deployed an ERC-721 collection and mint a new NFT token with proper metadata URL.
The NFT displays perfectly on OpenSea, so ERC-721 code and the JSON Metadata should be fine:
https://opensea....
0
votes
1
answer
44
views
Getting a "Calling an account which is not a contract" for when I'm trying to read the IDs non-fungible assets but keep getting BAD_DATA errors
I'm trying to build a blockchain NFT Marketplace app and two of the things I'm trying to do is getting the balance of tokens present from the user's account and finding the owner history for each of ...
1
vote
1
answer
25
views
Can eavesdroppers see when one opens MetaMask with a password (and does nothing else)?
Person wants to keep his web identity decoupled from his MetaMask wallet and uses a trustworthy VPN.
Person forgot to activate VPN and opened MetaMask with his password, realizes VPN is not active and ...
0
votes
0
answers
13
views
Why is VSCode not fetching the details that are given to the contract after the deployment to the Remix IDE?
Why is VSCode not fetching the details that are given to the contract after the deployment to the Remix IDE?
import React, {useEffect, useState} from 'react'
import { FaDonate } from 'react-icons/fa';
...
0
votes
0
answers
43
views
Why does the BitKepp (BitGet) wallet display isMetaMask:true in its properties?
I tried it in different browsers with and without MetaMask installed.
-1
votes
1
answer
39
views
need some amount of ether for getting the fake ether to learn blockchain [duplicate]
actually i was trying to get the LineaETH on Linea Sepolia test network. when i visited Alchemy(https://www.alchemy.com/faucets/ethereum-sepolia) for same, it is asking for to have some amount of ETH ...
1
vote
1
answer
52
views
Goerli faucet website showing error":"Invalid chainNetwork
When I tried to visit the Goerlifaucet.com, it showed error.
I don't know how else to get funds for my test account..
1
vote
1
answer
146
views
How can I add anvil token from the test token provided to my metamask account
When I run the make anvil command in terminal it provide me a bunch of accounts with test accounts. I am not able to import tokens from test account to my metamask account
-1
votes
1
answer
32
views
I fundend an ETH smartcontract using .sol and remixeth.io but cancelled contract before withdrawing the coins [duplicate]
0xFcdA2700dCb5fb0f6CD0954498c922cDEbBFE32B
is there any way to get those coins back on my wallet?
0
votes
1
answer
20
views
In which language should i write my deployment code Javascript or Solidity
Which language should I learn to write the deployment code for a smart contract: JavaScript or Solidity (using Foundry)? What should I learn according to today's trends?
2
votes
2
answers
90
views
Metamsk error : while converting number to string, invalid number value ‘1e-7’, should be a number
I ma running a Daap the utilizes mostly metamask as a wallet and i do keep getting errors like this
while converting number to string, invalid number value ‘1e-7’, should be a number
this is a local ...
0
votes
0
answers
44
views
react project cannot get the data from the contract
I copied a project and there is a problem when ( tried to access the page of my react app it shows "failed to fetch"
ERROR
Failed to fetch
TypeError: Failed to fetch
at HttpProvider.<...
0
votes
1
answer
28
views
Raw Tx to structure
Is it possible to extract the raw data from etherscan and then trying to decode it into readable format?
Specifically, i would like to sign transactions using python and i have always relied on rabby ...
0
votes
0
answers
48
views
Swapped on Metamask, usdt out but the transaction failed, coins are gone
I tried to swap usdt to another coin on Ethereum using metamask swap, I approved the swap with $5000 usdt but it transferred out all of my usdt, while the transaction went failed due to low gas fee, ...
0
votes
0
answers
22
views
MetaMask issue with wallet
Cant seem to slove this issue as you can see below I have a wallet that I cant use the funds
0xa9e3...408f76
0xa9e3...408f76
$74.56 Watched Unowned
I have tried everything and Im at lost why does it ...
0
votes
1
answer
23
views
How to get the user's transaction without the tx hash?
As a Dapp developer there are times that the wallet provider that I use, has some bugs and does not return a tx hash to my app for a transaction. in this situation I am not sure if the transaction has ...
0
votes
0
answers
116
views
Metamask - How to claim ownership of Unknown account
I tried to transfer a small amount of ETH from my Binance Web3 wallet to my Metamask wallet using the OPMainnet.
Now, the transfer is successful, and has left my BinanceWeb3 wallet and shows ...
1
vote
0
answers
73
views
How to get provider if I am using rainbowkit wallet extension?
I am using window.ethereum to get the function for smart contract transaction but it only triggered my Metamask wallet extension instead of Rainbowkit. Is there an option to grab currently connected ...
0
votes
1
answer
19
views
Lost assets after deleting the account
I'm not sure this is the correct way to contact. I accidentally deleted my one account from the Metaskwask wallet and when I recovered my account with my secret phrase I couldn't find some of the ...
0
votes
0
answers
34
views
Why does my from address changes when signing an eth_sign transaction
I need help with something. I am trying to create a transaction, sign it, and send the transaction with web3, but every time it gets signed, the from address changes to a random address.
After much ...
0
votes
0
answers
10
views
Copi tokens missing from my metamask wallet [duplicate]
I had 10000 Copi tokens in my Metamask wallet and they are all transferred to 'PancakeSwap V2: COPI 5' and can see a transaction history. But I didn't initiate this. Could someone help me understand ...
0
votes
1
answer
27
views
Metamask transaction error
getting MetaMask - RPC Error: Function object could not be cloned. DOMException: Function object could not be cloned. after signing the transaction
This is how i am signing the transaction
this....
0
votes
0
answers
41
views
Wrong Network shown for claiming Param tokens
I have to claim my param tokens but once I connect the metamask wallet it shows wrong Network (Arbitrium) in paramgaming website. I have selected different network in my wallet and have reconnected ...
0
votes
0
answers
12
views
Is it possible to know all transactions of buying or selling a certain coin within trading platforms like kucoin ...?
Is it possible to know all transactions of buying or selling a certain coin within trading platforms like kucoin ?
0
votes
1
answer
42
views
Want to redirect to react component based on metamask address
I'm building an Identification management dApp, in which I have to redirect to a different component based on selected MetaMask account address.
For example, if I'm an applicant then I will be ...
0
votes
1
answer
86
views
Converting Eth price correctly in JS
i have this snippet i fixed the hex and suggested in the comments. Console error is here https://ibb.co/LShTFxX Metamask is still throwing large number
console.log('the conversion factor is', ...
0
votes
0
answers
29
views
how to use the js library in nest js that doesn't have types
below is a controller and service code
import { Body, Controller, Get, Post, HttpStatus, Res } from '@nestjs/common';
import { AppService } from './app.service';
import { request } from '../utils/...
1
vote
1
answer
201
views
Is there a way to make the user pay "aggressive" gas fees automatically instead of them choosing that in MetaMask?
I am having issues with MetaMask in my DApp because users are using wrong or invalid RPCs.
Is there a way of making users add a network automatically to MetaMask with the right RPC and override the ...
0
votes
1
answer
26
views
Where do the prices of token, displayed in Metamask and on Block Explorers, come from?
When you have tokens in your wallet, and view them in a wallet application like Metamask or via public block explorers like Etherscan, PolygonScan etc, you can see a dollar value for the tokens.
Where ...
0
votes
1
answer
30
views
How to create a token standard?
I need to create my own token standard for a project because I can't find anything that fits my requirements. When I tried looking this up online, I only saw results for 'how to create your own token',...
0
votes
0
answers
148
views
There's an auto withdraw bot activated in my wallet, how can i get my wallet back? [duplicate]
There's an auto withdraw bot activated in my wallet and all my coins are being transferred out automatically, please does anyone know how i can get my wallet back, i can't even deposit gas fee to ...
0
votes
0
answers
33
views
Lost my coins after bought on pancakeswap
I have buy IPTOKEN token. The transition is succesful. But after receive on my wallet coins disapier from my wallet.
Anyone can help me.
This is trasnsaction
https://bscscan.com/tx/...
0
votes
0
answers
21
views
Sending a specific ETH balance - FiFo
I'd like to send a specific balance of ETH from one address using Metmask. Does anyone know how to identify specific tokens and then execute a transaction using only these tokens while all other ...
0
votes
2
answers
88
views
Is it possible to validate the Metamask personal_sign in the back end?
I am trying to understand the point of signing a personal message in the client. I guess this is usefull to confirm that the user is the owner of the address. But since this sign is done in the client ...
0
votes
1
answer
265
views
Getting execution reverted: ERC20: transfer amount exceeds allowance code: UNPREDICTABLE_GAS_LIMIT method
Getting this error when attempting to call an external swap function in a contract I created on the Sepolia Test Network from Hardhat TypeScript.
reason: 'execution reverted: ERC20: transfer amount ...
0
votes
0
answers
82
views
Can't add liquidity to my token
I created a token and now I need to add liquidity to it. Here is a code of my contract:
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
abstract contract Context {
function _msgSender() ...
0
votes
0
answers
39
views
How do I sign a transaction from React Native using WalletConnect?
I am designing a dApp using React-Native and Expo and want to enable users to sign and send transactions client-side. So far, I have this:
try {
const signedTx = await exportedProvider?....
1
vote
1
answer
159
views
Error Connecting to Ethereum Wallet Using ethers.js in HTML Page
I am working on an HTML page to connect to an Ethereum wallet and initiate transactions using ethers.js. However, when I attempt to connect to the wallet by clicking the 'Connect Wallet' button, I ...
0
votes
1
answer
86
views
Invalid parameters: must provide an Ethereum address
I am using ethers.js and Blocknative to connect wallets for my DApp.
I have both MetaMask and OKX Wallet extensions installed on Chrome. Under certain circumstances, when initiating interactions, I ...
0
votes
0
answers
31
views
Need to cancel a pending transaction to a smart contract. I AM NOT A DEV :(
Would really appreciate if you could help me out.
So i had almost no eth left and decided to be cheap by place a transaction with a very small gas fee. Now the transaction is pending more than 24h and ...
0
votes
1
answer
88
views
web3.js code works on chrome + metamask but dosent work on metamask mobile
i have a few codes that works fine on chrome desktop but dosent work with metamask mobile
im using web3.js 1.2.7
here is code for connecting to wallet :
import Web3 from 'web3';
var web3 = new Web3(...