Questions tagged [metamask]

Question about the Metamask chrome's plugin.

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

Manually specify extra gas amount required in solidity for apps such as metamask

I've had an issue with my first solidity contract whereby sometimes transactions will work and other times I'll get "out of gas" errors. I believe after much research I've pinpointed this problem to ...
1
vote
1answer
236 views

MetaMask breaking change - does ethereum.enable() prompt an Access signature every time it's called?

Does ethereum.enable() prompt an Access signature every time it's called? Or will access-granted status persist?
1
vote
3answers
70 views

What is Metamask?

I know it's a dApp web3 browser, a wallet. But which ethereum client is used in the back end to interact with block chain? How the same account is able to connect with all networks (mainnet,testnet, ...
2
votes
0answers
458 views

NetworkError when attempting to fetch resource. Resource URL: moz-extension://2…/contentscript.js Source Map URL: ../sourcemaps/contentscript.js.map

I get the following error message in Firefox Developer Tools Console following a successful sendTransaction: "Source map error: TypeError: NetworkError when attempting to fetch resource. ...
2
votes
1answer
193 views

MetaMask expose accounts

From 2nd November MetaMask will not expose user accounts by default anymore and we must do it. I'm confused about how we are supposed to integrate that in our dapps. For example, I have a standard ...
0
votes
1answer
200 views

Unable to interact with DApp deployed on quorum

I am unable to interact with contract using Dapp deployed on Quorum blockchain (using metamask). I am following "https://truffleframework.com/tutorials/building-dapps-for-quorum-private-enterprise-...
0
votes
0answers
16 views

Metamask mysterious tx showed up

A tx appeared in my Metamask which looks like this: I don't understand what it's about. I noticed there is a 'Cancel' button and I clicked it, but nothing is happened. And now I have 2 txs in the ...
2
votes
0answers
53 views

Use React Dev Tool in developing MetaMask

I am new to MetaMask, and learning how MetaMask works. I found MetaMask UI was implemented with React, so I tried to use React Dev Tool, but I am not able get it working. Please help. I started stand ...
0
votes
1answer
172 views

Importing accounts into geth from metamask

