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 :)

@YongGil-Kwon
Copy link

I create private network and our group start miner.

Now I want to connect with Mist.

please advice me ...

@CurrencyInvestors
Copy link

CurrencyInvestors commented Jul 25, 2018

Please, make a manual step by step for windows 10, install from scratch, create repositories, connect with web3, create JSON, the other solution to make the fog automatically create all this and even give the option of mining in the menu of minst, this would help more wallets to be open and a worldwide distribution, I am supporting ETH for adoption in my real projects on alimentae and start accepting ETH in the real world, but most of the world uses windows and it is necessary to make a complete manual to create other software to be complemented in our collection teams. #evertonfraga @evertonfraga

@jnew123
Copy link

jnew123 commented Aug 17, 2018

Hi, the --dev flag and the private network are two concepts that I'm trying to understand. Could you please help me with the following.

I've installed geth in a Raspberry Pi 3. I want to make two nodes (accounts) in the same RPi interact in a private ethereum network. If I start both nodes without the --dev flag I've managed to connect them. However since my hardware is limited (1GB ram) I always get the "out of memory error" if i try to mine without the --dev flag. So for this reason i use the flag but when i do so I cant make both nodes to see each other. Is it because what I'm trying to do and the flag are mutually exclusive or am I missing some configuration?

I can tell that I am initializing both nodes with the same genesis file. I've been careful with the enode and port numbers. So I'm lost as to whats happening.

Thanks in advance.

@Soros777
Copy link

Soros777 commented Oct 6, 2018

mist
В чём может быть проблема? What could be the problem?

@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