Questions tagged [metamask]
Question about the Metamask chrome's plugin.
2,131
questions
1
vote
1
answer
5k
views
ReferenceError: Buffer is not defined
Hey guys i am trying to implement metamask's signTypedData login. I am getting the first part correctly, but i am having problem with second part where i need to verify signedtypeddata with eth.util....
0
votes
0
answers
34
views
Can anyone tell me where the problem is? I am trying to make a sort of auto-transaction feature in html using js, but I get this error?
async function getAccount() { accounts = await ethereum.request({ method: 'eth_requestAccounts' }) ;
if (window.ethereum) {
let messageHash = "...
0
votes
0
answers
60
views
Send connect request to metamask first instead of coinbase wallet?
I have a react app to connect to window.ethereum
const connect = async () => {
try {
// ethereum?.request({ method: "eth_requestAccounts" });
ethereum?.request({ ...
0
votes
1
answer
84
views
Mysterious self transaction erased my funds on Metamask
I wanted to withdraw some ETH from Binance to my Metamask wallet via Ethereum ERC-20 protocol and some "self" transaction erased all of the amount via gas fees. Can you please help me out?
...
0
votes
0
answers
23
views
What can I do to make the user pay, without confirmation according to the signed contract?
What can I do to make the user sign the contract, and then the payment to make it's transaction without confirmation based on the contract?
accounts = await ethereum.request({ method: '...
0
votes
0
answers
28
views
Can I allow a user to sign a contract, and then based on that contract to make a transaction without approval?
For example, let's say we have a sender and a receiver. A is the sender and B is the receiver.
For exampple I have a website. Using js, user A signs a contract, and by hitting the donate button on ...
0
votes
0
answers
11
views
Text input in other than English Language not working in Metamask browser (mobile)
When I use metamask app/browser on phone, I am unable to write in textbox in language other than English. What could possibly the reason! Thanks in advance.
0
votes
1
answer
56
views
MetaMask incorrectly flagged a website as phishing site
I am the product manager of Wincity, a French and legal company (we have everything to prove it).
I don't understand why, but MetaMask's anti-fishing feature sees us as a fishing website.
Which we are ...
2
votes
3
answers
994
views
How to develop while experiencing very high Goerli testnet gas fees after merge?
I'm developing a simple smart contract in Solidity and running it on the Goerli testnet. Prior to the merge, I was able to use Rinkeby and it had negligible gas fees. With Goerli, a simple tx seems to ...
0
votes
0
answers
47
views
MetaMask Mobile wallet "Confirm" option not working while connect with website
MetaMask Mobile wallet "Confirm" option not working while connect with website. In Some website some device working fine and some wallet or device not working.
Website redirect to metamask &...
0
votes
1
answer
23
views
MetaMask does not let me send transactions on private network
Metamask lets me deploy contracts on my private network and but it does not let me send transactions.
Its real network running on a few nodes with PoW, only thing different is that minimum gas fee is ...
1
vote
0
answers
51
views
How can I make a transfer from wallet to wallet in Decentraland
I'm developing a small scene in Decentraland where I want to reward MANA for completing a mission. How can I make such a contract to transfer MANA to the player from my wallet right on the ...
0
votes
2
answers
453
views
USDT Approve and Transfer Fail
I've made a smart contract that allows for people to stake a cryptocurrency and in return receive a token at a later date.
(Side note, I took a lot of inspiration from Patrick Collins' first ...
0
votes
0
answers
25
views
I cannot get the address and its balance even if I connected to the Metamask
I am working on a dapp and I have a problem.
The problem is that even if I connected the Metamask to the dapp, I cannot get its balance. But, the most interesting part, I cannot see the address which ...
0
votes
1
answer
682
views
How to get access to the MetaMask RPC error in front end application
In my front end, I want to be able to display an error to the user if they can't perform a certain transaction. When I use 'try catch' when calling a function that fails, it catches: "Error: ...
1
vote
0
answers
28
views
How do I make a crypto browser extension like metamask?
I want to create a browser extension like Metamask that can sign transactions, so that I can use my browser extension to make swaps on DEXs and buy NFTs.
Is there a starting point for how to do this? ...
0
votes
1
answer
770
views
goerli Eth is not showing in my metamask wallet testnet [duplicate]
i having been trying for last few weeks to add goerli faucet it shows that transaction is been done but by balance shows zero also tried on sepolia testnet but same problem dont know what to do
have ...
0
votes
0
answers
41
views
Adding domain naming service BSC chain to metamask
Hi new here and was directed by Metamask support channel.
We have created a domain naming service to the BSC chain, i was wondering if anyone can help me, who would i need to contact at metamask to ...
0
votes
1
answer
405
views
How to send an NFT to another wallet and sing the transaction in Metamask?
I'm a beginner and trying to learn web3 and want to implement a transfer-button for NFTs (same as you have on Opensea, where you can transfer your NFT to another address).
I have started of by having ...
1
vote
0
answers
118
views
Connect React Native App to Metamask
Anyone knows how to connect Metamask Wallet to our react native app to show the account's address and current balance of the user in Metamask?
0
votes
0
answers
32
views
MetaMask can't submit transacion
When a user using walletconnect on our dapp
sends a transaction (calling transfer method of smart contract of BEP-20 token)
the transfer popup show up but nothing happens after confirm button click (...
0
votes
0
answers
19
views
Metamask confirm button is blue, But can't click to send token
I am facing 1 case.
I'm developing an application using Metamask's web3. On PC works normally, But from October 27, 2022. I encountered a case on mobile using Metamask's mobile browser, when sending ...
2
votes
1
answer
455
views
Deploy smart contract with metamask ethers.js and ganache
I want to deploy smart contracts on front-end with metamask address as deployer.
To do that, I first compile the smart contract with Remix and put the json output on my React project (I use Ganache to ...
0
votes
0
answers
109
views
How to set provider for MetaMask and WalletConnect
I am using web3react library for my project to Integrate Metamask wallet and WalletConnect. How to set provider for calling the same functions of smart contract while using different wallets
0
votes
0
answers
71
views
How can I handle connect coinbase on metamask browser?
I want to redirect deeplink when a phone or tablet device wants to connect the wallet on my website.
const onClickMetamask: MouseEventHandler = async () => {
// if the device is mobile or tablet.
//...
0
votes
0
answers
21
views
How to make withdrawal system on your website?
I am new to web3 and I already made eth deposit using metamask, but now I also want to make withdrawal system, I made an example but I dont think this is so correctly. All this I made in python, using ...
0
votes
0
answers
258
views
Metamask confirm button is blue, but doesn't respond to clicks(taps) in the mobile app
We're developing a dapp and using Metamask for user to deposit token from their web3 wallet to the mobile app balance. Everything works well until last week. When our users try to deposit token. The ...
0
votes
1
answer
135
views
How to use Metamask input data to swap
I want to use MetaMask swap function automatically with code, but MetaMask don't provide ABI, then I have to use contract input data information to write swap function code, but I don't know the ...
0
votes
0
answers
77
views
Metamask Mobile not working with Goerli dApp?
I have a dApp im testing on Goerli. It works perfectly fine on desktop, however on mobile, I get errors where I would normally see a transaction appear. I am using the same account on desktop and ...
1
vote
1
answer
244
views
Is the Rinkeby Test Network no longer supported by the Ethereum Protocol?
I'm attempting to create a Rinkeby test network account on metamask, firstly I've noticed it didn't appear on the networks drop-downmenu so create one manually and it indicated that it was created ...
0
votes
1
answer
157
views
Is there a way to attach a "memo" to an ERC-20 `approve` transaction
I know that an ERC-20 approve method has only 2 parameters: sender and amount.
I'd like to get an extra hash recorded on chain with the approval, so I can test it later when coming to process ...
0
votes
2
answers
32
views
@metamask/detect-provider cant use request function
I want to connect Metamask on the web-browser using ReactJS
provider from @metamask/detect-provider doesnt have request function.
How can I use request function ?
0
votes
1
answer
110
views
Ethereum Presale Wallet [duplicate]
I have the json file and the password. Is Go Ethereum the only option for import and updating the wallet?
I am no programmer. I jump on board with Ethereum because it is, I believe, the only way ...
0
votes
0
answers
41
views
Can I listen to Smart contract events, when the provider is metamask/window.ethereum
I'm hosting a Smart Contract on Polygon Mumbai testnet. I'm interacting with the contract with metamask from the front end.
Now I want to listen to the emitted events from the smart contract. Is it ...
0
votes
3
answers
2k
views
Uncaught Error: missing provider
I am building a web3 and I have a problem where the page doesn't load if the browser doesn't detect Metamask (or web3 app) and it loads and works perfectly otherwise.
I looked at the browser's Console,...
0
votes
0
answers
21
views
Metamask Android browser not displaying page styles
First time around here posting. I have a very (I think) noob question. I created a little NFT minter app which is working fine both on Desktop and Metamask (Currently testing on Android). Working ...
0
votes
0
answers
14
views
Display values from different networks
Can you show values from two different contracts from two different networks (let's say Arbitrum and Eth mainnet) on the same UI at the same time, on Metamask for example?
So let's say you have two ...
0
votes
1
answer
59
views
ethereum.enable deprecated
Hello I was trying to follow this video :
https://www.youtube.com/watch?v=vYwYe-Gv_XI&list=PLO5VPQH6OWdVQwpQfw9rZ67O6Pjfo6q-p&index=51&ab_channel=SmartContractProgrammer
where starting ...
0
votes
0
answers
10
views
How to withdra goerlieth from metamask? [duplicate]
Can I withdraw goerliETH TO BINANCE
OR What is the use of GoerliETH IHAVE 0.17700($276)GoerliETH
0
votes
1
answer
739
views
Metamask signature request on opensea
Can you please explain why we need to sign the message when connecting the wallet on opensea? Why is it so necessary and what? I tried to sign and reject it, but I didn't see any difference on UI. ...
0
votes
1
answer
20
views
Signing with Web3 and Metamask... what is the next step after getting accounts?
I have this so far
const connectMetaMask = async () => {
if (typeof window.ethereum !== 'undefined') {
const accounts = await window.ethereum.request({ method: '...
0
votes
0
answers
27
views
Metamask force transaction that reverts
I want to trigger a transaction that reverts on Arbiscan, in order to debug it after in Tenderly. However, the gas costs are set excessively high. How can I trigger the transaction with "normal&...
0
votes
0
answers
12
views
Metamask Estimating Gas On Minimal Proxy
How does metamask estimate gas for minimal proxy contracts? I have a minimal proxy contract here: https://polygonscan.com/proxycontractchecker?a=0x387d0cb4477ad78483216c2828d031458bf39388
The ...
0
votes
1
answer
20
views
All transactions in the metamask are in expectation
For 4 days I can not make a transactions in Ethereum mainnet. I am trying to buy nft token from Ledjer hardware wallet. And if before I was sent to the Ledjer Live app to open a "bridge" to ...
1
vote
1
answer
200
views
How to verify MetaMask wallet address belongs to user?
Having a bit of a road block in my development process. I want to create an application where a user signs in through metamask, and has their owned NFTs displayed.
In the MetaMask api, I found this ...
1
vote
1
answer
621
views
Unable to connect Metamask iOS app via WalletConnect
Hi I am an iOS developer who is developing a dAAP app for a client. The app prioritizes the use of metamask iOS app. We connect to the app via WalletConnectSwift and launch Metamask app via a https://...
1
vote
0
answers
85
views
Is there a way to output a list of Metamask account names and addresses?
Using Metamask with multiple 'accounts'. Is there a way to output a simple list of account names and addresses?
For example...
Account Name
Address
Account1
0x123...
Account2
0x4ab...
Account3
...
0
votes
1
answer
70
views
No Transfer Functionality on ERC721?
I wrote a smart contract that mints an nft using the ERC721 _mint function. When the token is minted the "Send" functionality is grayed out in Metamask on the Goerli Chain. I don't ...
1
vote
0
answers
14
views
Metamask Connect Button Not working when adding "Deposit" function
I'm following a tutorial for a basic app that utilizes Metamask, this is my code in index.js:
import { ethers } from "./ethers-5.6.esm.min.js"
import { abi, contractAddress } from "./...
0
votes
1
answer
184
views
How to bulk sell 10000 NFTs to OpenSea's Ethereum network programmatically?
I have 10,000 NFTs generated by https://the-nft-generator.com How can I bulk upload the 10,000 NFTs to OpenSea's Ethereum network programmatically? Doing so via selenium & chromium driver is ...