Setting up a development environment
The first task is to set up a development environment. The upcoming section introduces the ethereum setup for Test Net and Private Net. Test Net is called Ropsten and is used by developers or users as a test platform to test smart contracts and other blockchain-related proposals. The Private Net option in Ethereum allows the creation of an independent private network that can be used as a distributed ledger between participating entities and for the development and testing of smart contracts. While there are other clients available for Ethereum, such as Parity, which was discussed in the previous chapter, geth is the leading client for Ethereum and the common tool of choice, as such this chapter will use geth
in the examples.
Test Net (Ropsten)
The Ethereum Go client, geth
, can be connected to the test network using the following command:
$ geth --TestNet
A sample output is shown in the following screenshot. The screenshot shows the type of the network...