Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 42154

Javascript API and library for Ethereum To develop applications on Ethereum, you can use the web3 object provided by the web3.js library. Under the hood it communicates to a local node through RPC calls. web3.js works with any Ethereum node, which exposes an RPC layer. https://github.com/ethereum/wiki/wiki/JavaScript-API

1 vote

ERC20 token sending | insufficient funds for gas * price + value "web3js 1.0.0-beta.34"

I'm using "web3": "^1.0.0-beta.35" and encountered this problem as well. I only changed the gasPrice to a number instead of hex value. I'm not sure if it will solve your problem with the beta.34 versi …
vhie's user avatar
  • 342
2 votes

Set default address in web3?

// set the default account web3.eth.defaultAccount = '0xWalletAddress'; Refer to https://web3js.readthedocs.io/en/1.0/web3-eth.html#defaultaccount
vhie's user avatar
  • 342
1 vote
1 answer
440 views

Web3js 1.0.0-beta.35 sendSignedTransaction() Error

I am using ropsten.infura as my provider. It is my very first time to use infura so please bear with me. This is my code for requesting the transaction. web3().eth.getTransactionCount(coinbase) …
vhie's user avatar
  • 342
1 vote

Having issue with Infura mainnet web3 connection and getting info

web3.eth.getBalance(address) returns a promise which will only either return an error or the balance once the transaction is mined. function getBalance(){ var balance; web3.eth.getBalance(addr …
vhie's user avatar
  • 342
1 vote
Accepted

Geth/Remix Error: gas required exceeds allowance or always failing transaction.How to solve ...

require(msg.value == 30 ether, "30 ether initial funding required"); Base on the code for the constructor you need to transfer 30 ethers to the contract upon deployment.
vhie's user avatar
  • 342