Skip to main content

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
2 votes
1 answer
30 views

It is possible to listen Solidity events with Metamask provider?

I have an Smart Contract which submits events when a function is executed, and the associated transaction is mined. It works perfectly from NodeJS with a websocket network provider (wss://), but ...
Alexander Herranz's user avatar
1 vote
1 answer
143 views

Uniswap web3 py buy token fails with execution reverted

I have been trying to buy tokens on uniswap V2 with we3 py with swapExactETHForTokens function. Every time, I try to execute this method it fails with execution reverted message. Can somebody please ...
user130198's user avatar
0 votes
0 answers
22 views

How can I get strategy of the Linea-Goerli with the vault address?

Like in mantle, we can get the strategy and the contract by navigating to the site https://explorer.mantle.xyz/address/{} How can I get the same for the line I have tried the https://explorer.goerli....
Lakshay khattar's user avatar
0 votes
1 answer
201 views

How to connect from localhost webapp (ethers) to remix VM?

With Remix IDE, I can deploy Smart Contracts and interact with them, with Remix VM, without deploying on testnets. When I want to interact with Smart Contracts developed on Remix IDE, from a webapp (e....
Alexander Herranz's user avatar
0 votes
2 answers
141 views

Token swap not working on uniswap v2

I am trying to use web3 to swap tokens in uniswap. My swap ( ETH -> Token) is working correctly, but for some reason the reverse swap ( Token -> ETH) does not seem to work. I am not able to find ...
user130198's user avatar
0 votes
0 answers
13 views

Native coin Price doesn’t show

i was wondering what you need to do for the price to show up from the native coin of a layer 1 blockchain. The blockchain mainnetz is listed on coingecko and cmc for a while now but metamask is still ...
Kevin Bardyn's user avatar
0 votes
0 answers
98 views

getting error "no signer available" when logging the signer seems to work fine

I am putting together a simple application that connects a user's metamask and then has some buttons that call the functions of a contract that i've deployed on the porcini testnet. This is the ...
CornOnTheCob's user avatar
-1 votes
1 answer
30 views

Metamask sent ETH frommy Ethereum chain to my ETh account on Optimism chain

Metamask: I sent ETH from my Ethereum chain account to my ETH account on Optimism chain. Are the ETH automatically again in my Metamask Ethereum chain account?
Alex's user avatar
  • 11
0 votes
2 answers
4k views

USDT on Sepolia

I'm currently working on testing ERC-20 transactions on the Sepolia testnet and I'm looking to obtain some USDT for this purpose. Could anyone guide me on how to acquire USDT on Sepolia? I've been ...
Somaye Ebrahimi's user avatar
0 votes
1 answer
110 views

need some amount of ether for getting the fake ether from alchemy [duplicate]

actually i was trying to get the goerliETH on Goerli test network. when i visited Alchemy(https://goerlifaucet.com/) for same, it is asking for to have some amount of ETH in mainnet account i.e. ...
Ghost's user avatar
  • 1
0 votes
0 answers
28 views

Need help with Session Management for Decentralized Nextjs app using wagmi Library

Please find github gist to the source code. where i have implemented Wallet connection using WagmiProvider. I dont want to repeat adding WagmiProvider to all the pages in my application, instead i ...
gtrharish's user avatar
0 votes
0 answers
289 views

Setting initial price of token on Uniswap V3 single sided liquidity polygon token

I've been trying to set the initial price of my token for the past two days and I'm still confused. Please go easy on me as this is my first time messing with solidity and smart contracts. I have some ...
needhelpalways's user avatar
2 votes
1 answer
71 views

Issue with Smart Contract Interaction using Web3.js 4.2.0: TransactionRevertedWithoutReasonError on MetaMask and Sepolia Testnet

Problem Overview I am facing an issue while interacting with a smart contract using Web3.js version 4.2.0. The specific method causing trouble is broadcastMessage(string), designed to store a string ...
Dawid's user avatar
  • 141
0 votes
1 answer
52 views

Failing to deploy to a Sepolia network

require("@nomicfoundation/hardhat-toolbox") require("dotenv").config() /** @type import('hardhat/config').HardhatUserConfig */ const SEPOLIA_RPC_URL = process.env.SEPOLIA_RPC_URL ...
Bobby William Major's user avatar
0 votes
0 answers
9 views

Internal Rpc error when i call claim function on this my contract and i got payload error if use edge browsser instead of chrome to perform same task

My js code document.addEventListener("DOMContentLoaded", async () => { let web3; let accounts; const initWeb3 = async () => { try { // Use the appropriate provider ...
Hallenjay's user avatar
0 votes
0 answers
28 views

Implementing Secure Seed Phrase Storage in Web3 Wallet Chrome Extension

I am in the process of developing a Web3 wallet application and I'm seeking assistance on implementing a secure seed phrase storage functionality within a Chrome browser extension. Objective: The ...
Vijay raj panchal's user avatar
0 votes
1 answer
157 views

I Have my wallet address but don’t know which wallet app to look for my NFT in. What do I do?

I need help please. I have my address and I can see my transactions on Etherscan but I can’t retrieve my NFTs. Rather I’m unfamiliar with the process. Please help me.
Worldwidewigglanft's user avatar
0 votes
0 answers
31 views

SCAM TOKEN HELP! [duplicate]

I'll start by saying that I came across a scam project and I can't switch to pancakeswap from this scam token to bnb. Is there a chance to get out of this token? address token: ...
michał Tyczkowski's user avatar
0 votes
0 answers
46 views

error problems when doing opentrading

after deploy contact and verifying contract i went through adding liquidity and i was ready to launch coin and i click on open trading and receive an error on meta Mask that says we were not able to ...
solomon Haywood's user avatar
0 votes
0 answers
19 views

Objects are not valid as a React child (found: [object Promise]). I'm getting an error while showing the current account address on the frontend

I'm building a buy me coffee dapp. Why am I getting error in line 63 I want to show the current account address on the frontend but getting error . What is the error here? How do I solve this? ...
Nandini Jaiswal's user avatar
1 vote
1 answer
132 views

Why does Metamsk display the sign data as unicode question marks and other various characters when signing a message with Viem?

I'm trying to sign a message in Viem and recover the signer in Solidity, it works as expected, however, the Metamask pop-up window displays the data to be signed incorrectly. Here is my Viem ts code: ...
Rohan Nero's user avatar
  • 1,617
0 votes
1 answer
46 views

Solidity Smart Contract Behaving Weird on Goerli Testnet

I have a vite-project in typescript that I want to have eth deposit and withdrawal capability. I'm new to the crypto space and trying to implement a simple wallet contract using Truffle on the ETH ...
s_tanay's user avatar
1 vote
0 answers
16 views

How does MetaMask confirm the trasaction? The workflow of metamask

I'm trying to make interaction between my customized chain and Metamask. Network is added, and token sending is successful on chain side. But in MM, tx state is still pending. how can I fix that? What'...
Daniel Moore's user avatar
0 votes
1 answer
47 views

Is it possible to bind a metamask wallet account to my website's own accounts database?

to be specific, we want a user that should first login to our website then after login be able to connect their wallet account. the question is, is it possible to create one account and bind the ...
Snoopy's user avatar
  • 1
0 votes
0 answers
26 views

The receiving account ether's does not increase whilst the sender ether's decrease

I got that function that sends contributions to the smart contract as i thought everything works perfectly when the sender uses it to send contributions his account balance decreases and that line is ...
JOEGREEN's user avatar
0 votes
0 answers
34 views

JITO Scam and increased allowance [duplicate]

Forgive me, I am really green, but went to this site and connected my wallet https://jito-airdrop.pages.dev/ Now my avax and luna are gone, and its listed as Increase Allowance Status Confirmed View ...
JSJ's user avatar
  • 1
0 votes
2 answers
396 views

Connecting to MetaMask using Web3.js: Web3.givenProvider vs window.ethereum

I am currently attempting to programmatically connect to MetaMask using Web3.js. I am following the Getting Started guide (https://web3js.readthedocs.io/en/v3.0.0-rc.5/getting-started.html), and the ...
Dawid's user avatar
  • 141
1 vote
0 answers
221 views

Why I can't speed up a speed up transaction in MetaMask?

I was working MetaMask: Send (do) a transaction two buttons for controlling the transaction appear Cancel & Speed up Speed up transaction Only cancel button is there and I can't speed up the ...
Reza Aslejeddian's user avatar
0 votes
2 answers
62 views

Web3 Could not find name 'Web3'. Did you mean 'web3'

My code works but I am getting this with Web3 dotted. Could not find name 'Web3'. Did you mean 'web3'? const web3 = new Web3(Web3.givenProvider || infuraUrl); When I try to fix it by doing this: ...
trox's user avatar
  • 1
0 votes
0 answers
16 views

Error occurs when my gas fee isn't zero. Otherwise transaction runs fine with 0 gas fee

I've created a smart contract that helps user to buy erc-20 tokens in exchange of matics. I am getting this error whenever I do some calculations in my function, which increases gas fee. I have 0....
Abdul Aleem's user avatar
0 votes
0 answers
20 views

How to probe ownership of a MetaMask derived encryption public key?

If I were to store the messages targeted to a specific encryption public key generated by MetaMask (using x25519-xsalsa20-poly1305), how could I allow the recipient to authenticate and claim the ...
leonacostaok's user avatar
0 votes
1 answer
178 views

(Gnosis) Safe Transaction Not Showing In Metamask

I have a Metamask wallet and a (Gnosis) Safe wallet on the Sepolia network. I sent some Sepolia ETH to the Safe wallet (this transaction shows correctly in Metamask). I then sent some Sepolia ETH back ...
Neo's user avatar
  • 35
0 votes
0 answers
21 views

Why can I sometimes not send ETH through Metamask? Contract is payable and address is correct

Why does metamask sometimes not allow me to send eth to contracts...this contract and the function I'm calling was marked payable. See below
user127148's user avatar
0 votes
0 answers
38 views

Call contract method via metamask without web3

https://docs.metamask.io/wallet/reference/json-rpc-api/ window.web3 is no longer injected by metamask, instead it is window.ethereum, but loads of methods are missing. It used to be very simple, just: ...
zeb3142's user avatar
0 votes
1 answer
17 views

in cloud window.ehtereumundefined,in local window.ehtereum is object

I am developing a dapp now, deploy the dapp in local PC, it can connect with browser extension, window.ehtereum is Object, but deploy it in aws cloud, it cann't connect with browser extension, window....
spencer's user avatar
0 votes
1 answer
103 views

Send transaction only with signature

As far as I know, Metamask does not allow to sign transaction without broadcasting it to the network. So I can not generate a transaction on my server and pass it to the frontend that will sign me the ...
airled's user avatar
  • 101
0 votes
1 answer
43 views

Alert after spending approval

This is a simple dAPP i am running via metamask. I have tried many things. window.alert(`Connected Successfully`); I have tried to add this window.alert to my code but it wont do much. async function ...
Jim Mike's user avatar
0 votes
1 answer
80 views

Signature verification using web3js

I am using web3 library to sign a transaction and then verify it from the smart contract. The signature is not verifying. This is the frontend code const DomainSeparator = ethers.keccak256( ...
Abdul Samad's user avatar
0 votes
0 answers
35 views

ETH was automatically sent to a different Public Address after successful deposit in my meta mask

Same thing happened to me after depositing ETH to my public address it was automatically sent to another address
Kirk James Estaño's user avatar
1 vote
1 answer
91 views

Metamask getBalance method doesnt work

When I wanted show my eth balance in my web site it gives me this "0x103cf17cc1518eb4" how can i turn into string?
seojunchian's user avatar
0 votes
1 answer
84 views

How to send a token other then eth with metamask without extension of course?

I wanted send token other than eth with metamask using code but I did a little bit of research couldnt find anything. Do you guys know anything about that? I checked metamask docs site too didnt find ...
seojunchian's user avatar
0 votes
0 answers
22 views

Cant get metamask accounts balances in right way I want

I 'm making a website for faucet and purchasing nft just for practice and get better at solidity and js cant get metamask accounts balance in the right way I want which is string or integer. JS CODE ...
seojunchian's user avatar
0 votes
2 answers
38 views

New Account with no transaction

I'm working with my metamask wallet to interact with my DApp. While reading about data in Ethereum, I read that the blocks in the chain do not store any account information. It will have only ...
Valli Nayaki Chidambaram's user avatar
1 vote
0 answers
38 views

How to inspect MetaMask

I was wondering how can I listen to the requests & data that are being sent between the MetaMask extension & DApp, My purpose is to inspect how is MetaMask reacting to DApp requests so that I ...
Reza Aslejeddian's user avatar
0 votes
0 answers
232 views

Is sending USDT to Ethereum main network address Possible?

I copied my Metamask Ethereum main network Ethereum wallet address to someone who said "Supported Wallets: ERC-20 Compatible. E.g. Metamask," for payment. I want to know if the transaction ...
Cisco jr's user avatar
0 votes
1 answer
38 views

ETH Recived... but Balance = 0 on etherscan and MetaMask

I folks. I recived 3 days ago 0.00741522 ETH, but until now my account's balance is 0 ETH and I don't know why. I share the etherscan capture: Thanks people :)
Julian Cabrera Marceglia's user avatar
0 votes
1 answer
36 views

Trying to send matic to a wallet but Can't stake MATIC

basically what I am trying to do is create a contract that different wallets can send MATIC to one single wallet and after some time withdraw with some reward as MATIC. ie. Stake 100 matic, then ...
nihilisama's user avatar
1 vote
0 answers
68 views

How can I approve spending limit manually without having to use metamask?

When interact with smart contract on EVM chain, new token need to use "approve" function on metamask. I know this, but I have a good reason to approve the spending limit manually without ...
cht's user avatar
  • 11
0 votes
0 answers
70 views

Getting error during setup when doing "npm i wagmi viem"

npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/typescript npm ERR! typescript@"^4....
Indul's user avatar
  • 29
0 votes
1 answer
65 views

Rejecting the transaction doesn't catch the error in try-catch block

I am working on a Dapp porject ,Where I have to catch the metamask error. Here is my code: import React, { createContext, useContext, useEffect, useRef, useState, } from "react"; ...
Asir Shahriar Roudra's user avatar

1 2
3
4 5
46