Skip to main content

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

How can you restrict access to a website based on the contents of a Matamask wallet?

How can you restrict access to a wordpress website based on the contents of a Matamask wallet? Similar to the BAYC bathroom (https://boredapeyachtclub.com/#/login-bathroom), where you can only log in ...
7 votes
3 answers
11k views

Getting transaction history via Ethers.js

So I am new to blockchain development and I am trying to build a wallet just like the Metamask. I am struggling with displaying the recieved transactions. How dose one gets the recieved transaction ...
4 votes
2 answers
971 views

How do I put an Ethereum address in an HTML link?

I'm sure I've seen this done, but I cannot for the life of me remember where. I'm writing a simple HTML page, and on it I'd like to have an Ethereum address as a clickable link, so people with Web3.0-...
1 vote
1 answer
368 views

Set BUSD transaction value in web3 ETH send transaction

I followed the instructions on Binance docs, using Web3js to create a transaction. I want to create a BUSD transaction on web3 using metamask try { const transactionHash = ethereum.request({ ...
0 votes
1 answer
963 views

Uncaught TypeError: web3 is not a constructor. the blockchain website cannot connect to metamask

i have issue on web3 = new web3 (web3.currentProvider); below is the code. it said web3 is not a constructor. is it like the capital letter issues? the version of my web3 is "^1.3". var ...
1 vote
1 answer
1k views

Metamask provider not detected on mobile

I have build a webapp to MINT our ERC721 token using Webflow. It works fine on desktop but the window.ethereum is never injected on mobile (browsers & metamask application) Here is my code to ...
3 votes
2 answers
721 views

Loader when confirm clicked in metamask

I want to add a loader to UI when there is a click on confirm transaction popup on metamask. When user clicks on confirm I want to show the loader until the transaction is confirmed. Is there a way to ...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
7k views

Do all transactions show in metamask wallet?

Bare with me I'm new here :) I've been selling art on Rarible but I can't tell if the Eth is going into my account. Because I'm minting nft's I can't keep track of my Eth total. My wallet activity ...
1 vote
1 answer
1k views

MetaMask - RPC Error: Error: WalletMiddleware - Invalid "from" address

I'm trying to create a simple Dapp (via tutorial) which would allow me to send Ether from sender to receiver (via a contract with an address that automatically approves the transaction). The truffle ...
0 votes
3 answers
2k views

Signing transaction on frontend and sending on backend server

Hi I'm making an NFT auction site similar to OpenSea to learn blockchain technology. But I have some security concerns about sending transactions on the frontend of my application because if a user ...
0 votes
0 answers
26 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
1 answer
3k views

html:82 Uncaught ReferenceError: App is not defined at HTMLButtonElement.onclick (html:82)

It's showing me uncaught reference error in my index.html file <div id="candidate-box"></div> <button class="btn btn-primary" onclick="App.vote()">Vote</button> ...
0 votes
1 answer
17 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
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 ...
4 votes
2 answers
8k views

MetaMask transaction rejected

Why transactions are rejected in MetaMask after conforming it? When a transaction is carried out in metamask it first get approved. after sometime it shows rejected. metamask is showing something like ...
0 votes
1 answer
3k views

How do I create a MetaMask Connect request to auth a wallet with MetaMask

I am looking for how to authenticate completely in the browser with MetaMask, presumably by having it sign with some private keys and prove that the user owns a wallet that lists the corresponding ...
0 votes
1 answer
684 views

Can't get the func in `web3.eth.getAccounts` to run

I'm trying to perform a simple balance check, but the code inside web3.eth.getAccounts doesn't run. I'm trying to get web3 from the instance injected by Metamask. myWeb3.eth.getAccounts(function(err,...
0 votes
1 answer
65 views

Two questions, One-staked coins stuck in comp mm wallet. Second question should my new mm wallet be showing seen.link as the only ipfs gateway?

First thing, my mm wallet was stolen, yes personal stupidity and scammed by a supposedly helper. None the less they got $4500 worth of my cryptos from that wallet. They were not able to get a huge ...
1 vote
1 answer
1k views

Is it possible to show multisig wallet transactions on metamask?

I am trying to implement multisig wallet, where one contract address is set as a wallet with multiple owners. I want to show multisig transactions on MetaMask. Is it possible to do that? My contract ...
0 votes
1 answer
39 views

Solidity query works in dev environment but not in production build (nextJS)

I am calling a function that queries the token balance of a user. The query works on a dev environment but not in production build. I am using metamask and ethers to interact with my contract on the ...
0 votes
1 answer
2k 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
2 answers
7k views

What to do if Metamask doesn't show a deposit because it's an "internal transaction"?

This is a follow-up on the question "Do all transactions show in Metamask wallet?" from Sky Hayward, in which Sky asked about transactions that show up as successful on etherscan, yet the ...
0 votes
1 answer
2k views

Transaction pending on Etherscan but not showing on Metamask

I tried to speed up and cancel from Metamask but it disappeared from the there and still showing on Etherscan like pending https://etherscan.io/tx/...
1 vote
1 answer
910 views

Sending transactions through ethers and Metamask

I want to send transaction via ethers and wallet connected to metamask with following code: async redeemAllocation(idoId: number) { const IRoot = new ethers.utils.Interface(JSON.stringify(RootAbi)...
1 vote
2 answers
553 views

Quorum 7nodes example unable to attach to geth node 1,2,4,5,6,7 but node 3 is working

Quorum 7nodes example all of sudden gave fatal error unable to attach to remote geth. Problem: can't attach to geth node Every time I import metamask account to geth node (using personal.importRawKey(...
2 votes
2 answers
575 views

How to process Smart Contracts payable functions in batch?

I am aware that metamask will enable effective security for processing via the web browser a payable function action to a smart contract. What happens in batch? I have an API service which then ...
2 votes
1 answer
1k views

Using metamask, I have seed phrase but unable to recover my old account

I have been using metamask and for some reason there is a problem and my app stopped working so it gave me the only option to reinstall it, so i did it. I have my seed phrase but i didnot have my ...
0 votes
0 answers
34 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 ?
2 votes
1 answer
789 views

gas fee on OpenSea

First, I'm brand new to the Ethereum platform, so I do apologise if any of the following is considered stupid questions. Now, I will ask my question anyway I am setting up the first sale of one of my ...
0 votes
1 answer
608 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
1 answer
344 views

How can one call metamask from one's own custom chrome extension?

I'm building a Chrome extension which is supposed to able able: a) insert custom button on a website, depending on some condtion b) a button will have to invoke MetaMask, or any other browser-based ...
2 votes
1 answer
561 views

Event triggered multiple times - wagmi - watchAccount

I've created a Dapp that uses react, web3modal and some functions from wagmi. What I'm trying to achieve is the following: User clicks button for connecting wallet -> web3modal is displayed -> ...
0 votes
2 answers
672 views

Problem with Matic tokens(Polygon)

I hope you are all well. There is something I don't udnerstand. I have matic tokens(polygon tokens) in my metamask under the main ethereum network(mainnet). I had configured the matic mainnet in my ...
1 vote
1 answer
622 views

Can't connect metamask mobile to DApp

This code works fine on desktops but not at all on mobile. All relevant modules imported and variables defined if(window.ethereum) { web3 = new Web3(window.ethereum) ...
0 votes
1 answer
344 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 ...
1 vote
4 answers
886 views

How can I check the user's network?

I want to check the user's network. How I can implement something like that:
1 vote
1 answer
777 views

When minting NFTs on opensea to the polygon network, is there a way to actually use my own address?

When minting NFTs on https://opensea.io to the polygon network, is there a way to actually use my own address? Even if I have MetaMask connected to the polygon network, it seems that opensea uses its ...
0 votes
1 answer
650 views

Creating Metamask wallets using a script

Can we create like 100-200 metamask wallets using api or any script?
1 vote
2 answers
565 views

Having trouble sending eth from Metamask

I'm trying to withdraw some eth from Metamask into my GDAX account. I select the amount and add my GDAX eth address. I've tried using up to 25 gas. After that nothing happens - it just shows the ...
0 votes
1 answer
1k views

How to I extract the wallet Vault on Chrome using a command in MacBook?

I forgot my seeds phrase for MetaMask in my Macbook. I tried to follow guideline (https://metamask.zendesk.com/hc/en-us/articles/360018766351-How-to-use-the-Vault-Decryptor-with-the-MetaMask-Vault-...
0 votes
1 answer
400 views

how to get all the connected addresess from Metamask?

I'm trying to get all the connected addresses from metamask to my dApp. I know I CAN'T get any non-connected address to my dapp, but now that I've connected 3 of them, when I do provider.listAccounts()...
0 votes
1 answer
36 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 ...
1 vote
1 answer
7k views

Ethereum wallet for Tor and Tails OS (Darknet users)

Tor is a web browser for the darknet, while Tails OS, is an operating system that you install on a USB drive that leaves no traces on the computer itself after shut down. Browsing with Tor on the ...
0 votes
1 answer
342 views

How do I get Wagmi useWaitForTransaction to wait for Metamask (running on Hardhat)?

I am using Wagmi's useWaitForTransaction together with Metamask, running on local Hardhat node. When I sign a transaction it almost immediately returns successful on the front end, but on Metamask it ...
0 votes
2 answers
2k 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 ...
0 votes
2 answers
662 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 ...
14 votes
3 answers
16k views

What exactly is a proxy contract and why is there a security vulnerability involved in it?

I was looking at the recent FE badger DAO exploit and this Twitter thread in it https://twitter.com/CryptoCatVC/status/1466380960648380419?s=20 One piece of advice the author gives before signing a ...
2 votes
1 answer
1k views

API node js with call and send to a contract without metamask

I am new in Solidity. I'm trying to create a API in node js, which can be use without a navigator like chrome with MetaMask. I would like to test it with postman. But i have some problems with web to ...

1
2 3 4 5
45