Skip to content

Instantly share code, notes, and snippets.

@evertonfraga
Last active June 22, 2022 11:55
Show Gist options
  • Save evertonfraga/9d65a9f3ea399ac138b3e40641accf23 to your computer and use it in GitHub Desktop.
Save evertonfraga/9d65a9f3ea399ac138b3e40641accf23 to your computer and use it in GitHub Desktop.
Set up an Ethereum development network in two minutes

First, install the required software:

Instructions for Windows

  • Open CMD (windows > run > type "cmd" > enter).
  • Run geth.exe --dev --ipcpath geth.ipc console
  • on the CMD window, type personal.newAccount() to create a password for your default (etherbase) account
  • on the CMD window, type miner.start().
  • open Mist.

Instructions for Mac

  • Open Terminal (Cmd + space > terminal.app)
  • Run geth --dev --ipcpath ~/Library/Ethereum/geth.ipc console
  • on the Terminal, type personal.newAccount() to create a password for your default (etherbase) account
  • on the Terminal, type miner.start().
  • open Mist

Instructions for Linux

  • Open your terminal of choice
  • Run geth --dev --ipcpath ~/.ethereum/geth.ipc console
  • on your terminal, type personal.newAccount() to create a password for your default (etherbase) account
  • on your terminal, type miner.start().
  • open Mist

That's it. You can use miner.start() and miner.stop() to control wether you computer will be generating blocks and validating your own transactions.

Troubleshooting

Mist started on the test-net

On Mist, change the network to Main Net (Develop > Network > Main net), terminate both Mist and Geth, and restart them.

Throw some feedback in the comments :)

@Soros777
Copy link

Soros777 commented Oct 7, 2018

May I contact Mist support? Does anyone have this contact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment