When I start eth I get the following header:

$ eth
Beware. You're entering the Frontier!

I think i followed the instructions for working on a private network (because i just want to check out the technology) but how can i check if I'm working on the real network?


By default, all Ethereum clients use the main "Frontier" network. If you haven't manually changed the genesis block or network ID, you're good to go.

If you want to be really sure you're on the right network, enter the console, using the command eth console, and type var num = web3.eth.blockNumber to get the latest block number. Then enter web3.eth.getBlock(num).hash. Go to a block explorer, enter the block number, and make sure the hashes match up.

| improve this answer | |
  • Maybe a brief explanation of "entering the console" with eth would also help. Typo also "vat" (which I'd have edited directly but it may as well be done if you might do any other edits). – eth Feb 8 '16 at 8:24

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.