Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Why is a proxy object created when you try to access the same web3 object outside of the scope where it was created?

I have two functions, called one after another. The first one called creates a new Web3 object and sets it to window.web3: async loadWeb3() { window.addEventListener('load', async () => { ...
0
votes
0answers
13 views

window.ethereum undefined android metamask webview

When I open my site in android in the metamask layout in the webview, I always get window.ethereum === undefined. And also window.web3 === undefined. This problem only persists on android. On pc and ...
1
vote
0answers
10 views

How to connect web3.js 1.3.4 to MetaMask?

I am trying to connect to MetaMask and I have read their docs about the breaking changes and everything. From what I understand, they are not injecting web3 into window.web3 but instead are using ...
1
vote
1answer
19 views

Allowance = Unlimited. What could happen?

Allowance = Unlimited. What can happen? Hi, let‘s say I approve via MetaMask that another address can spend an unlimited amount of ETH on my address. What can happen? Can this address spend all my ETH ...
0
votes
1answer
12 views

Does Exporting tokens from a metamask account with private key to a wallet, export the ethereum too?

Wanting to know if I’m exporting with my private key from metamask to a wallet will all contents of the MM account be exported? iE will the ethereum be exported along with my Theta token? Or would ...
0
votes
0answers
4 views

Transaction has been reverted by EVM (Matic Mumbai Testnet)

I am getting the following error when trying to mint through my ERC721 contract. How can I determine the cause of the failure? https://explorer-mumbai.maticvigil.com/tx/...
0
votes
0answers
13 views

Serious question, I sent BNB from Metamask's Binance Smart Chain to Binance's ERC20 address? Never arrived [closed]

I had 7.4 BNB in Metamask using the Binance Smart Chain Mainnet tab and I clicked “send” to deposit all 7.4 into the ERC20 wallet address on Binance.us. I should include that in the transaction ...
0
votes
0answers
13 views

Metamask doesn't allow me to approve transactions

Metamask does'nt allow me to click on confirm when I wan't to approve a transaction. (i.e. the Confirm button is disabled and stays disabled whatever I do) Because "Confirm" is disabled I ...
0
votes
0answers
5 views

Is it possible to customize the display unit in Metamask activities section?

With Metamask I would like to see the transaction cost displayed in Gwei. Is that possible?
0
votes
0answers
7 views

Should my application be decentralized? (Basic Question)

I know this is a seemingly basic question, but one that I have not found many solid answers to. I have been programming for a few years now and with the recent NFT boom, DApps have caught my interest. ...
0
votes
0answers
8 views

Problem importing my account to metamask

i tried to import my myetherwallet account into metamask by entering private key and try to connect both account but my imported account does not show any tokens i tried it many times by unistalling ...
0
votes
0answers
21 views

Ethereum solidity membership and rating application [closed]

I have been looking for almost 2 weeks but I can't find any use case for my implementation. I want to create an application for movies adding and rating using Ethereum and Solidity on local ...
0
votes
0answers
8 views

I sent some tokens from my metamask wallet to a kucoin wallet and etherscan shows a successful transaction but the token is still in my mm wallet?

Transaction: https://etherscan.io/tx/0xf01a483906e8216d578bb9c396c18379a27191030ebd6048f1f1de3508f6ef9c Source wallet: 0x7ecd10abff8f43a20a66e9f80777b4665a95b56f (Metamask) Destination wallet: ...
1
vote
1answer
35 views

i stupidily wrapped my ether to weth from metamask using uniswap,

I stupidly wrapped my ether to WETH from MetaMask using Uniswap. I then used https://relay.radar.tech/ to unwrap it but its taking so long. Here is the transaction hash ...
0
votes
0answers
13 views

Display the amount of ERC-20 token to be spent on a function call [duplicate]

I am relatively new to Solidity programming, although I have a strong basis in procedural and OOP programming. I have a small ERC-20 token which I am developing for fun. The contract contains a ...
0
votes
1answer
24 views

MetaMask RPC error? 'MetaMask - RPC Error: Internal JSON-RPC error.' [closed]

I'm developing a front-end for an application that I'm trying to test. However, MetaMask keeps giving me this error? I tried changing the gas limit like previously suggested and nothing. Any ideas? ...
2
votes
1answer
22 views

Is each of metamask's account independent to each other?

Say I create 3 accounts with my metamask (same seed phrase), if one account is "compromised" by a website, will it also affect the 2 other accounts if I didn't give the website any ...
1
vote
1answer
13 views

Options for executing an arbitrary function from my wallet

What are my options if I want to call an arbitrary function at an arbitrary address, from my wallet (Metamask)? To be more precise, I want to be able to call a function from a web wallet, when I have ...
1
vote
1answer
20 views

Fail to deploy contract on rinkeby using truffle and metamask

Following is a snippet from my truffle-config.js file networks: { // Useful for testing. The `development` name is special - truffle uses it by default // if it's defined here and no other ...
1
vote
1answer
13 views

Creating multiple accounts in metamask automatically

Say I could travel back in time, and wanted to take advantage of the uniswap airdrop. Would it be possible to create multiple adresses on my metamask account through the web console of my pc, instead ...
0
votes
1answer
17 views

My Ethereum smart contract is always returning an empty array when using web3 with metamask

import Web3 from 'web3'; window.ethereum.enable(); const web3 = new Web3(window.ethereum); const address = "0x977b5A39B6E95A7688570BF1b77e8FAb150791af"; const abi = [ { inputs: [], ...
1
vote
0answers
15 views

Metamask shows me 18 token sent, Etherscan shows 0 token sent

I'm lost... Metamask show me : While Etherscan shows me 0 SNX : What am I doing wrong???
0
votes
0answers
28 views

get undefined when using web3js, calling view function

I am using web3js (version 1.3.4) and connected correctly to the provider and I can make a transaction. but when I want to call one of the view function in the contract I get undefined. const Web3 = ...
1
vote
0answers
28 views

Is it possible to create a button “connect to wallet”?

I'm learning web3 and blockchain in general. I'd like to create a button that says "connect to wallet " in order to connect with metamask wallet, but I do not know if 1- I need to connect ...
0
votes
0answers
30 views

How can I get the public adress of a NFT on rarible?

1 - How can I get the public address of a NFT on rarible with ETH Block Scanner? Lets assume we got the url (or even the address? of the NFT (does each NFT have a unique ETH address? Where do I find ...
1
vote
1answer
29 views

Is it possible to use a smart contract without connecting to a wallet?

I've a web application where I have some structure with ids and a function to get prices by an id from an smart contract, and I've payable functions. I'm not able to show prices for each item if I don'...
2
votes
0answers
18 views

Check whether public address was derived from a private key

I have several ETH accounts (and I own a private key from each one of them). I also have an address with a public key (holding some funds of course) but I totally forgot where this address came from. ...
0
votes
0answers
17 views

Is it safe to perform calculations on past events?

I would like to store all balances of my ERC20 contract on my website's database: addresses and their balances and be able to call the script anytime to sync it with new balances using Transfer event. ...
0
votes
0answers
7 views

Dipping my toe in Punks

I put some money into MetaMask. I put a bid on a Punk. I cancelled the bid, but I did not seem to get the money back? Do I lose the gas on withdrawn bids?
0
votes
0answers
13 views

How to get owned tokens contract addresses for particular wallet address

I want to get all contract address of all assets present in my metamask wallet so that I can fetch balance of all tokens using web3
1
vote
1answer
55 views

Hacked Ethereum wallet — What do do with staked tokens?

My MetaMask wallet was unfortunately hacked and the hacker drained all of my tokens. I've sent some test tokens back to the wallet to check if the hacker had installed a smart contract to ...
2
votes
1answer
26 views

Is it possible to guess the public addresses generated by MetaMask from the same seed?

If more than one of my public addresses (from same seed) are known, is it possible to guess other addresses generated from the same seed? If I used 1 seed phrase to generate 10 addresses in MetaMask. ...
0
votes
1answer
14 views

Metamask: Will imported account be lost after seed restoration?

Since metamask is a HD wallet, in case of storing some imported accounts in my wallet and after wallet restoration, metamask will only be able to restore derived pairs with the exception of imported ...
-1
votes
1answer
70 views

I minted an NFT by mistake while in Rinkeby Test net on my wallet, the NFT sold for 1eth now it’s in my test wallet how do I recover this ETH?

This is the details of the transfer Buyer my1703 Transaction hash 0x5438b317f970448a040bba32b89c1e2c4ae306943764193a19d7e65739ae2283 You earned 1.007224 ETH Type of transaction Purchase Time sent Sun ...
3
votes
1answer
38 views

Trying to run dapp in metamask mobile browser

I would like to run a dapp in metamask mobile browser, but got stuck in below things: 1. Unable to view the console errors(inspect element) in the application 2. How to visualise page load values or ...
1
vote
0answers
21 views

How to get a list of all token holders using ethers.js + metamask

Is there any way, using ethers.js and metamask, to build an array of all current token holders? I would need this to my project which I'm currently working at. I know I can download the entire ...
0
votes
1answer
31 views

Connecting to Geth private network from Metamask using RPC URL

I have created a private chain in Geth which is running in machine1. I want to connect to the private chain running in machine1 from machine2's Metamask using rpc. machine1 and machine2 are connected ...
1
vote
1answer
20 views

Trying to find my address on iancoleman.io

I didn't log my private key for my metamask wallet but have my secret phrase. After some searching I found online that I can visit iancoleman.io enter my phrase and when i locate my address, the ...
0
votes
0answers
15 views

Unknown metamask transaction

I logged into my metamask after a week, just to realize it was drained. I don't know how this could have happened, I just want to make sure I prevent this from happening in the future, should I ...
0
votes
0answers
7 views

Segregating user authentication from network on Metamask

I am using blockchain inside a big company and we need to include a reverse proxy with authentication before a node. In order to submit a transaction, the user needs to send his/her password and sign ...
0
votes
1answer
52 views

I tried to send eth from Metamask (in balancer) but transfer is looking failed but I loss my eth(90$ around) What I should do?

I tried to send eth from Metamask but transfer is looking failed but I loss my eth(90$ around) What I should do?
1
vote
0answers
29 views

How to sign a transaction and send data to Infura using Metamask

I am kind of new to web3js. I am not sure which functions should I use and which is the correct flow to achieve this. I don't have the user's private keys and I need to send a transaction (filling the ...
1
vote
1answer
107 views

Replacing A Stuck MetaMask Transaction With Something Other Than 0ETH To Yourself

I tried to send ETH from one of my wallets to another, but I set the gas too low & it's been stuck (pending) for days. I understand that the typical way to 'un-stick' such a transaction is to ...
0
votes
0answers
7 views

Gnosis Safe - Connect to site that needs to connect using MetaMask and not WalletConnect

I have a multi-sig wallet created and in use. It requires 2 of 4 signatures and all seems to be working just fine with it. I now need to interact with a website (https://vault.daomaker.com/#/) to ...
0
votes
0answers
33 views

MetaMask: ALERT: Transaction Error. Exception thrown in contract code

I'm working with ganache, drizzle and Vue on a decentralized app. I have a simple contract IPFSStore which contains the following function: function changeStatus(address owner, string memory ...
0
votes
0answers
26 views

Uniswap wallet not showing as a choice

I was using a wallet on uniswap. and a wallet uniswap provided. I attached a MetaMask wallet and now that is the default wallet. I cannot access the other wallet though I can see the eth in the wallet....
0
votes
0answers
31 views

Quorum private transaction signing with external wallets?

I am using Metamask & TORUS wallet to make transactions over Quorum network. The requirement is to make a private transaction, for which we need to sign a raw transaction. Metamask & TORUS ...
2
votes
2answers
86 views

Metamask account: is it possible to create your own seed phrase?

When you create a Metamask account, you are asked to enter a password and then you are given a seed phrase with 12 random words. Is it possible to define your own 12-word seed phrase? __ Update: Is ...
0
votes
1answer
15 views

How can I log text (and see the logs)

I'm writing a contract using remix, and I'm hitting an error but I can't debug it. When I enter the transaction hash in remix it tells me the json is empty (""). I'm testing on the ropsten ...
0
votes
1answer
158 views

Metamask hacked via DEX contract?

So, I've been using MetaMask to trade on various DEX. On 6 March, all of my tokens were moved out of my MetaMask wallet. I am using a cold wallet to HODL but always keep a small balance for trading in ...

1
2 3 4 5
25