As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

How to encrypt an non encrypted message using the same method as metamask?

I've been playing around with the decryption API MetaMask provides here: https://metamask.github.io/vault-decryptor/ I'm wondering if anyone know if there's a way to re-encrypt the same seed phase to ...
StackTempAcc's user avatar
1 vote
0 answers
99 views

Payment URL/metamask deeplink does not work for transferring USDT in Arbitrum network

I generated the following deeplink with https://metamask.github.io/metamask-deeplinks/# https://metamask.app.link/send/pay-0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9@42161/transfer?address=...
John's user avatar
  • 81
0 votes
1 answer
117 views

How to get Publickey of metamask by Public address?

I want to get Publickey of metamask by Public address
laravel Developer's user avatar
1 vote
0 answers
117 views

How to solve this error MetaMask - RPC Error: The requested account and/or method has not been authorized by the user?

I used below code from account 1 on metamask to encrypt certain text let encryptionPublicKey; await window.ethereum.request({ method: 'eth_getEncryptionPublicKey', params: [account1], // you must ...
laravel Developer's user avatar
1 vote
1 answer
37 views

How to get metamask address with infura?

I am very new to the blockchain programming. I installed the metamask browser extension on my google chrome. I funded it everyday through Alchemy. Now I am working on a Laravel project which involves ...
pheromix's user avatar
  • 125
0 votes
1 answer
102 views

Deploy contract to goerli infuria without signing the transaction

Is there a way to deploy a contract on goerli infuria, using web3.js and metamask so I don't have to sign the transaction, or is it possible to use metamask to sign it, without having to provide the ...
Daniel Reed's user avatar
0 votes
2 answers
53 views

Test Metamask interactions from a hardhat project?

Is there any way to test user interaction with Metamask from a hardhat project? I understand that hardhat is a browser addin, but I want to test useraction between my contract and metamask interaction ...
GGizmos's user avatar
  • 651
0 votes
1 answer
249 views

How can I add Rinkeby in Metamask?

I have a problem: I can't add Rinkeby Test Network in Metamask. First, I tried to add it from settings -> show test networks(on) and it doesn't work. Then I tried to add it manually and I created ...
Craig Reid's user avatar
0 votes
0 answers
25 views

How to enable metamask signature to multiple docs at the same time?

I have a contract that enables the customer to publish and ERC721 and mint several tokens. To demonstrate authenticity of the tokens I'd like the customer to sign each of the tokens with their ...
GGizmos's user avatar
  • 651
0 votes
1 answer
197 views

Signatures created in metamask with ledger is being rejected by ECDSA.recover

Some context. The frontend right now is using wagmi under the hood, we are using the signMessageAsync method to generate a signature. Code is below const { signMessageAsync } = useSignMessage() ...
Franrey Saycon's user avatar
0 votes
0 answers
98 views

Adding A New account to Metamask using Web3.js

I want to create a new account for the user, add and display this new account in MetaMask. I have created a new account using : let walletWeb3 = await web3.eth.accounts.create(); and passed its ...
Ranjan Prasanna's user avatar
0 votes
0 answers
86 views

Internal JSON-RPC error when swapping from ethers.js on uniswap

I spend a lot of time trying to understand where is the mistake. I try to swap USDC to any token on uniswap router v3 with ethers.js on frontend. I use Polygon network in app and in metamask too. I ...
Jay's user avatar
  • 1
0 votes
1 answer
186 views

react native with expo not working with metamask sdk

i setup react native project with expo. @metamask/sdk doesnt work on expo project I already build with cli and success. coinbase/sdk wants to use expo, i changed cli to expo. now it doesnt work with ...
Jerry's user avatar
  • 5
0 votes
0 answers
24 views

MetaMask android application gets minimized

I am developing a dapp. It has a Web3Modal connect button and a button that triggers a transaction(using wagmi). When I open it in the MetaMask's built-in browser and connect, the MetaMask app gets ...
Asad ali's user avatar
0 votes
0 answers
16 views

How to detect payment and get contract information via Metamask using javascript?

I am writing a function for a Chrome extension, how can I retrieve information of the contract I am calling the payment function on (such as the contract address) each time I execute the payment ...
Quang Tran's user avatar
1 vote
0 answers
357 views

The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type undefined -in Trustwallet

I'm getting this The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type undefined error while confirming transaction on trustwallet. The same ...
Anto's user avatar
  • 11
0 votes
1 answer
62 views

how does metamask recover my 2nd account?

This question is not about how to recover, but how does metamask recover my 2nd account? my setup: windows 10 latest chrome browser latest metamask plugin goerli testnet I had set up a metamask ...
oldpride's user avatar
  • 131
0 votes
1 answer
100 views

How to import Theta tokens to make dem viewable on the Metamask surface?

I have send Theta tokens via the Theta Mainnet to my Metamask Wallet. I can't "import" them though because I don't find the necessary contract address. Now the tokens are neither viewable on ...
Sarah Lisa's user avatar
0 votes
1 answer
39 views

hey i am trying to add some test ether to my metamask [duplicate]

this error 'insufficient funds for gas*price+value iam using Goerli network and the wallet is metamask
hamssa  hassnawee's user avatar
3 votes
2 answers
976 views

Connecting to MetaMask wallet via WalletConnect Web3Modal V2 from mobile browser does not give connect prompt in metamask app

import { EthereumClient, modalConnectors, walletConnectProvider, } from "@web3modal/ethereum"; import { configureChains, createClient, WagmiConfig } from "wagmi"; import { ...
chaitu605's user avatar
0 votes
1 answer
25 views

Can I know how to apply the function of connecting to DApp such as Uniswap when installing Metamask?

If you press the Connecting button on a site such as Uniswap, the ability to connect the metamask is activated.We also want to apply such a function to our homepage. I knew as below. Is this the right ...
B-Fox's user avatar
  • 1
0 votes
2 answers
120 views

Send ETH from contract to wallet shows as a deduction from wallet rather than addition to it and balance is unchanged

I have the following smart contract function that is supposed to be called from a web app, using ethers and Metamask, running on Hardhat localhost blockchain. Its purpose is to send the specified ...
Laurentiu Neacsu's user avatar
0 votes
1 answer
204 views

Is there a way to add a token logo from a metamask and enable it to be searched?

Instead of using the Add Custom Token function in Metamask, tokens such as Chainlink, Uniswap, etc., are searched immediately when searching for tokens, and the logo of the token is checked. Does ...
B-Fox's user avatar
  • 1
0 votes
1 answer
136 views

How to get free ether

im a complete beginner in ethereum.i want to develop ethereum base project in my degree.but problem is rinkeby test network not show in metamask wallet.how to get free ether for demo project purpose
amina shihabuddin's user avatar
0 votes
2 answers
24 views

Is connecting a wallet to a website an on-chain action?

I am developing a crypto analytics tool and had this question in mind. When I connect a wallet to a website (let's imagine I connect metamask to Uniswap), is there anything that happens on-chain that ...
Mariano Maisterrena's user avatar
0 votes
0 answers
30 views

RPC error happens often when connect metamask with change network

my dapp call change network function before connect metamask if network is not goerli network. however it makes rpc error often on ios metamask browser environment. i think mainpage shows data from ...
Jerry's user avatar
  • 5
0 votes
0 answers
39 views

how to get balance of token deployed on thirdweb into Next.js app

I'm getting this error: I don't know why balanceOf method not working. My code is: const balance = await token.balanceOf(walletAddress); console.log(balance.displayValue); I am taking reference from ...
Vaibhav's user avatar
0 votes
0 answers
20 views

Receiving Invalid Address on Web3

I am having issues launching my web3 connected to Solidity (on Remix) and MetaMask. The error that popped out was that I have an invalid address and they were referencing the function called ...
SpunkkyD's user avatar
0 votes
1 answer
80 views

Metamask not showing balance of custom ERC20 token (hardhat)

I'm trying to test a custom ERC-20 token using Metamask and Hardhat. After deploying my ERC-20 coin and minting some to one of the HardHat default accounts I try to add the token to Metamask. It is ...
Rudi's user avatar
  • 1
0 votes
2 answers
67 views

How to get current Network name in Metamask api?

I wanna to check current rpc network is using Flashbot or Infura. I know can using window.ethereum.networkVersion to get ChainID to check it is Mainnet or Goerli. But I do not know how to check ...
TangMonk's user avatar
  • 141
2 votes
2 answers
44 views

Best way to programmatically get an eth address

I am wondering what the best practice is to get an eth address and send it to an API. Ideally, I am looking for a simple interface to grab the eth address and send it to the API and then send that eth ...
AAMCODE's user avatar
  • 133
0 votes
1 answer
429 views

Etherscan - bought tokens but balances is 0

What is it about? https://etherscan.io/token/0xb2657b0ad4afdbabb8272b80df8a9b07eb6927d4?a=0xd54c73e53bf6e569d134e378a9bd179d960068b8 Tokens have been bought, you can see the quantity. Nothing has been ...
tradesat's user avatar
0 votes
0 answers
40 views

How can listen speed up/cancel event on transaction in my dapp?

i develop dapp using react and web3js. i figure out that if user click speed up function or cancel in metamask, my dapp doesnt know event. My dapp developed to track transaction hash user requested. ...
Jerry's user avatar
  • 5
0 votes
0 answers
14 views

Error message in hardhat snaps project in @ethersproject dependency

Can someone please look into the error I am getting while building a Metamask Snaps project within FEVM Hardhat Kit. Here's the error message: TypeError: Cannot read properties of undefined (reading '...
Mumuksh Tayal's user avatar
0 votes
0 answers
26 views

What is ethereum.request and how can define or replace ethereum to make the HTML file running?

This is the html that creates a website where you write messages on the goerli testnetwork via smart contract. Metamask does not pop up and I get a response back shown in the pictures. <!DOCTYPE ...
NicolasKeil's user avatar
0 votes
1 answer
213 views

I am having uniswap problems [duplicate]

anyone have any idea what why I keep getting a "Gas estimation failed. Wait a few minutes and try again" message every time i try swapping a token on Uniswap. i am using metamask/ legder. i ...
Chucky's user avatar
  • 1
0 votes
1 answer
78 views

function selector not found in hardhat node

I am trying to call a smart contract, getTokenDepositAmount(uint inputToken), from frontend (Reactjs) using ethers.js but I am getting this error in browser console: Error: call revert exception [ See:...
Rishabh Raghwendra's user avatar
2 votes
1 answer
2k views

"gas estimation failed" error using Uniswap. Can't fix it, please help

I can't sell alt-tokens back into ETH. This is an issue with multiple tokens, not just one and they all have very high liquidity ($Kabosu and $OHMI). I immediately get the error 'gas estimation failed'...
UniSwapper's user avatar
0 votes
0 answers
63 views

Unable to call contract function because Metamask doesn't pop up though it's connected to Remix

I've been having this issue for a while. Whenever I try calling a function or deploy a contract using Remix, the Metamask doesn't pop-up, even though if Metamask is connected to Remix. The only thing ...
caiosa's user avatar
  • 23
0 votes
1 answer
69 views

How to add the Native Coin Blockchain logo in MetaMask (visible for public) for an EVM Layer 1 pre EIP 1559 Blockchain

I got a great questions and i can't find any answer about this, neither does the MM Support have an answer for that. MetaMask support only points to the EIP-747 method via wallet_watchAsset API. ...
Quash's user avatar
  • 1
0 votes
2 answers
95 views

Can't load ethereum object from metamask-react in TypeScript

I am trying to add this code to handle the change of accounts in Metamask... ethereum .request({ method: 'eth_accounts' }) .then(handleAccountsChanged) .catch((err: any) => { // Some ...
Falcon Stakepool's user avatar
0 votes
1 answer
147 views

Is there a more decentralized RPC server for MetaMask than Infura?

The default RPC server for MetaMask browser extension is Infura. However, Infura is known to monitor the IP addresses and other data of its users. Anyone who is touting decentralization of crypto, but ...
user610620's user avatar
  • 1,406
0 votes
1 answer
32 views

Transferring ETH to a account

Recently I was writing a smart contract to transfer ETH from a account to another account. My code should transfer 100000000000 gwei but while transacting metamask pop-up shows the required amount as ...
Baba_yaga's user avatar
0 votes
2 answers
229 views

i cant find rinkeby even after turning on test net on metamask, who else is having this issue? [duplicate]

I can't find Rinkeby even after turning on the testnet on Metamask. Who else is having this issue?
Idehen Scofield's user avatar
0 votes
1 answer
31 views

I am not able to change my Metamask account due to 3 lines of code in the below App.js code from line 25-27

Whenever I am compiling my code using the line 25-27 then I am not able to change my metamask account. The 3 lines have been highlighted below. const realEstate = new ethers.Contract(config[network....
Abhishek Bhagat's user avatar
0 votes
0 answers
45 views

Is dApp auth with offline signed message possible?

I'd like to build an authorization system that is like this to provide users an auth system other than MetaMask: Users sign a nonce, timestamp, etc. (generated by the dApp) offline, on their personal ...
Daniel10293's user avatar
-8 votes
0 answers
31 views

Hi guys i hope to get some help 🙏🏻 i am a begineer and i need some testnet ETH please some help

Eth need abehri ayoub please some help
Ayoub Abehri's user avatar
0 votes
1 answer
80 views

Metamask is not popping up to connect accounts

Hey i'm using Html/Javascript to connect the Metamask. I use "ethereum.request({method: "eth_requestAccounts"})" to connect the Metamask accounts. It get me connected to my ...
Shubham Gupta's user avatar
0 votes
1 answer
30 views

Checking ERC721 token approvals in a for loop works in Hardhat Script but fails in React

Here is my function, event and modifier: event TransferComplete(); modifier isApproved(address[] memory contractArr) { require(contractArr.length > 0, "Length Zero"); for (...
sleekstrike's user avatar
0 votes
1 answer
101 views

Is it possible to facilitate MetaMask Authentication via backend api calls?

Currently, transactions are being authenticated by MetaMask when we interact with their browser extension. However, is it possible to execute the same user steps via backend calls instead as I ...
Porsche Lim's user avatar

1 2
3
4 5
43