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
14 views

looking for ethereum account easy management process

Suppose I want users to answer surveys and that each response are hashed and sent to ethereum. My issue is the user experience of creating an account and login without metamask which is not user ...
0
votes
0answers
15 views

How to execute a smart contract only if there are some particular tokens?

i created an erc20 token and i'm trying to create a smart contract that stores some informations in a blockchain and at the same time send a bit of my tokens to a wallet. Is it possible to do? Have i ...
0
votes
1answer
12 views

Connecting Metamask to geth

In here it's said we need to run below command line to let Metamask connect to geth: geth --rpc --rpccorsdomain="chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn" I'm running a private ...
0
votes
0answers
14 views

Sign a transaction locally and send it

I'm using Infura as my web3 provider, and have MetaMask installed to connect to the blockchain. I'm trying to send a transaction, but have learned that Infura is read-only, and doesn't support the ...
1
vote
1answer
20 views

Simple but important question: How to get the value of contract's state when using Metamask? [on hold]

I'm designing an HTML file (or a user interface: UI) for my smart contract. let's assume that my contract has a state as follows: address public owner;// it is set to "...
0
votes
0answers
22 views

Why is not Metamask invoked in my user interface?

I'm running a private Ethereum blockchain on my computer. I've installed Metamask on my chrome as well. I can create an account on metamask, and then interact with my smart contract deployed on my ...
0
votes
1answer
20 views

Contract deployment using web3.eth.contract(abi) with constructor arguments

I'm trying to deploy the following smart contract: pragma solidity ^0.5.00; contract TestContract { address public owner; string public word; constructor(string memory _word) public{ ...
0
votes
1answer
15 views

approve() and sendFrom()

Im trying to run the code below in a smart contract to use as an escrow. calling approve first and calling send from later does nothing to get the tokens into the smart contract, what am I missing ...
0
votes
0answers
24 views

Balance from ethereum accounts on geth disappears

I have geth private network with 3 accounts A, B and C. each account has 100, 200 and 300 ether balance I connected to this network from Metamask and Transferred the balance of 50 eth from account A ...
0
votes
1answer
40 views

Transaction fails during smart contract deployment from Remix IDE, while i confirm the transaction from MetaMask

I am able to connect to private ethereum network and able to do the transactions from Metamask, but while deployment of smart contract from remix IDE, it launches MetaMask and i get below error while ...
1
vote
0answers
17 views

Metamask not loading transaction fee on Ropsten

I'm trying to send test Ether to a contract on Ropsten, but Metamask won't load the gas options on the send transaction screen. It displays a "Loading" text and never renders the Fastest/Fast/Slow ...
0
votes
1answer
34 views

Oraclize a restfullAPI using a specific number represented by the variable z for a custom token (remix)

is it possible to pass an integer (in this case 141) represented by the variable z from a certain restfullAPI into the custom token function: balances[msg.sender]? So in the end I want to have my own ...
0
votes
1answer
17 views

How to confirm transaction as a receiver in metamask?

My question is simple If I want to send some ether to someone in remix like contract Sender { function send(address _receiver) payable { _receiver.send(msg.value); } } Metamask asks me as a ...
0
votes
0answers
13 views

Meatamask and Ganche-cli generating different signs for the same hash

I'm have created ERC865 token so that users can send tokens without having ether. I followed 1 and 2. My contract recovering the correct address after generating the sign using Metamask customized ...
0
votes
1answer
24 views

How do you set an icon for Metamask “DApp Connect” popup prompt?

For example, here, how would someone get a logo to appear instead of the default "A" logo?
0
votes
1answer
32 views

Private ethereum network account related query

Please help with below queries: how to reset the paraphrase for an account on private ethereum network Is there a way to delete an account on private ethereum network How to enable the etherscan url ...
0
votes
0answers
20 views

Metamask to Private ethereum communication issue [duplicate]

When i connect to my private ethereum network using the 'Custom RPC' of the metamask, it is getting connected from the MetaMask. FYI, i am connecting from outside the network of my server, and all ...
0
votes
0answers
38 views

