Skip to content

Instantly share code, notes, and snippets.

@ntamvl
Forked from evertonfraga/ethereum-dev-mode.md
Created October 4, 2017 08:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntamvl/c3670f86d80b066ef12807bc1d49a761 to your computer and use it in GitHub Desktop.
Save ntamvl/c3670f86d80b066ef12807bc1d49a761 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 :)

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