I Have entered into my geth console geth eth.accounts ["0xf844f0d7acb0d01bf66ffd81809fb96b2236abce", "0xc8d94cb87173fc94c4b165e44a5fc0b047618044", "0x6a0ef1a429c3570cb342963d309dd5aaa9e49cd4", "...
1
vote
1answer
58 views

Set method name for MetaMask history

I have a question about the Metamask UI. Is it possible to set custom transaction method name for metamask history to make it more user-friendly? I want to rename "Bid" (default method name) to "Made ...
0
votes
1answer
218 views

Access private blockchain from another PC/Laptop?

I have private block chain on my PC.The private blockchain is configured and deployed using geth. I want to connect to that blockchain from another node(my laptop) to access the smart contract ...
1
vote
0answers
143 views

How to update drizzle-box app to handle metamask no longer injecting web3?

I was reading about the latest and greatest metamask changes, and was wondering how I can update one of my dapps based off the truffle drizzle-box to be compatiable with the new metamask changes. For ...
0
votes
1answer
33 views

Sending real ETH to contract on Rinkeby

I have a contract deployed to the Rinkeby testnet. It includes the following function: function deposit(uint amount) payable public { require(msg.value == amount); } If I try to send ETH to this ...
1
vote
0answers
182 views

Where is the latest MetaMask hello world dapp example?

MetaMask recently added a new permissions check. I'd like a copy-pasteable hello world dapp that includes all best practices and can check the balance of the current user's ERC20 balance for some ...
0
votes
1answer
34 views

Calling a smart contract function inside another in web3

Here is my code Sample in js script connected to ContractInstance through web3: ContractInstance.Fire(function(error,res){ if(!error){ContractInstance.dead.call(function(err, result){ ...
0
votes
2answers
77 views

Different Values for v, r, s? What am I doing wrong?

lets assume I have this private key (test account on ropsten, no need to worry): 785cdcd731a1b2438ec4511a25d04efbdc499ed350df612364af1aa6f4fd6abd When I use Pyethereum to run v, r, s = ecsign(tx['...
2
votes
1answer
173 views

Remix + Metamask not fetching any values

I have a simple test contract that stores a hash and I deployed it via Remix and Metamask pragma solidity 0.4.25; contract Hash { bytes32 hash; constructor(bytes32 _hash) public { ...
2
votes
0answers
83 views

Retrieve MetaMask version in web3.js

Is there a way to determine the version of the currently installed MetaMask extension from web3.js? I can't find it by inspecting the Web3 instance.
0
votes
1answer
315 views

Transaction reverted during contract execution [Reverted]

I sent ETH to a contract address, and the transaction "failed" saying : Warning! Error encountered during contract execution [Reverted]. contract address and transaction failure here: https://...
0
votes
1answer
56 views

How is gas adjusted for a transfer in solidity?

I am using Remix with Metamask on the Ropsten test system, and when I try and transfer Wei I get a gas error. I tried a few combinations but there are various errors relating to gas. Has anyone any ...
0
votes
1answer
400 views

web3.js token approve function show null / 0 in Metamask

EDIT The allowance is set, the issue is just that metamask detect no token name nor amount that is allowed. In my HTML/JS amount = parseInt(web3.toWei(amount, "ether" )); tokeninstance.approve(...
1
vote
1answer
54 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 ...
0
votes
2answers
247 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(...
0
votes
1answer
343 views

Private Key Storage in Metamask Chrome

I recently treated myself to a fresh install of Ubuntu, however did not separately back up my keys from metamask. I still have the old .config/google-chrome folder however from my home directory. I've ...
0
votes
2answers
99 views

Any options to remove dependency on metamask before we get integrated crypto wallets in browser?

Metamask is quite complex for non-crypto savvy users, and lately it was very unreliable(two reverts last week). What potential options do we have to decouple our dependency from metamask? I was ...
1
vote
0answers
62 views

Quorum 7node example when i try to import account1 of node1 using its key1 ciphertext i get wrong account address imported

I am trying to import account 1 of node1 of 7nodes quorum example using its key1 file which you can find here "https://github.com/jpmorganchase/quorum-examples/tree/master/examples/7nodes/keys". my ...
0
votes
1answer
281 views

Truffle Develop Could not find suitable configuration file

Basically, after I installed the truffle the command: nom truffle -g . Then I went to set up the metamask on the google chrome. Once the metamask is set up then I try the command: truffle develop and ...
0
votes
2answers
196 views

How to import quorum 7 node accounts to metamask

I am new to quorum 7node example I have created a DApp I want to send transaction using metamask when I was using testrpc to connect with DApp i was able to see all 10 test accounts in metamask after ...
1
vote
2answers
74 views

can't use the crypto money I earn working for gitcoin.com

Recently I resolved a public GitHub issue and was paid 125 units. I was told its worth about 125 dollars. I've installed the chrome metamask plugin. I also purchased 5 dollars worth of ETH from ...
0
votes
1answer
105 views

Deployment of Blockchain Dapp application on cloud!

I have my dapp in progress using PrivateNet, Metamask, HTML, CSS, JAVASCRIPT & Solidity in Ethereum. After the finishing of my application I just wanted to host my application on cloud. As of now ...
1
vote
1answer
141 views

Metamask transaction pending? [closed]

Transaction send through metamask with all parameter correct is not included in block in private network.
1
vote
0answers
436 views

Metamask create transaction with popup prompt

Im trying to create a basic static html page to send a transaction using metamask. It looks like web3 is not being injected into the page at all even though i have metamask installed. I would have ...
0
votes
1answer
675 views

Cannot connect ganache-cli to metamask

I am trying to follow the truffle pet shop tutorial. But failed to connect metamask with ganache-cli I ran ganache-cli in the console and changed the rpc url to http://127.0.0.1:8545 But the addresses ...
3
votes
1answer
825 views

MetaMask shows “UNKNOWN FUNCTION” when calling method send function

I'm trying to configure communication between a web front end and a deployed Ethereum contract (on Rinkeby). I'm trying to call a simple method that updates a value, which looks something like this: ...
0
votes
1answer
77 views

Catching errors with gas issues

I am working on the frontend where I use try / catch to find errors and give appropriate messages to users. My smart contract has a payable function and I was at the point of catching errors regarding ...
0
votes
2answers
123 views

Crowdfunding Contract like Kickstarter

I was following a tutorial for a Crowdfunding Smart Contract that acts like Kickstarter from Programtheblockchain, however I'm always getting a MetaMask Error which says "Exception thrown in Contract ...
0
votes
2answers
510 views

Deploying on Rinkeby with Truffle using infura

If I want to use HDWalletProvider to deploy my contract on a specific address, what should I do? rinkeby: { provider: () => { return new HDWalletProvider("Mnemnoic", "https://ropsten.infura....
0
votes
1answer
18 views

how do I make users sign different strings with their private key separatelly

Here is the the scenario. Users come to my website and register(by using email and password). Then they login. After that, They add a new item(which has name and quantity fields). After Clicking ...
3
votes
4answers
292 views

Get rid of Metamask sign confirmation dialog

I am using web3 for users to sign some random string from web application. I give user string, he/she signs it after Metamask dialog's "Sign" button. but there is a problem when i want user to sign ...
1
vote
3answers
331 views

What is a replacement for Metamask in React App?

I have an app on react that works great with Metamask but in the real world nobody has to install Metamask and I don't know how to create transaction without Metamask. is there any way to create a ...
-1
votes
1answer
443 views

MetaMask => Ledger Nano S

I sent 20 AION from MetaMask to my Ledger (Nano S)'s Ethereum 1 address, and it shows up when I paste in this address at https://www.myetherwallet.com/#view-wallet-info But if I instead connect to ...
1
vote
0answers
79 views

Does MetaMascara have support for signing messages with a dialog box?

I'd like to add Web3 integration to an Electron app. I found a Brave Browser fork of Electron that adds the MetaMask extension, but I'd prefer to stay in Electron if possible. This brought me to ...
1
vote
1answer
200 views

Smart Contract to send ether

I have Solidity contract that is meant to send ether to someone. Unfortunately it's giving me a cryptic error message after I confirm the transaction in MetaMask. I'm testing on a local ethereum ...
1
vote
1answer
65 views

Dapp cannot fetch a string

Somehow i cannot get any result from my backend solidity. i have asimple dapp that takes firstName from input field save in blockchain and then fetch it back and display it on the screen. state={ ...
1
vote
1answer
103 views

how can ethereum addresses are same between different networks (testnet & Main)?

I found, Wallet address are remain interchangeable if i switched between the different networks(Main Network , Ropsen Network & Rinkeby Network) is it assigned to particular machine IP, if not ...
1
vote
0answers
172 views

Solidity payable function and metamask

Below is my solidity function. This function is payable. I am extracting the value from the msg object and transferring. function getStudent(string _searchHash) payable public { var ...
1
vote
0answers
52 views

How to compute the Contract Address from the Transaction Hash? [duplicate]

I am aware that different versions of this question were asked but my interest is specifically working out the contract address following dynamic deployment in a UI using web3 or something similar. I ...
1
vote
1answer
344 views

Seed phrase of existing account in Metamask on different browser gave different address

I have Metamask installed on my browser on one machine, and I know the seed phrase of the account that it shows when I log in. Today, I installed Metamask browser extension on a different machine and ...
0
votes
1answer
382 views

account recovery with web3 privateKeyToAccount()

I'm currently stucked by this strange thing: I started by exporting my private key(fdba67e41f7c6767100969ae3f045d10a59e35d380acf5b37a3b208bd2969347) from my metamask account, which i can use to login ...
2
votes
0answers
156 views

Signature generated through web3.eth.sign not leading to same address after fromRpcSig

I am trying to write sign a challenge using web3.eth.sign, web3 uses ganache.provider(), But when i do fromRpcSig(signature) ecrecover(challenge) which results in different address. But when i sign ...