Skip to main content

All Questions

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

Web3.eth.abi.encodeFunctionCall Is not working

I'm creating a dapp that charges users a specific amount of eth depending on their input. Whenever I attempt to create the transaction, I specify the amount of Eth in Wei. It throws an Error with no ...
0xD1x0n's user avatar
  • 140
0 votes
2 answers
151 views

Transaction won't be mined / Failed signing of transaction

I'm trying to send a transaction that writes somesthing on ethereum(kovan) but it seems my transaction is not mined and probably not even send to the network? All my view requests to ethereum work, so ...
Mr. 124's user avatar
  • 65
0 votes
0 answers
25 views

How to update Data on UI

I have a UI thats connected to metamask The UI updates all the Info now on address change and when metamask is enabled How can i make my UI update every second? so it always shows accurate stats on ...
redbulll's user avatar
0 votes
0 answers
99 views

Unfulfilled Promise From A Metamask Transaction

I'm having a problem with my JS code pausing on the let result line. Metamask prompts me to approve the transaction initiated in the line (which I do), but then doesn't proceed any further. As the ...
Fisticuffs's user avatar
0 votes
0 answers
108 views

Not able to call the solidity function through App.js? Anyone know how to call a solidity function?

I'm trying to call a Solidity function from App.js, but I'm unsuccessful even after a number of tries. Its a very simple function betOnTeam(). Inside this function I just want to check condition and ...
raghav's user avatar
  • 74
0 votes
0 answers
258 views

How to handle estimate gas cost error?

I am programming a button for a transaction which shall only appear if the transaction is possible. Therefore, I am using the following code contract.methods.function(parameters) .estimateGas({...},...
Olympus's user avatar
  • 31
0 votes
0 answers
113 views

MetaMask Calling Child Contract Methods?

I had created a contract(Organisation.sol) that create other contracts(Session.sol). When I call any method from(Organisation.sol) using web3js it work well. But If I ever tried to call any method ...
yehia tarek's user avatar
0 votes
1 answer
694 views

Can't get the func in `web3.eth.getAccounts` to run

I'm trying to perform a simple balance check, but the code inside web3.eth.getAccounts doesn't run. I'm trying to get web3 from the instance injected by Metamask. myWeb3.eth.getAccounts(function(err,...
Nir Benita's user avatar
0 votes
1 answer
608 views

Can't call functions from contract using web3.js

So I have a Dapp and want to call a function from a contract deployed on Rinkeby. I use Metamask to interact with the blockchain. When I use the functions in the console, they work, but when I want ...
Steve's user avatar
  • 25
0 votes
2 answers
733 views

Web3.eth.accounts[0] never updating

I'm trying to use Web3 to access the current account I have selected on Metamask by doing web3.eth.accounts[0] in order to display it on my UI (in VueJS). However web3.eth.accounts[0] always returns ...
kws3778's user avatar
  • 103

1 2
3