Error: [ethjs-abi] invalid hex or buffer, must be a prefixed alphanumeric even length hex string

While recovering address from hash and sign, getting above error. myHash = '0xd0109ef5f602b69354acd389a2c752f9b80ef6bbce92a922ae8853d43a027b68'; mySign = '...
0
votes
0answers
23 views

How to generate sign to pass to transferPreSigned(), contract is not asking for sign while transfer()

I'm creating ERC865 token so that users can send tokens without having ether. I followed 1 and 2. As per 1, sender will sign transaction object while calling transfer() but I'm unable to see any "...
0
votes
1answer
29 views

ERC-20 Token Transfer Error

No matter how much gas I use, I get this error : ERC-20 Token Transfer Error (Unable to locate Corresponding Transfer Event Logs), Check with Sender. When I try to transfer tokens managed through ...
0
votes
0answers
23 views

MetaMask to Private ethereum network connection - using Custom RPC fails

What should be the network ID (the one chosen is 3 i.e. Ropsten network) parameter in the below command in order, I want to connect with Custom RPC (which is hosting my private ethereum network) from ...
-1
votes
0answers
20 views

Address array is not returning any of the address

I have create the variables to store the list of address and the funds by every investor. In etherscan.io, When I tried to check the investor list I could not see anything. Could you please let me ...
5
votes
3answers
210 views

How is Metamask able to send erc20 tokens without ABI?

When I use web3js and Truffle, I cannot send tokens to another wallet without the Token Contract ABI. But Metamask only requires the token contract address to recognize and send the ERC20 tokens. How ...
0
votes
1answer
22 views

i have erorr when sendTransaction web3

file javascript //smartcontract window.onload = function() { if (typeof web3 === 'undefined') { document.getElementById('metamask').innerHTML = 'Instal metamask dulu' ...
0
votes
1answer
33 views

Transactions on Ethereum private network using the MetaMask Ropsten test connection?

I have 4 accounts on my private blockchain ethereum network and one of the account has balance of 10000000000000000000 and other accounts have zero balance each. When I connect to this network from ...
1
vote
1answer
17 views

Etherscan indicates I have tokens, MetaMask cannot find them

There are about $2K of Tokens as in the pic, but MetaMask does not get them, and I don't get it.
1
vote
1answer
23 views

Inability to Log into MetaMask [closed]

I had a MetaMask account with password. Had used password to connect to DDex exchange for Ethereum connectivity, transactions, and token balance checks. Recently, I deactivated MetaMask from one of ...
1
vote
0answers
27 views

Metamask and web3 wrong behaviour when extension is disabled

Basically I have a dapp that gets the web3 object from window.web3 (the injected from metamask). When i disable de extention from chrome (not removing, just disabling) the web3 invocations are ...
1
vote
1answer
12 views

Ether is not reflecting in my Metamask account

My friend has transferred me some ether to my Metamask account but the ether hasn't reflected in my wallet. But in the ether scan, it is showing that my transaction was successful. What can I do to ...
0
votes
1answer
50 views

ERC20 token with expiration date

I would like to create a ERC20 token with an expiration date to represent for example a ticket or a gift card. I've created a contract which overrides the open-zeppelin ERC20 contract methods. ...
1
vote
0answers
42 views

Metamask mapping calls receive inconsistent return

Below is my js function that takes an array of orderId and call them one by one - to get the creator address and go on. It is chained in a series of promises with similar Ethereum smart contract ...
0
votes
1answer
110 views

ALERT: [ethjs-rpc] rpc error with payload

I am trying to create transaction local blockchain using ganache on When i confirm the transaction i get the error as "{"id":4818399857527,"jsonrpc":"2.0","params":..", please refer screenshot for ...
0
votes
1answer
15 views

Metamask does not react on delivering gasPrice

