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
-1
votes
2 answers

How does EOS deployed their token contract?

I want to create a crowdsale token contract similar to EOS. I am new to crowdsale token contract. I get the source code from etherscan.io. They are EOSTokenContract, EOSCrowdsale, EOS-Owner. I want to know how did they deployed their smart contract.…
Tony Tang
  • 11
  • 4
-2
votes
1 answer

Cannot make a static reference to the non-static method ethGetBlockByNumber(DefaultBlockParameter, boolean) from the type Ethereum

I am not able to understand what is wrong with my code. public void GetLatestBlock() throws Exception{ List txs = Web3j.ethGetBlockByNumber(DefaultBlockParameterName.LATEST, …
李林發
  • 13
  • 3
-2
votes
1 answer

Run private Ethereum blockchain without the need for gas

I try to run an Ethereum Blockchain using geth for deploying and using contracts. It's a private blockchain, and I have no use for miners or gas. No ether should be distributed, and the participants should be able to deploy and use contracts without…
uti.devel
  • 159
  • 3
  • 14
-2
votes
1 answer

Use multiple SSDs for single geth node

I am setting up a Geth archive node, and it take a lot of space, I have a few SSDs (each 1 tb), I want to configure get in a way that when SSD1 is full it should automatically continue storing new data into SSD2 and so on. Any help?
-2
votes
2 answers

How to execute the "make-all" command inside go-ethereum?

I've downloaded Go-Ethereum to develop an Ethereum App to process dummy transactions to understand the flow of Cryptocurrency. Now, I've been trying to execute the "make all" command from the go-etherium directory to build the target files but I'm…
-2
votes
1 answer

env: ‘go’: No such file or directory make: *** [Makefile:43: build] Error 127?

https://github.com/ChainSafe/ChainBridge Why does this command not work? make build I cloned the repo locally, cd'd into the right folder; all I get back in the Git CLI is > \033[32mBuilding binary...\033[0m cd cmd/chainbridge && env…
GoGetterMeme
  • 429
  • 1
  • 5
  • 5
-2
votes
1 answer

How to fork Ethereum(go implementation) to make a new chain?

I want to fork Ethereum(go implementation) to make another new public chain which should start again from the block zero but keeping all other parameters same as in main chain. Please guide me with all the steps to do the same.
Neetesh
  • 3
  • 3
-2
votes
2 answers

What is the size of full geth ethereum node nowadays?

I'm going to setup a full Ethereum node on my PC here with geth --syncmode=full I have to buy SSD drive for that. My question is will 1TB SSD be enough or I have to buy even more bigger (= expensive) SSD drive? PS. I've searched over internet and…
-2
votes
1 answer

Access data inside memory location array

I am trying to parse the following type array in geth to "look inside" and get the info but can not figure out how to do it. txs []*types.Transaction This type is declared elsewhere in geth as type Transaction struct { data txdata hash …
Kravitz
  • 2,769
  • 6
  • 26
  • 53
-3
votes
1 answer

see a in log file of go-ethereum, how does it do that? i always thought that we can only type charactor in linux file

i construct my private chain using go-ethereum, then i saw a in log, it is amazing!, is it a new feature of vim? i use Ubuntu 18.04.5 terminal in win10 to ssh into another desktop computer(also Ubuntu). my vim version is 9.0 INFO…
Xinle
  • 1
  • 2
1 2 3
28
29