- Building Blockchain Projects
- Narayan Prusty
- 76字
- 2021-07-02 23:45:16
Creating a private network
To create a private network, you just need to give a random network ID. Private networks are usually created for development purposes. Geth also provide various flags related to logging and debugging, which are useful during development. So, instead of giving a random network ID and putting the various logging and debugging flags, we can simply use the --dev flag, which runs a private network with various debugging and logging flags enabled.