Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

0
votes
0answers
15 views

How to get MetaMask to show function paramaters?

In Remix when I call a function MetaMask pops up but it says unknown function and it just shows the bytes that I'm passing as parameter. I'd like MetaMask to show the actual params to protect against ...
0
votes
0answers
20 views

How do I connect multiple clients to Ganache?

How do multiple clients interact with the same webpage using Ganache? Right now, I can get it to where it uploads a document for one client and displays the document on the screen on a private ...
0
votes
0answers
18 views

How could I set my ERC20 token image to be displayed in MetaMask?

Does Metamask load erc20 token image from etherscan? ref: How to verify token after etherscan, and submit icon If not, how do I set my erc20 token icon image to be displayed in Metamask? thanks.
0
votes
2answers
34 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
15 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 { ...
1
vote
0answers
16 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
28 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
16 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
104 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
15 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
1answer
22 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. i faced this problem before also but it was resolved automatically after restarting the machine. but this time ...
0
votes
0answers
25 views

Transaction 14 failed! Error: [ethjs-rpc] rpc error with payload{"id: 6786

I created a web which uses smart contracts, referred from https://zoom-blc.com/how-to-create-first-dapp. But, when I create a transaction on this web, an error code "Transaction 14 failed! Error: [...
0
votes
0answers
8 views

Cannot get Vue.js SSR to work with web3

I am running a vue.js application with a smart contract, the application works without errors on the development server, i can see my contracts - call functions, deploy contracts without an issue. ...
0
votes
1answer
20 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
0answers
16 views

'invalid JSON rpc response' when using 2 instances of web3 simultaneously : metamask and infura

I am basically trying to run two instances of web3 within the same app // metamask if (typeof web3 !== 'undefined') { web3.version.getNetwork((err, netId) => { switch (netId) { case ...
0
votes
2answers
30 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
16 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
14 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
1answer
23 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
43 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
0answers
17 views

Why I can't custom url in Metamask

I used metamask with port 8540. I created private net as wiki.parity.io/Demo-PoA-tutorial. Therefore, I connected metamask with custom url is localhost:8540. Metamask did not activate. I can see my ...
0
votes
1answer
21 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
19 views

Metamask transaction pending? [closed]

Transaction send through metamask with all parameter correct is not included in block in private network.
1
vote
0answers
40 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
40 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 ...
0
votes
1answer
62 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
35 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
35 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
0answers
51 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
8 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 ...
1
vote
3answers
70 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
2answers
41 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 ...
0
votes
0answers
34 views

Consuming rpc url in metamask and in remix web3 provider

Tried to use the Rpc url(created at end of aws ethereum templates) in metamask/ remix ide(injected web3/ web3 provider). Also, got 5 accounts addresses(from initial list of accounts while creating ...
-1
votes
1answer
109 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 ...
0
votes
0answers
14 views

Web3.eth.defaultaccount being unset in code

I have a piece of JS frontend that takes in a user's MetaMask account as part of the process of its normal operations. This was working absolutely fine up until today, when my attempt to verify a ...
1
vote
0answers
30 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
67 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
28 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
37 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
46 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
27 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
34 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
60 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
42 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 ...
1
vote
1answer
76 views

How to programmatically deploy a solidity contract dynamically using Metamask?

I want to deploy a contract to Ethereum using Metamask and via a custom made UI. I have a problem with async calls and Metamask. I have attempted the code below which fails. Has anyone any sample code ...
1
vote
1answer
123 views

Automatic “Confirm Transaction” Metamask

I have a webapp and when I send a transaction I need to approve this tx by clicking "Accept" in Metamask. I would like to implement an automatic non-clickable confirmation. Is it possible? How? (...
1
vote
0answers
58 views

WINDOWS - Geth rinkeby account balance 0 when the balance has 9+ Ether

So I've been using geth on windows in order to deploy my truffle project on the rinkeby testnet using an account where I have 9+ ether. To get in sync with the chain I used (I previously added my ...
0
votes
1answer
60 views

metamask custom rpc problem

I use metamask custom RPC and set it to be http://myip:8545, and it looks like keep trying connecting, but always not finish, actually I am using private ethereum network, whether I must mine on my ...
1
vote
1answer
73 views

Unable to call smart contract function using web3

Trying to learn smart contracts. I successfully deployed a contract. Before deploying it I used the functions successfully in Remix: Contract Instance: But in my Vue app, I get an error: Uncaught ...
1
vote
0answers
22 views

Initialize Metamask from front-end use of Nodejs

Building a simple ERC-20 Token payment screen for a simple shopping cart. I am having an issue figuring out how to use Metamask to allow others to make secure payments. As we dont have access to other ...