Learn about Ethereum blockchain development
If you are new to the blockchain technology, taking our Introduction to Blockchain Technology self-paced course is highly recommended. Also, for a comprehensive coverage of blockchain development in Ethereum or mastering Solidity programming, taking our below self paced courses is highly recommended:
In our previous article (How to Create an Account on a Local Private Ethereum Blockchain), we discussed how to create an account on a local private Ethereum network.
In this article, we learn what Ethereum Optional Flags are and how to use them.
While we were building a local private blockchain, we used a few command-line options such as --datadir, --identity, --verbosity, and so on. These options are also known as optional flags. They are Ethereum options and are useful for setting up a local blockchain and accessing testnets. Developer chain options support switching to developer mode.
Other options are available for Ethash, transaction pools, performance tuning, account, API and consoles, networking, miner, gas price oracles, virtual machines, logging and debugging, metrics, stats, and options, and so on. Let's have a look at the following command:
$ geth help or $ geth h
The preceding command will give you a full host of Ethash options. Let's have a look at the format of the following command:
$ geth [options] command [command options] [arguments]
You can implement all the options in the commands using the preceding format.
Geth comes with a list of commands and command-line options. Earlier, you saw a few in action, including console, account, attach, and so on. The following is a list of commands that are supported by Geth:
We used geth account new to create new accounts in the previous section. Furthermore, geth account helps you manage accounts:
$ geth account list - gives you a summary of existing accounts $ geth account update - updates the existing accounts $ geth account import - imports private keys for new accountsSome additional geth commands are as follows:
For example, a presale Ethereum wallet can be imported with the following import command:
$ geth wallet import <path to wallet>presale.wallet
There are other commands that are useful for monitoring your local chain and testing, including dump, dumpconfig, export-preimages, import-preimages, license, makecache, makedag, monitor, and version.
In our next article (Review of Ethereum Options for Development and Testing), we discuss what Ethereum Options are for application development and testing.
This article is written in collaboration with Brian Wu who is a leading author of “Learn Ethereum: Build your own decentralized applications with Ethereum and smart contracts” book. He has written 7 books on blockchain development.
Here is the list of our free webinars that are highly recommended:
Here is the list of our 10 free self-paced courses that are highly recommended:
If you like to learn more about Hyperledger Fabric, Hyperledger Sawtooth, Ethereum or Corda, taking the following self-paced classes is highly recommended:
If you want to master Hyperledger Fabric, Ethereum or Corda, taking the following live classes is highly recommended:
If you like to learn more about blockchain technology and how it works, reading the following articles is highly recommended:
If you like to learn more about blockchain development in Ethereum with Solidity, reading the following articles and tutorials is highly recommended:
If you like to learn more about blockchain development with Hyperledger, reading the following articles and tutorials is highly recommended:
If you like to learn more about blockchain development on Corda , reading the following articles and tutorials is highly recommended:
If you like to learn more about blockchain development in other platforms, reading the following articles and tutorials is highly recommended:
We offer private custom tutoring classes both online and in DC, MD and VA for almost all of our courses or bootcamps. Give us a call or email us to discuss your needs.
$90 Regular
$50 Limited Offer
REGISTER NOW