Questions tagged [metamask]

A browser extension for browsers (i.e. Chrome, Brave) for interacting with distributed applications which require, by design, specific dapp browsers such as Ethereum Mist

Metamask is a cryptocurrency wallet which can be used on the Chrome, Firefox and Brave browsers. It’s also a browser extension. This means that it works like a bridge between normal browsers and the Ethereum blockchain.

The Ethereum blockchain is a network where users can build their own apps (which are called dApps) and cryptocurrencies. Ethereum also allows its users to write transaction guidelines called smart contracts. MetaMask can be used to store keys for Ethereum cryptocurrencies only.

So, the MetaMask wallet can be used for storing keys for Ether and ERC20 tokens on three different web browsers. It also allows users to browse the Ethereum blockchain from a standard browser. MetaMask requires no login and does not store your private keys in any server, instead they are stored on Chrome and password protected.

MetaMask is a dedicated way to allows you to run Ethereum Apps right in your browser without running a full Ethereum node. This wallet simplify the ethereum transactions. In Firefox browser you can download its extension and soon they will improve one for Google Chrome.

One of the core features of MetaMask is a secure identity vault, which lets you manage your identities on different sites and sign blockchain transactions.

The overall goal of MetaMask is simple:

“Our mission is to make Ethereum as easy to use for as many people as possible.”

Metamask official website's introduction video

862 questions
4
votes
3 answers

Verify Metamask signature (ethereum) using Python

I would like to verify an ethereum (ETH) signature made in MetaMask using python. I'm developing a website using flask as backend. Javascript code send a POST requests to the back end containing the 3 following variables: {'signature':…
Cybèle
  • 53
  • 1
  • 3
4
votes
0 answers

Error when calling approve function from a button

I have these 2 functions function getData() { var a = document.getElementById("amount").value; var b = a * 0.1; var c = a - b; document.getElementById("receive").innerHTML = c; }; function approve(){ if (typeof window !== 'undefined' &&…
redbulll
  • 91
  • 4
  • 10
4
votes
2 answers

Metamask stopping to inject web3.js

As we know, metamask will no longer inject web3.js starting Jan 13, 2020. What are the approaches we should take to stop the dependency on web3? Also how can we test it out with the existing Metamask that is injecting web3.js as of now.
4
votes
5 answers

i get an error: "MetaMask - RPC Error: Error: Error: [ethjs-rpc] rpc error with payload"

I send the transaction from my JavaScript Metamask opens the transfer-dialog I confirm I get an error message in metamask (inpage.js:1 MetaMask - RPC Error: Error: Error: [ethjs-rpc] rpc error with payload…
krungle mataman
  • 41
  • 1
  • 1
  • 5
4
votes
3 answers

How can iOS application interact with an Ethereum wallet

I have a dapp for web application. Users have metamask installed in the Chrome browser. They make transactions using metamask. Now I want the same application to be developed in iOS using react-native. How to develop this? For browser when users…
Trinu
  • 1,721
  • 3
  • 21
  • 41
4
votes
1 answer

Web3/Metamask: Error: Contract has not been deployed to detected network (network/artifact mismatch) on Kovan network

I try to deploy an instance of a contract that is already live on the Kovan network to interact with it with web3 and metamask. So first thing first, I set metamask as my current provider then I deploy an instance of the contract like this: …
Alex Mass
  • 171
  • 2
  • 11
3
votes
1 answer

RainbotKit and Wagmi Connectivity Issues for mobile {context: 'core/expirer'} 'No matching key. expirer

I was reading latest documentation from Rainbowkit and trying to integrate in my application , Here's the link for rainbowkit installation link : https://www.rainbowkit.com/docs/installation Main points to be noted is : wagmi v1 requires the viem…
ksd030687d
  • 298
  • 2
  • 12
3
votes
1 answer

How can I connect Flutter Crossplatform app (mobile and web) to Metamask?

I've been trying for a while to connect Flutter App to Metamask wallet, but most packages are only for one platform either mobile or web. I've tried installing Metamask and WalletConnect_dart packages, but their issues are as below. Metamask package…
3
votes
1 answer

How do I know which network currently connected in MetaMask by WalletConnet react native?

I am developing react native mobile application where user can connect their crypto wallet(MetaMask, Rainbow, etc.) to mobile application. Everything is working well. I have used this (@walletconnect/react-native-dapp) react-native package to…
3
votes
1 answer

How do decentralised apps handle logging out via walletconnect

After logging into https://opensea.io with metamask I see that they have a log out functionality. After some research, I realized that the "log out" is just a change in UI as I'm still connected to metamask and can only disconnect if I do so…
dev_el
  • 2,357
  • 5
  • 24
  • 55
3
votes
0 answers

How to reject a transaction in a metamask after a few minutes of inactivity? (using code or Metamask settings)

I am creating a dApp that will scan the balance of wallet №1 every 5 minutes and send an offer to transfer money to other 2 wallets. I have already written this functionality. Every 5 minutes, if the balance of wallet №1 > 0, the user is prompted to…
Alexei
  • 277
  • 1
  • 2
  • 9
3
votes
1 answer

Sign transaction without broadcasting it with metamask (not using private key)

I'm trying to sign a transaction without broadcast using metamask. I have tried web3js and etherjs (eth_signTransaction) but neither worked. How to do this? I think opensea is signing message and then using it for transaction. How did they do…
Blgdmbrl
  • 33
  • 1
  • 3
3
votes
2 answers

How to use WalletConnect with Angular app?

Problem: I am trying to use WalletConnect to connect MetaMask wallet in my angular app. I have the following code to connect with the wallet. Everything runs fine until this line in the below code: await connector.createSession(); Does anyone…
3
votes
1 answer

using _hashTypedDataV4 in smart contract and _signTypedData(etherjs) in frontend is not working

i am trying to encode the nft data using _signTypedData(etherjs) in frontend as follows const domain = { name: "og-nft", version: "1", }; const types = { Nft: [ { name: "URI", type: "string" }, { name: "price", type:…
Adarsh Raj
  • 297
  • 4
  • 14
3
votes
1 answer

How to connect Metamask to Web3J (java)

I am trying to connect my Metamask wallet to my Java Spring-Boot backend. I was trying to follow the example here. I am able to autogenerate the nonce and receive the wallet ID without a problem. I am trying to verify the signed nonce from the…
whiplash
  • 695
  • 5
  • 20