Questions tagged [go-ethereum]

go-ethereum, also known as geth, is a Go implementation of the Ethereum protocol. Use this tag for questions about creating or writing code for a geth-based Ethereum service.

go-ethereum is the most widely used client implementation for Ethereum.

Command Line Options

Install on Mac

Install brew...

brew update
brew upgrade

Install Ethereum

brew tap ethereum/ethereum
brew install ethereum

Install on Windows

Download the latest stable binary, extract it, download the zip file, extract geth.exe from zip, open a command terminal and type:

chdir <path to extracted binary>
open geth.exe

Install on Linux

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
430 questions
0
votes
1 answer

I can't find web3.eth.personal.newAccount

[Geth client command] geth --rinkeby --rpc --rpcaddr "0.0.0.0" --rpcvhosts=* --rpcport "8545" --rpcapi "eth,net,web3,personal,admin" --syncmode "light" --cache "64" [node.js Web3 code] var Web3 = require("web3"); web3 = new Web3(new…
June
  • 346
  • 4
  • 16
0
votes
0 answers

How to import an eth account with keystore and password on iOS?

I work on iOS and use "Geth" lib. I want to create or import an account with exist keystore file(not encrypted) and I have address and password. with the 3 parameters, how can I restore or import an account? and the 3 parameters are: 1)…
Neko
  • 581
  • 1
  • 9
  • 24
0
votes
3 answers

Truffle Smart Contract Error: Invalid number of parameter

I followed the tutorial of quorum with truffle: https://truffleframework.com/tutorials/building-dapps-for-quorum-private-enterprise-blockchains Now I want to migrate the SimpleStorage.sol Smart Contract to the blockchain, but I want to make it to…
BlockchainProgrammer
  • 1,999
  • 5
  • 20
  • 32
0
votes
3 answers

Failed to build Solidity contract: exec: "solc": executable file not found in $PATH

I'm executing below command: abigen --sol helloworld.sol --pkg main --out helloworld.go But getting below error: Failed to build Solidity contract: exec: "solc": executable file not found in $PATH When I check echo $PATH, solcjs is present. echo…
Vikas Banage
  • 494
  • 1
  • 8
  • 25
0
votes
1 answer

Error: Returned error: invalid sender, Ethereum private network error

Hi, i was trying to deploy a smart contract from a lambda function unfortunatly i'm fetting the following error on sendSignedTransaction() function, can someone tell me whats wrong here ?. Error: Returned error: invalid sender var blockchain =…
Aswin TK
  • 118
  • 12
0
votes
1 answer

Gas issue on sendRawTransaction on the rinkeby network

I'm facing a gas issue on rinkeby network on sendRawTransaction. Tested with various gas value to experiment and getting either insufficient funds for gas * price + value or exceeds block gas limit. Some more info: Gas Estimate: 32872 Balance:…
Ani
  • 710
  • 7
  • 19
0
votes
0 answers

I have connected two notes using bootnode in ethereum private blockchain but mining is not started why?

I have generated the enode from Bootnode in Ethereum private network and i connected three individual nodes using that enode through Bootnode, and i have checked whether that nodes are connected or not with my current node using the command…
0
votes
2 answers

Web3.givenProvider returns null

I'm creating a react-app that interacts with an ethereum private blockchain running with geth on rpcport 8545. I am thus using web3.js to fetch data on my blockchain, and here's my code: var Web3 = require('web3'); var web3 = new…
Bud
  • 3
  • 1
  • 3
0
votes
1 answer

Ethereum geth: out of memory

I often got the problem of memory leaks when working with ethereum node (Geth). I could not understand the reason, the problem arose at an indefinite point in time. The server could work for a week, and sometimes it took a day to break. We are…
MrNinjamannn
  • 631
  • 7
  • 11
0
votes
2 answers

Go-Ethereum custom network: how to limit contract creations?

I have created custom blockchain using go-ethereum My network has 2 miners nodes with unlocked accounts and then a public node with a locked account that only broadcast transactions to the miners I run the public node like this: geth --datadir…
Marcos Martínez
  • 545
  • 2
  • 9
  • 24
0
votes
1 answer

Uncaught ReferenceError: require is not defined at app.js:3

Having issue while connecting front-end HTML to private blockchain in order to interact with the smart contract. Step completed as below: created a smart contract and deployed in pvt blockchain. npm install -g web3 created HTML file and linked with…
0
votes
1 answer

Go-Ethereum iOS cannot unmarshal results

So I'm playing around with go-ethereum in iOS and I'm having quite a bit of trouble trying to interact with a contract deployed to Rinkeby testnet, I'm very new to the whole blockchain technology so any help is appreciated. All I'm trying to do is…
Baek Ryun
  • 100
  • 1
  • 3
  • 14
0
votes
1 answer

Why command "go clean -n -r -i github.com/ethereum/go-ethereum..." does not work?

What I did were as follows step by step: Git clone go-ethereum project to my local PC. It is located in D:\GOPATH\src\github.com\ethereum\go-ethereum. It is the source code of go-ethereum Note: The OS is windows 7. Go has already been installed.…
Lin Corey
  • 141
  • 11
0
votes
1 answer

Is it possible to change Ethereum wallet password using Java(web3j)?

I have created an ether wallet address using Java(web3j). Now i want to change the wallet password but, i am not able to change it. Is there any possible way to change the Ether wallet password using Java(web3j)?
0
votes
1 answer

web3.py isConnected() function with testnet

I am developing an application in Python to deal around with some Ether. I have geth installed and web3.py and do have an issue with different bahaviour of isConnected(). Geth: geth-alltools-darwin-amd64-1.8.15-89451f7c (latest) web3.py: 4.6.0…
Simon
  • 1
  • 2