Note

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:

Recap

In our previous article (How to Use Ethereum Optional Flags with New Chains), we discussed what Ethereum Optional Flags are and how to use them.

In this article, we learn what Ethereum Options are for application development and testing.

Ethereum options

Ethereum options are widely used in development and testing, especially in setting up a private blockchain. We have encountered quite a few in the previous article:

–datadir and –identity are the Ethereum options we used when setting up our local blockchain.

  • –networkid specifies the network ID:
    • 1 is the default value, referring to the Frontier network.
    • 2 stands for a disused Morden network.
    • 3 is the Ropsten network.
    • 4 is the Rinkeby network.

 

Separately, Geth provides the following alternate options too:

  • –testnet: This option will let you connect to the PoW Ropsten network.
  • –rinkeby: This option supports the proof-of-authority Rinkeby network.
  • –syncmode: This defines the fast, full, and light sync modes.
  • –whitelist: This takes block number-to-hash mappings. It requires a comma- separated <number>=<hash> format. The whitelist allows you to specify the block hash mappings the chain must have. Peers not on the whitelist will be rejected.

The following Ethereum options are also available:

  • –config
  • –keystore
  • –nousb
  • –gcmode
  • –ethstats
  • –lightserv
  • –lightpeers
  • –lightkdf

 

Please use geth help/h to look them up, and get yourself familiar with them.

 

Next Article

In our next article (Review of Ethereum Developer Chain Options), we discuss what Ethereum Chain Options are and how to use them.

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.

Resources

Free Webinars on Blockchain

Here is the list of our free webinars that are highly recommended:

 

Free Courses

Here is the list of our 10 free self-paced courses that are highly recommended:

 

Self-Paced Blockchain Courses

If you like to learn more about Hyperledger Fabric, Hyperledger Sawtooth, Ethereum or Corda, taking the following self-paced classes is highly recommended:

  1. Intro to Blockchain Technology
  2. Blockchain Management in Hyperledger for System Admins
  3. Hyperledger Fabric for Developers
  4. Intro to Blockchain Cybersecurity
  5. Learn Solidity Programming by Examples
  6. Introduction to Ethereum Blockchain Development
  7. Learn Blockchain Dev with Corda R3
  8. Intro to Hyperledger Sawtooth for System Admins

 

Live Blockchain Courses

If you want to master Hyperledger Fabric, Ethereum or Corda, taking the following live classes is highly recommended:

 

Articles and Tutorials on Blockchain Technology

If you like to learn more about blockchain technology and how it works, reading the following articles is highly recommended:

 

Articles and Tutorials on Ethereum and Solidity

If you like to learn more about blockchain development in Ethereum with Solidity, reading the following articles and tutorials is highly recommended:

 

Articles and Tutorials on Hyperledger Family

If you like to learn more about blockchain development with Hyperledger, reading the following articles and tutorials is highly recommended:

 

Articles and Tutorials on R3 Corda

If you like to learn more about blockchain development on Corda , reading the following articles and tutorials is highly recommended:

 

Articles and Tutorials on Other Blockchain Platforms

If you like to learn more about blockchain development in other platforms, reading the following articles and tutorials is highly recommended: