Skip to content

This repository contains script which will download and install Ethereum network on your machine. These tools are required for developement of Ethereum based dApp on your machine

License

Notifications You must be signed in to change notification settings

prakashpandey/EthereumDevEnvSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

EthereumDevEnvSetup

This repository contains script which will download and install tools required to setup up Ethereum solidity based dApp on your machine.

You can use this tool for :

  1. Automates dev environment setup for Ethereum dApp developement
  2. Create a private Ethereum network.
  3. Connect to global Ethereum network
  4. Start mining
  5. Use it as a wallet.

Why this tool was created?

I faced problems while setting up Ethereum Solidity development environment for dApp developement, then I wrote this automation tool which automates installing up all (geth, mist, Ethereum wallet ) developement dependencies in minutes.

Tools installed

  • Geth
  • Ethereum wallet in mist mode
  • Geth miner

All these tools are required for the developement for Ethereum Solidity based dApps.

Project structure

  • src : project source folder.
  • src/resources : contains resource files of project.
  • src/script : contains project scripts.
  • src/tools : geth, ethereum wallet are installed here.

Prerequisite

  • Linux machine
  • unzip, tar and wget installed

How to run

Download geth, mist and initialize genesis block(One time task)

  • git clone https://github.com/prakashpandey/EthereumDevEnvSetup.git
  • cd EthereumDevEnvSetup
  • chmod 777 src/scripts/*
  • src/scripts/env.sh
  • src/scripts/setup.sh
  • src/scripts/init_genesis_block.sh

Run geth and mist

  • cd EthereumDevEnvSetup
  • src/scripts/start.sh

This will create process.txt at EthereumDevEnvSetup/src/tools which contains pid's of geth and mist process. Please create an account in mist before you start miner.

Run miner

  • Open new terminal,
  • cd EthereumDevEnvSetup
  • src/scripts/miner.sh

When miner will start it will ask you three options

  • Start miner : press 1 to start miner. It will print null on console which is its expected behaviour.
  • Stop miner : press 2 to stop miner. It returns boolean true.
  • Enter manual command : Anything - [1, 2]. This opens up console in which you can enter manual commands.

License

You can use this software for commercial as well as non-commercial purpose/purposes, the way you want and without conditions of any kind.

Please visit LICENSE.md for more details.

How to contribute

Please feel free to contribute to this project.

Contact author

About

This repository contains script which will download and install Ethereum network on your machine. These tools are required for developement of Ethereum based dApp on your machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages