Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

ParserError: Expected '{' but got 'constant'

This is my error message ParserError: Expected '{' but got 'constant' --> amkcoin.sol:50:35: | 50 | function totalSupply() public constant returns (uint); | ^^^^^^^^ and this is code line.. } /** ...
Relaksman's user avatar
2 votes
2 answers
582 views

Golang Equivalent to list accounts on node - web3.eth.Accounts()

Does anyone know if its possible to get a list of the accounts on a node using golang, after Dialing to the node, basic PoC would be assuming the accounts are already unlocked via the CLI Basically ...
Kravitz's user avatar
  • 447
1 vote
1 answer
2k views

Golang How to slice Ethereum log events from smart contract to a more readable format

Im looking to use a channel to watch contract log events but the output returns a byte array like this the go code i am using looks like this package main import ( "...
Gizzard's user avatar
  • 73
1 vote
1 answer
122 views

Need help with start mining(I am getting like this)

I am new to ethereum private blockchain System information: geth version:1.8.2 os&version:linux synopsis: when i tried to connect peers to my private blockchain it showing like WARN [03-20|11:...
Raji's user avatar
  • 11