I am using following code to generate a new transaction using web3.js & metamask: var web3dictdata = { gasPrice: web3.toHex(10), gasLimit: web3.toHex(210000), to: "...
1
vote
1answer
33 views

How to update value on ethereum blockchain without metamask?

pragma solidity 0.4.24; contract UniToken{ string value="Hello"; function set(string x) public { value = x; } function get() public view returns (string) { return ...
1
vote
0answers
19 views

error in WebSocket connection

error : browser-sync-client.js?v=2.26.3:15 WebSocket connection to 'ws://localhost:3000/browser-sync/socket.io/?EIO=3&transport=websocket&sid=mW3 please i need help on this. i was getting ...
1
vote
2answers
52 views

Why is browser taking so long to read blockchain data?

I have a dAPP and I use reactjs for the frontend. The application returns data from a smart contract (the balance) on the homepage. The main problem that I notice is that everytime I or any other ...
0
votes
0answers
25 views

Why is geth account list and eth.accounts different?

I am trying to sync Metamask accounts with a private geth installation. I imported the account from MM and that shows on geth list but on eth.accounts nothing for that account. Any reason for this ...
2
votes
0answers
51 views

Quorum :- metamask do not support privateFor feature of quorum

i got to know that metamask do not support privateFor because of which private transaction for quorum dapp was not behaving as expected. so, I can't use metamask for my quorum DApp to switch port and ...
0
votes
1answer
112 views

How to connect web3.js 1.0.x to Metamsk

I am using web3.js 1.0.0-beta.36 to connect to the blockchain. But unfortunately this code cannot connect to Metamask, if it has been enabled. var metamask = false; if (typeof web3 !== 'undefined') {...
1
vote
1answer
28 views

Accessing non-active account on metamask

I want to transfer ownership of an already notarized file with a particular address. I am using smart contract and representing ownership by "msg.sender" i.e. selected account in metamask is the ...
1
vote
1answer
81 views

Launch MetaMask login window by JS

I have installed MetaMask extension for Chrome, then I saw ext icon at top toolbar. To login I will open it by click on the icon. There is a question... Is there a way to launch MetaMask window by ...
0
votes
1answer
93 views

Meta transaction with web3

iam just wondering. Are meta transactions not the same like raw transactions, which are signed by the user in frontend and send to a backend, where the transaction gets deployed?
0
votes
1answer
44 views

How to refund a wallet address from a contract with solidity and web3

I am building an app where I'd like a purchaser to be able to seek a refund from the contract. Essentially I am trying to transfer eth from a contract to a wallet. When I get to the point of issuing a ...
0
votes
1answer
43 views

Meta Mask - Breaking Change and Ganache

I have seen the announcement about the privacy changes that Meta Mask has made about no longer injecting Web3. And the article post they made gave a snip of code to include to request Web3 to be ...
1
vote
1answer
80 views

How to connect Quorum with Metamask?

I'm trying to deploy smart contract on Private blockchain(quorum). And run the dapp on private blockchain. But I'm unable to connect the metamask with quorum network. The quorum is currently running ...
0
votes
2answers
56 views

How to use a metamask Wallet from web3,py?

I deployed contracts to Ropsten test net using truffle and a metamask wallet to pay for the transactions and Infura as a Hosted ethereum node. To do that in Truffle, I have to use the truffle-...
3
votes
1answer
95 views

Using metamask from a local html file?

I'm building a DAPP it works fine when I host it from a server, but when the HTML file is local MetaMask gives this error: MetaMask does not allow file:// protocol, use http(s):// Any ideas what ...
0
votes
2answers
38 views

web3 returns 0x0000000000000000000000000000000000000001 as an address

I'm trying to create an asset in a smart contract using MetaMask and web3.js: contract AssetTracker { struct Asset { string name; string description; string manufacturer; ...
1
vote
2answers
8 views

Will a transfer go through on a testnet transaction on meta mask to luno

What if you sent your ETH on the Ropsten testnet via Metamask to an ETH platform gateway like Luno (https://www.luno.com) ? Will you receive your Ether and will it reflect on that account? I've done ...
0
votes
1answer
46 views

Changed behaviour regarding web3.eth.accounts[0] in Metamask?

Some time ago, it was possible to get the selected account using sync methods on web3 0.2. https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md It always worked on our DAPP. But on Nov 8th in ...