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

Web3.js not giving accounts back using geth node

I am using a Go-Ethereum node with flags geth --networkid '49' --datadir 'E:\Dir' --rpc --rpcapi 'web3, net, personal, admin, eth' --rpccorsdomain '*' console I am trying to get Accounts using Web3.js. Whenever I try to request accounts…
Hsn
  • 1,168
  • 2
  • 16
  • 39
0
votes
0 answers

red × when deploy the contract on the online remix

As the above log , it prompts the contract was deployed successfully ,but why is there still the red ×? http://remix.ethereum.org/#optimize=true&version=soljson-v0.4.24+commit.e67f0147.js
Mike
  • 419
  • 1
  • 6
  • 16
0
votes
1 answer

How to import a private key into go ethereum using web3.py

I would like to import as well as delete the private key from go-ethereum (geth), using the web3.py client. Can you please suggest the appropriate functions? I have already generated the private key.
kulls
  • 845
  • 2
  • 12
  • 37
0
votes
0 answers

Go-ethereum: Error: Number can only safely store up to 53 bits

I am using Quorum (geth) private blockchain and I am sporadically getting the following error: Error: Number can only safely store up to 53 bits with the following code (using web3): let contractInstance = await contract .deploy({ …
stzoannos
  • 938
  • 4
  • 10
0
votes
2 answers

Ethereum Node on Azure Virtual Machine (windows) remote access

I've a Windows Server VM on Azure where geth is running quite good (no mining, just node). Now, the "start command" is: geth --rpcapi "eth,web3,db,net,personal,admin" --rpcaddr "10.0.0.4" --port "30303" --rpccorsdomain "*" --rpcport "8545" --rpc…
Ziba Leah
  • 2,484
  • 7
  • 41
  • 60
0
votes
1 answer

Install an earlier version of ethereum using apt-get on Ubuntu 18.04

How can we install an earlier version of the package ethereum when using Ubuntu 18.04? The currently installed version is 1.8.12 and I will like 1.8.8. # apt-cache policy ethereum ethereum: Installed: 1.8.12+build14270+bionic Candidate:…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
0
votes
1 answer

Quorum node crashes during sending a private transaction

I am using 7NodeExample, quorum version 2.0.2, constellation version 0.3.2. I have deployed a private contract say Private-Con from node 1, providing privateFor parameter of node 2. Now I am sending a private transaction on the contract from node 2…
geekybot
  • 128
  • 10
0
votes
2 answers

Geth + web3js invalid sender when sending signed transaction

Im using https://trezor.io/ to send signed transactions I have succesfully send transactions to: Truffle development network Ropsten Right now im using a private local go-ethereum node, the invocation of the signed transaction is exactly the…
Marcos Martínez
  • 545
  • 2
  • 9
  • 24
0
votes
1 answer

Ethereum - Embark console method calls all returning as undefined

I'm using the Embark framework to build my first DApp, and have been successful in building the "SimpleStorage" Embark demo shown here. I can use the web interface to set and retrieve values successfully, but when I try to do so directly from the…
Forrest Wilkins
  • 398
  • 4
  • 15
0
votes
1 answer

web3.py SendTransaction only in pending

I wonder why all the Txs send with the method web3.eth.sendTransaction({})in my private network to a node ending up in the pending section of the txpool. Why aren't they counted in the queued-section? what are the differences betweend pending and…
TimRicta
  • 135
  • 1
  • 2
  • 8
0
votes
1 answer

Ethereum Go-ethereum pending transactions

GETH VERSION Geth Version: 1.8.10-stable Git Commit: eae63c511ceafab14b92e274c1b18bf1700e2d3d Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.10.1 Operating System:…
user9931607
  • 1
  • 1
  • 3
0
votes
2 answers

Connecting two peers on different machines in a private network

I am using geth to create a Private blockchain in my system which is connected to my office network. I want to add another peer(different PC) to my blockchain network which is connected to the same network. How can I do that?? Any suggestions on,…
Pawan
  • 17
  • 7
0
votes
1 answer

Ethereum wallet

I'm new to Ethereum and for learning purposes, I want to mine. The Ethereum wallet main network sync just finished but I can't see the button "start mining (shift+command+m)" (appears on the solo network) won't appear here. Why is that? what should…
0
votes
2 answers

Truffle with Golang Web3

I am using this Ethereum Go Client and trying to call and get the response of a Smart Contract function. The function in the smart contract is very simple (for testing now): function getVotesForImgIds() external view returns(uint32){ return…
bergben
  • 1,385
  • 1
  • 16
  • 35
0
votes
2 answers

Generate new Ethereum Wallet in NodeJS

Are you familiar with ethereum and web3js-api in node js? I used the framework sails, and i am a little bit confused how to generate a new account like (https://www.myetherwallet.com/). For now i used web3js-api v.1.0.0. I can get current account…
Yosua Michael
  • 397
  • 1
  • 7
  • 24