Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
0
votes
1answer
507 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?
3
votes
2answers
269 views

Solidity stuck at mining transaction

I am trying to deploy a contract in the ethereum blockchain with solidity. When i press the create button directly under it, a message saying "Waiting for transaction to be mined..." shows up ...
3
votes
2answers
2k views

MetaMask: how can I access the web3 object locally and use my own node?

I am new to Ethereum and was looking for a way to run my dApp in Chrome instead of Mist. I encountered Metamask, which would in theory fit my needs perfectly. However, from a basic web point of view,...
3
votes
1answer
4k views

Is there a way to call a constant function asynchronously?

I'm trying to invoke a constant function test from a webpage. I've injected web3 object through MetaMask. contract A { function test(uint8 x) constant returns(uint8) { return x + 10; ...
3
votes
4answers
3k views

whether metamask can be used on cell phone browser

whether metamask can be used on cell phone browser? any plugin for cell phone? thanks I try to use a wallet to send eth easily, but metamask can only work for desktop etc. for mobile, any metamask ...
3
votes
1answer
484 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 ...
3
votes
2answers
992 views

Retrieving logs using filter is not working?

web3 has been connected to Infura node, can send signed transactions but web3.eth.filter is not working(405 error)?
2
votes
1answer
740 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 ...
2
votes
1answer
2k views

Deploying to testnet using Truffle and Metamask

Is it possible to deploy a smart contract developed using truffle to testnet using just Metamask (without a local eth client instance running)? I tried importing the private key of metamask wallet to ...
1
vote
1answer
36 views

Truffle Javascript tests won't change Contract State (Contract State won't Change)

I reviewed a similar answer but it didn't work. Right now I'm starting with an Example trying truffle, I did a small Echo project based on the Pet Store Box from Truffle. And i'm having some problems: ...
1
vote
2answers
1k views

New web3 method to request account access from dapp browser, no request

Since metamask communicated that they will no longer inject web3 by default (https://medium.com/metamask/https-medium-com-metamask-breaking-change-injecting-web3-7722797916a8) I tried to use their new ...
1
vote
0answers
68 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
3answers
428 views

When creating a new contract I receive a “contract code couldn't be stored” error but the contract is still created

Sale.new({ from: state.account, value: value, gas: 4000000 }).then((instance) => { // do something with instance }).catch((err) => { alert(err) }) When the above code runs I sometimes ...
1
vote
1answer
417 views

Truffle Tutorial pet-shop with test-rpc adopt button doesn't work

I have followed the tutorial exactly like they showed in their page: http://truffleframework.com/tutorials/pet-shop except the following changes because they use "ganache" (currently bugged and ...
1
vote
1answer
883 views

Remix & Metamask: displaying more than one account

I'd like to test a contract on Remix and since it uses Oraclize, I can't use the javascript VM. So I'm connecting to Ropsten by selecting Injected web3 as environment on Remix. The problem is that I ...
1
vote
0answers
148 views

metamask and infura - Managing and signing with private keys

I am using Infura as a node for my DApp so I need to send raw transactions by signing them. These transactions can come from multiple users of an application so each user must sign and send a raw ...
1
vote
2answers
2k views

Metamask, Remix IDE: Cannot create an account: Error: Internal JSON-RPC error

I am trying to deploy a contract using Remix IDE and Metamask. But whenever I try to create to deploy the contract I get the error Cannot create an account: Error: Internal JSON-RPC error. I am ...
1
vote
1answer
114 views

Bundling web3js does not seem to work (Metamask app)

(This is a follow-up question from here.) From the Metamask developers faq it is stated to "bundle the version of web3 that is used during development". So I downloaded a web3.min.js version 0.20.6 ...
0
votes
1answer
141 views

How to connect with Metamask and Smart contract?

I am ready with my frontend design. I have only 3 files HTML, CSS, and JAVASCRIPT. So, I didn't create any project or DAPP to have other files. Now next step is to connect with metamask and smart ...
0
votes
1answer
2k views

Where can I start learning to develop Decenteralized apps? [duplicate]

I have been trying to understand this development process of making DaPPs using ehtereum from various sources, some of them are outdated because this technology is evolving pretty fast as of now. ...
0
votes
1answer
133 views

truffle-contract: cannot test method before real consume ether method

I am using truffle-contract for connecting between frontend and smart contract. Currently, I can call method on smart contract and can consume ether successfully. const result = await instance....
0
votes
1answer
2k views

Contract Not sending ether to other account

I have created a contract which store the address of the users and i want to send 1 ether all the users stored in array. Here is my code contract project{ address public user; bytes32[10] ...
0
votes
1answer
282 views

Comparison of Metamask vs Ganache [closed]

I watched some videos about Metamask but I am so confused by it Metamask: To use the final application like the end user would. Based on that, what is the purpose of React then? What are the ...
0
votes
1answer
1k views

Can transfer ether from a contract to an account, but not to another contract [duplicate]

Here are two contract functions. The first works fine, the second displays the following error: "Warning! Error encountered during contract execution [Bad instruction]" function DoTransferToAccount()...