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
vote
0 answers

Sending a signed transaction to deploy a contract (Ethereum)

My goal is to send a signed transaction to create a smart contract, however, I am facing an issue I have not been able to solve for few days: When I send the transaction (on a private chain), there are two different ending: - 1 Web3js tells me it…
Itération 122442
  • 2,644
  • 2
  • 27
  • 73
1
vote
1 answer

Solidity contract for other non eth erc-20 token transfer operations

I used the official code to create a token contract,and I created a new contract. Now I hope to use this new contract to invoke token contract, transfer token from A account to B account, and encounter the problem of no transferable quota. pragma…
Leo
  • 11
  • 2
1
vote
1 answer

No visibility specified. Defaulting to "public". function transfer(address receiver, uint amount);

I am doing a criptoCoin and I am using Solidity. I have an issue when create a crowdsale on function transfer(address receiver, uint amount); } the compile said No visibility specified. Defaulting to "public". function transfer(address receiver,…
Hassan Abbas
  • 467
  • 2
  • 8
  • 28
1
vote
0 answers

Ethereum keystrore file is not created

Keystore file is not created when I am creating a new Ethereum wallet account using nethereum and UWP. Also the newly created account is not in the private net. The new account is created using the following code: var privateKey =…
Anju Rajan
  • 69
  • 8
1
vote
1 answer

What is "Using network 'develop'" in truffle?

When i install pet-shop in truffle: truffle(develop)> migrate Using network 'develop'. Network up to date. truffle(develop)> test Using network 'develop'. 0 passing (0ms) Can you tell me what to do next?
Bob Zheng
  • 825
  • 4
  • 14
  • 25
1
vote
1 answer

Cannot debug.traceTransaction in geth: "missing trie node"

I can trace only transactions that where executed in the last 2 - 3 hours with my geth, I get the following errors on transactions executed for 5 hours and more: >…
maxvgi
  • 31
  • 1
  • 8
1
vote
1 answer

geth sendTransaction error: insufficient funds for gas * price + value

I tried geth in a private network, and when I tried sendTransaction, it was failed saying "Error: insufficient funds for gas * price + value". But the balance of accounts[0] is 4785 ether and it seems…
moriteru
  • 70
  • 6
1
vote
1 answer

ethereum local cluster with bootnodes

Geth 1.6.7. I have used this manual https://github.com/ethereum/go-ethereum/wiki/Setting-up-private-network-or-local-cluster looks very simple run bootnode ./bootnode -nodekeyhex …
scala
  • 425
  • 1
  • 4
  • 12
1
vote
1 answer

Q: How do I add nicehash support to open-ethereum-pool for musicoin

I have a fork of open-ethereum-pool by techievee src: https://github.com/techievee/open-ethereum-pool I can connect normal GPU miners without any issue Connected Miners However I am presented with an error every time I try and connect NiceHash to…
calix
  • 11
  • 2
1
vote
1 answer

Build raw Ethereum transaction in Go - contract function call

I'm modifying go-ethereum to be able to handle merged mining with a token we're creating. So every time a miner has our version of geth running and mining, if they find a block, they will receive X amount of our token via our contract. The contract…
1
vote
1 answer

go-ethereum: failed to retrieve account nonce

I create go bindings for my smart contract but have an issue when executing a transaction. It only works when I explicitly specify the txOpts.Nonce (see commented line). When I leave the line commented I get this error: Failed to execute…
Sebastian
  • 16,813
  • 4
  • 49
  • 56
0
votes
0 answers

How do I fix this error : Headers Timeout Error in hardhat

I used hardhat to deploy a contract to my private chain. I got a error that said: HeadersTimeoutError: Headers Timeout Error at Timeout.onParserTimeout [as callback] (C:\Users\sol2\test\node_modules\undici\lib\client.js:931:28) at…
SpaceNinja
  • 31
  • 1
0
votes
0 answers

This version of µWS is not compatible with your Node.js build: Error: Cannot find module '../binaries/uws_linux_x64_115.node'

I am trying to migrate truffle contract to a ganache network. I have made changes to the truffle-congif.js file. I am using Truffle v5.11.2 (core: 5.11.2) Ganache v7.9.0 Solidity v0.5.16 (solc-js) Node v20.5.1 Web3.js v1.10.0 The whole output at…
0
votes
1 answer

How to invoke function in geth

I got a error. when invoke a function in geth after I deployed a smart contract in my private chain. my contract code is below: pragma solidity ^0.8.0; contract Storage{ uint256 public value = 5; function set(uint256 number) public{ …
SpaceNinja
  • 31
  • 1
0
votes
1 answer

How to install full ethereum node for execution client only?

I have tried to install a full Ethereum node (geth) on Ubuntu hundreds of times, but it keeps getting stuck on 'Looking for peers' and doesn't make any progress. Below are the steps I have taken so far: Synchronized the date and time to match the…
Kevin Lee
  • 2
  • 10