Questions tagged [metamask]
Question about the Metamask chrome's plugin.
1,105
questions
0
votes
1answer
11 views
Can .eth domains be stored on a hardware wallet?
If a .eth domain is bought in a Metamask web wallet. Can it be transferred to a different ethereum wallet address of a Ledger Nano S or X?
0
votes
0answers
6 views
No receipt and data return
I had a functioning dapp until yesterday. But contractInstance.methods.x().send().on('receipt') and contractInstance.events.y().on('data') suddenly stopped to work. I can't even find the reason.
Why ...
0
votes
0answers
11 views
How can I make Withdrawal with Metamask api?
I have a system, people buy my erc20 tokens through this system. I want to automatically transfer the token to their wallet address when they buy it. how can I do that?
Can this be done with the ...
0
votes
0answers
11 views
chrome is stuck on the old last contract that I deployed
when I deploy a contract (on the local net )with truffle, I can't interact with it on the browser, on the browser I see an old contract that I deployed in the past.
when I go to the console and do
...
1
vote
1answer
8 views
Is there a way to allow metamask to allow all transactions for a specific dapp
The metamask popup prompts me and ask me a confirmation each time i send a transaction from my dapp.
Is there a way to configure metamask in order to allow all transactions from my dapp, without ...
0
votes
1answer
15 views
Connect metamask account to smart contract
I am learning Solidity. I have managed to create sample dapps with Truffle.
This sample apps are interacting with a smartcontract with web3js.
Each time my dapp calls a smartcontract's function, the ...
0
votes
0answers
12 views
smart contract transaction error [closed]
so in my earlier question asked, i stated i had accidentally sent some funds (674.2 VRS) well someone hacked me i guess.... but anyways some how "I" sent these funds to an unkown address and ...
0
votes
0answers
17 views
Transfer token failed due to Gas estimation failed
Have issue transfer token, hope to get support from this. my contract https://rinkeby.etherscan.io/address/0x6D96673922d54108e8eFaFDe191Dc473dCeE709B
pragma solidity ^0.5.0;
import "github.com/...
0
votes
0answers
22 views
1inch token swap to ETH resulted in 0 ETH
I did a token swap of OST -> ETH using 1inch (first time).
I connected a Metamask Wallet, approved OST for swap & then executed the swap ( https://etherscan.io/tx/...
0
votes
1answer
23 views
A silly question about web3.eth.sign
I'm a beginner and I need to sign the data with metamaskļ¼Find the document https://learnblockchain.cn/docs/web3js-0.2x/web3.eth.html#sign
then In the browser's debug desk ļ¼i try run
web3.eth.sign('...
0
votes
0answers
24 views
Ethereum web wallet for Tor
Can Metamask wallet ethereum addresses be created in the Tor browser, given that Metamask is a browser extension? If not, what web wallet is most appropriate for Tor users, especially on a WindowsPC ...
1
vote
1answer
32 views
How are Metamask web wallets traceable to owner identity?
When creating a Metamask wallet as a Chrome browser extension, what are all the different identifiers that match the wallet to its owner? Since it takes a password to log into the Metamask wallet, ...
0
votes
0answers
18 views
Curve.fi deposit - Where is my money?
I just used Meta-Mask and funded the program with BUSD from my Binance account in order to test a deposition on curve.fi. Moreover, a small amount of ETH was transferred to Meta-Mask in order to cover ...
0
votes
0answers
10 views
Set gas fee to a fixed value permanently in Metamask
At present, I can go to the advanced settings and specify the gas fee (in gwei) and gas limit manually. I'd like to make sure that this value is saved and re-used later on for the next few ...
0
votes
1answer
12 views
Give Web3 a description of smartcontract function
Today i tested something on Uniswap when I came across a feature of Metamask or Web3 where a specific function call can have a custom Description.
As seen in the Picture, Metamask somehow got a ...
0
votes
1answer
17 views
The “from” field has been defined when sending a transaction, but the error still occurs
Problem
I am following this tutorial on how to make a donate button on my React app. The tutorial is in HTML, however, so below is my attempt at converting it to ReactJS.
Code
App.jsx
donate = () =>...
0
votes
1answer
22 views
sending UNI to MataMask Wallet
I sent 400 uni from brave wallet to uni metamask wallet, nearly 3 days ago it never showed up.
I'm very new to this and probably should have not done it but in my brave browser wallet i had 400 UNI as ...
0
votes
0answers
21 views
Listening for events on real time with Web3
I want to update UI elements of an app based on contract events. My problem is, that I do not receive any events that happen after the site has been loaded (seems like the subscription does not work). ...
0
votes
2answers
70 views
Got hacked on metamask. Which wallet has the best security to trade on Uniswap?
So I got hacked on Metamask and all the funds lost. The hacker somehow connected to my google session and was able to get to the google drive files where I had couple of sensitive data. This was my ...
0
votes
1answer
37 views
I am having an error when I interact with my smart contract
first of all here are the codes
var web3 = new Web3(Web3.givenProvider);
var contractInstance;
var x = 0
$(document).ready(function() {
window.ethereum.enable().then(function(accounts){
...
0
votes
0answers
24 views
Please Help! I have an big airdrop to claim but lost my
I lost my metamask seed but i have the wallet address to that account that will be able to make the claim.
Is there anyway possible to recover an account using the wallet address only?
Can it be found ...
1
vote
1answer
50 views
Web3: current best practice to connect Metamask to Chrome?
I am currently trying to connect my React front-end to Metamask on Chrome.
When using the following method, I get that ethereum.enable() is deprecated:
if (window.ethereum) {
window.web3 = new ...
1
vote
0answers
11 views
How to create mnemonic with 13th/25th
How can I create the wallet that has a mnemonic with an extra word that I choose? I tried doing that with MyEtherWallet however when I create it with MEW I don't get the private key. I'd like to get ...
1
vote
1answer
16 views
Invoke Metamask with a pure JS/HTML set up
I am new to front end Web3 and I am trying to have a simple SIGN button that will invoke metamask to sign a "Message". I can't seem to get it working. I am using pure HTML/JS without any ...
0
votes
0answers
31 views
Lost Metamask wallet
Yesterday my metamask wallet disappeared and was no longer connected to exchanges it was connected to. I've tried everything I could google or youtube to recover my wallet..nothing has worked. PLEASE ...
0
votes
1answer
42 views
How can I find a specific BIP 44 account (“44'/60'/0'/0/2”) with MetaMask [closed]
I have an old 12-word seed-phrase that I used long ago with a JAXX smartphone wallet (and most likely also with MetaMask). This seed phrase is now on a Ledger Nano S wallet.
When I plug this HW Wallet ...
0
votes
2answers
71 views
Metamask (and other wallets) don't show tokens on balance despite of transactions are in blockchain
I've generated thousands of addresses with my seed phrase and deposited some USDT tokens to one of them (m/44'/60'/0'/267) and ensured that I'm able to spend that tokens. But after I've imported this ...
0
votes
1answer
16 views
Deciding Gas Pricing
Anyone know how curve fi and metamask fetch the average gas price for the transaction and how they provide the slow and fast option? I just want to know which third party they use to get these info.
0
votes
0answers
15 views
Is it possible to deduct token amount from wallet 1 day after tx confirmation?
I am lately confirming many of transactions and contract interactions through metamask using ledger, doing some swaps through different services. I am worried because I don't know what exactly I ...
0
votes
0answers
26 views
Am I mining to my correct wallet address?
I'm trying to start Ethereum, so I created my wallet first using metamask and I added to geth using private key with this command.
geth account import private_key.txt
After that I run the mining ...
0
votes
0answers
24 views
0
votes
0answers
9 views
dynamic value (amountEth) doesnt work in very basic web3 UI webpage
I am a newbie and try to learn to code web3 interfaces to call basic smart contract funtions.
For now I made a button - when clicked it send 1 ETH to a specific (static) address. This worked fine... ...
0
votes
1answer
25 views
My metamask extension is not getting connected to ganache local block chain
This is my Html code :
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
...
0
votes
0answers
55 views
Metamask RPC error -32603… {“error”:“revert”,“program_counter”:6758,“return”:“0x”}
I have a dApp that leverages ERC721 contract which allows users to upload images onto IPFS and transfer them to each other.
User A can upload images fine and transfer them fine to User B. Once ...
1
vote
1answer
69 views
Provider does not have a request or send method to use
I am doing the Ethereum and Solidity: The Complete Developer's Guide and I am unable to resolve this error.
The code is expected to do a transaction via
await factory.methods
.createCampaign(this....
0
votes
1answer
39 views
How to transfer any ERC20 token trough a function with Metamask?
I'm developing a function that accepts any kind of ERC20 token, and transfer it to the provided address.
The idea is to execute the function connecting Metamask address, and transferring the desired ...
0
votes
1answer
12 views
Create new UI for deployed contract with remix?
Is there any way to create new UI for a contracted deployed with Remix?
I know, I can use remix and Metamask to deploy contracts to real ethereum networks (Main, Rinkeby,...) and remix provides us a ...
1
vote
1answer
192 views
How to get test coin for Rinkeby Metamask
I create a wallet on metamask and i would like to play with rinkeby test net. I can't get the coins through the twitter procedure. I attach already that I come out, can someone help me? thanks
0
votes
2answers
163 views
Could not fetch chain ID. Is your RPC URL correct?
I want to connect local ethereum network to metamask , it says that it need chain id but when i entered the chain id for local node it shows the error "Could not fetch chain ID. Is your RPC URL ...
0
votes
0answers
25 views
How to capture error reason of “ALERT: Transaction Error. Exception thrown in contract code.” from Metamask in the front-end
Let's say we have a smart contract test with a function foo() and a modifier so that only the contract owner can call this function.
Now we have a front-end with a user that is not the contract owner ...
0
votes
1answer
30 views
Recover RPC URL in Metamask
Can an application retrieve what RPC URL is the user using in Metamask?
Using the window.ethereum API I can recover the net_version and confirm that it is the expected one. But can I also retrieve the ...
1
vote
1answer
56 views
Best way to go about connecting multiple wallets to Dapp
What I want:
A user to connect a wallet to my dapp (1 of 4 choices, say: Metamask, WalletConnect, Formatic and Portis).
The flexibility to create a custom "wallet connect modal" (I've tried ...
1
vote
1answer
37 views
How to get my ERC20 token listed on Metamask
I would like to add my ERC20 token to Metamask, so that when users type its name into the search bar, it shows up along with its logo. Currently users can add their tokens manually. But, I'm wondering ...
2
votes
0answers
18 views
how does phishing works for metamask?
I have read the following:
Gene is working on his laptop with several tabs open in his browser.
He unlocks his MetaMask wallet to make a transaction. An attacker uses
the open tabs to see that Gene ...
0
votes
1answer
18 views
Losing ERC20 token without trace on etherscan
I would like to know if there is a way to take a token from an account without letting a trace on etherscan ?
I recently swapped some ETHs for a Base Protocol token and i got around 2940 BASE in the ...
0
votes
2answers
59 views
@metamask/detect-provider: Unable to detect window.ethereum
I want to set web3 to Metamask. As mentioned in Metamask document and npmjs, i took a use @metamask/detect-provider. My problem is when i approach window.ethereum. I have a UI, JS file, and some ...
0
votes
0answers
14 views
Browser tab keeps on reloading on account change
My browser tab keeps on reloading on account change from metamask for at least 15-20 times.
async connectWallet() {
const { ethereum } = window
if (!ethereum) {
this.ui.showError = ...
0
votes
1answer
112 views
(MetaMask) Changing the default gas
I looked for a while on Google/here for if there's a way to manually set the default transaction gas fees, but couldn't find anything. Anyone know if this is possible in metamask? Basically I need ...
1
vote
1answer
45 views
sendTransaction to send tokens with Metamask and custom data
My question is similar to How to use sendTransaction to send ERC20 tokens through Metamask?. I have a contract, and currently I send a transaction to this contract through Metamask with this code:
var ...
2
votes
1answer
59 views
Metamask display for signing data with eth_signTypedData_v4
I am using the latest implementation of EIP712 to ask for user to confirm some action:
web3.currentProvider.sendAsync({
method: "eth_signTypedData_v4",
params:...