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 6106

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

2 votes

Ethereum private network performance

When you create a new test network, you define a genesis block in a JSON file. In that JSON file you can set difficulty. If you set difficulty very low, the blocks will be discovered very fast for the …
Thorkil Værge's user avatar
1 vote

GoEthereum getting public key from private key hex formatting

The output is 65 bytes long and starts with 0x04. This indicates to me that this is a DER encoding of the public key (which is what Bitcoin and all its fork uses). Ethereum does not DER encode its pub …
Thorkil Værge's user avatar
1 vote
Accepted

Is there a way to avoid using the geth console?

Yes! geth_tools is made for this exact purpose! When you use "geth_tools", all you have to do is define your contracts in Solidity and program how you want to interact with the contracts in JavaScrip …
Thorkil Værge's user avatar
0 votes
1 answer
131 views

Unable to call methods on my deployed contract

Problem: All method calls to my deployed contract return null Versions: Geth: 1.9.9-unstable Git Commit: c2d65d34d5c6f27b8d1a52280964023a3eefd66e solc: Version: 0.5.13+commit.5b0b510c.Li …
Thorkil Værge's user avatar
2 votes

Get raw transaction from hash

You can also find the raw transaction hex on etherscan.io by going to a transaction, picking Tools & Utilities and choosing Get Raw TxHash. See for example: https://etherscan.io/getRawTx?tx=0x248b16e …
Thorkil Værge's user avatar
1 vote
2 answers
159 views

Is there a way to avoid using the geth console?

The geth JavaScript console is cumbersome and does not support tab completion. Do any tools exist such that I can avoid using it?
Thorkil Værge's user avatar
2 votes

How do you track total supply of a currency (smart contract) on the Ethereum blockchain?

You can easily make new currencies on Ethereum by following the ERC 20 standard. If you follow this standard, other applications and people can easily interact with your token. This standard makes it …
Thorkil Værge's user avatar
3 votes
Accepted

How to properly estimate gas costs of function calls with go-ethereum and golang?

I can't tell you why the ethclient.EstimateGas underreports the consumed gas. I remember facing the same problem once and my lazy solution was to multiply whatever it reported by 3. In order to calcu …
Thorkil Værge's user avatar