I'm struggling to retrieve my current ETC balance using geth.

For mining I'm running:

ethminer -F http://etc-eu1.nanopool.org:18888/<ADDRESS>/<NAME> -G

Syncing the blockchain with geth:

geth --rpc

The first ~0.2 ETC have been transferred from Nanopool which I can see in the transaction history.

geth attach
> eth.getBalance(eth.accounts[0])
> 0

I'm guessing this actually returns the ETH balance and not the ETC balance but I'm lost how to retrieve the latter and subsequently transfer ETC to one of the exchanges.

Any help is much appreciated.

  • you test if the account is correct? – Gawey Jun 9 '17 at 14:13
  • Where did you download your version of Geth from? – Richard Horrocks Jun 9 '17 at 15:05
  • Downloaded through Ubuntu packet manager's ethereum meta package. – shebang Jun 10 '17 at 6:59

If you want to run an ETC node, and do things like check the balances of ETC accounts locally, you'll need the ETC version of Geth.

ETC Geth: https://github.com/ethereumproject/go-ethereum/releases

ETH Geth: https://github.com/ethereum/go-ethereum/releases

  • WIll I have to re-download the blockchain or can I simply stop the old geth process and restart with the new version of Geth? – shebang Jun 10 '17 at 7:00
  • After a certain point it's a completely different chain containing a completely different set of transaction data, so there's no real way to switch between the two halfway through. You'll have to start again from scratch, I'm afraid. (Keep the ETH data you have by copying it somewhere safe. It might be useful in future if you want to use the ETH chain for anything.) – Richard Horrocks Jun 10 '17 at 7:03
  • Thanks! Does that mean, there is no way of actually retrieving the ETC coins I have mined so far? – shebang Jun 10 '17 at 7:16
  • Solved it. Downloaded ETC Geth as advised, synced on the ETC chain in a new data directory, copied the account private key file to the new keystore and voilà, the balance shows up. – shebang Jun 10 '17 at 12:49
  • Brilliant - glad to hear it :-) – Richard Horrocks Jun 29 '17 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.